public class IfsUploadFileContext extends IfsCommandContext implements UploadFileContext
| Constructor and Description |
|---|
IfsUploadFileContext()
Deafult Constructor.
|
IfsUploadFileContext(LibrarySession session,
boolean parseFlag,
String name,
InputStream stream,
String folderPath,
AccessControlList acl,
boolean aclFromParent,
ParserCallback callback,
String language,
String charSet)
Constructor which sets up all the required parameters.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clears the Context.
|
AccessControlList |
getAcl()
Gets the ACL.
|
boolean |
getAclFromParent()
Gets the ACL from parent folder.
|
String |
getCharacterSet()
Gets the character set.
|
InputStream |
getContentStream()
Gets the content stream.
|
String |
getFolderPath()
Gets the parent folder path.
|
String |
getLanguage()
Gets the language.
|
LibraryObject |
getLibraryObject()
Gets the returning LibraryObject.
|
LibrarySession |
getLibrarySession()
Gets the session.
|
String |
getName()
Gets the document name.
|
boolean |
getParseFlag()
Gets the if we are parsing or not.
|
ParserCallback |
getParserCallback()
Gets the parser callback.
|
void |
setAcl(AccessControlList acl)
Sets the ACL.
|
void |
setAclFromParent(boolean aclFromParent)
Sets the ACL from parent folder.
|
void |
setCharacterSet(String charSet)
Sets the character set.
|
void |
setContentStream(InputStream stream)
Sets the content stream.
|
void |
setFolderPath(String folderPath)
Sets the parent folder path.
|
void |
setLanguage(String language)
Sets the language.
|
void |
setLibraryObject(LibraryObject lo)
Sets the returning LibraryObject.
|
void |
setLibrarySession(LibrarySession session)
Sets the session.
|
void |
setName(String name)
Sets the document name.
|
void |
setParseFlag(boolean parse)
Sets if we are parsing or not.
|
void |
setParserCallback(ParserCallback callback)
Sets the parser callback.
|
public IfsUploadFileContext()
throws IfsException
IfsExceptionpublic IfsUploadFileContext(LibrarySession session, boolean parseFlag, String name, InputStream stream, String folderPath, AccessControlList acl, boolean aclFromParent, ParserCallback callback, String language, String charSet) throws IfsException
session - LibrarySession.parseFlag - Parse flag indicating whether we parse or not.name - Document name.stream - Content stream.folderPath - Parent folder path.acl - ACL to be applied to the new document.callback - Parser callback.language - Language.charSet - Character set.IfsException - - If operation fails.public void clear()
clear in interface CommandContextclear in class IfsCommandContextpublic LibrarySession getLibrarySession() throws IfsException
getLibrarySession in interface UploadFileContextIfsExceptionpublic void setLibrarySession(LibrarySession session) throws IfsException
setLibrarySession in interface UploadFileContextIfsExceptionpublic boolean getParseFlag()
throws IfsException
getParseFlag in interface UploadFileContextIfsExceptionpublic void setParseFlag(boolean parse)
throws IfsException
setParseFlag in interface UploadFileContextIfsExceptionpublic String getName() throws IfsException
getName in interface UploadFileContextIfsExceptionpublic void setName(String name) throws IfsException
setName in interface UploadFileContextIfsExceptionpublic InputStream getContentStream() throws IfsException
getContentStream in interface UploadFileContextIfsExceptionpublic void setContentStream(InputStream stream) throws IfsException
setContentStream in interface UploadFileContextIfsExceptionpublic String getFolderPath() throws IfsException
getFolderPath in interface UploadFileContextIfsExceptionpublic void setFolderPath(String folderPath) throws IfsException
setFolderPath in interface UploadFileContextIfsExceptionpublic AccessControlList getAcl() throws IfsException
getAcl in interface UploadFileContextIfsExceptionpublic void setAcl(AccessControlList acl) throws IfsException
setAcl in interface UploadFileContextIfsExceptionpublic boolean getAclFromParent()
throws IfsException
getAclFromParent in interface UploadFileContextIfsExceptionpublic void setAclFromParent(boolean aclFromParent)
throws IfsException
setAclFromParent in interface UploadFileContextIfsExceptionpublic ParserCallback getParserCallback() throws IfsException
getParserCallback in interface UploadFileContextIfsExceptionpublic void setParserCallback(ParserCallback callback) throws IfsException
setParserCallback in interface UploadFileContextIfsExceptionpublic String getLanguage() throws IfsException
getLanguage in interface UploadFileContextIfsExceptionpublic void setLanguage(String language) throws IfsException
setLanguage in interface UploadFileContextIfsExceptionpublic String getCharacterSet() throws IfsException
getCharacterSet in interface UploadFileContextIfsExceptionpublic void setCharacterSet(String charSet) throws IfsException
setCharacterSet in interface UploadFileContextIfsExceptionpublic LibraryObject getLibraryObject() throws IfsException
getLibraryObject in interface UploadFileContextIfsExceptionpublic void setLibraryObject(LibraryObject lo) throws IfsException
setLibraryObject in interface UploadFileContextIfsExceptionCopyright © 2025. All rights reserved.