Package com.axemble.vdoc.sdk.impl
Class PortalFolder
java.lang.Object
com.axemble.vdoc.sdk.impl.AbstractElement
com.axemble.vdoc.sdk.impl.PortalElement
com.axemble.vdoc.sdk.impl.PortalFolder
- All Implemented Interfaces:
- IElement,- IFolder,- ILibraryElement,- IDeletionSupport,- IExternalSupport,- IProtocolSupport,- ISearchSupport,- ISecuritySupport,- ITrashSupport,- IUriSupport,- Serializable
- Author:
- vlygeros
- See Also:
- 
Field SummaryFieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalElementpath, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElementmodule
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedPortalFolder(IModule module, com.axemble.webdrive.om.FolderNode folder) 
- 
Method SummaryModifier and TypeMethodDescriptionvoidAdds aIFileobject.voidDeletes theIElementobject.voidDelete the element from the trash.Gets the creator of the folder.Gets the created date.Gets the description of the folder.Gets a childIFolderobject by its name.getFolders(IContext context) Gets the child foldersGets the library.Gets the last user who modified the folder.Gets the modified date.getName()Gets the name of the folder.Gets the native object underneath.Gets the parent folder.getURI()Gets the URI of the object supporting this interfacebooleanCheck if the element has been sent to the trash.voidMove the element to the trash.voidRestore the element from the trash.voidsetCreatedBy(IUser user) Sets the creator of the folder.voidsetDescription(String description) Sets the description of the folder.voidsetModifiedBy(IUser user) Sets last user who modified the folder.voidsetModifiedDate(Date date) Sets the modified date.voidSets the name of the folder.Methods inherited from class com.axemble.vdoc.sdk.impl.PortalElementequals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setIdMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElementgetModuleMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElementgetId, getModule, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupportgetProtocolURI, getProtocolURI
- 
Field Details- 
folderprotected com.axemble.webdrive.om.FolderNode folder
 
- 
- 
Constructor Details- 
PortalFolder
 
- 
- 
Method Details- 
getNativeObjectDescription copied from interface:IElementGets the native object underneath.- Specified by:
- getNativeObjectin interface- IElement
- Returns:
- an object.
 
- 
getExternalClassName- Specified by:
- getExternalClassNamein interface- IExternalSupport
 
- 
getExternalNativeId- Specified by:
- getExternalNativeIdin interface- IExternalSupport
 
- 
getNameDescription copied from interface:IFolderGets the name of the folder.- Specified by:
- getNamein interface- IFolder
- Specified by:
- getNamein interface- ILibraryElement
- Returns:
- a String object.
 
- 
setNameDescription copied from interface:IFolderSets the name of the folder.
- 
getURIDescription copied from interface:IUriSupportGets the URI of the object supporting this interface- Specified by:
- getURIin interface- IUriSupport
- Returns:
- A String object.
 
- 
setDescriptionDescription copied from interface:IFolderSets the description of the folder.- Specified by:
- setDescriptionin interface- IFolder
- Parameters:
- description- the new description to set.
 
- 
getDescriptionDescription copied from interface:IFolderGets the description of the folder.- Specified by:
- getDescriptionin interface- IFolder
- Specified by:
- getDescriptionin interface- ILibraryElement
- Returns:
- a String of the folder.
 
- 
getCreatedDateDescription copied from interface:IFolderGets the created date.- Specified by:
- getCreatedDatein interface- IFolder
- Returns:
- a Dateobject.
 
- 
getModifiedDateDescription copied from interface:IFolderGets the modified date.- Specified by:
- getModifiedDatein interface- IFolder
- Returns:
- a Dateobject.
 
- 
setModifiedDateDescription copied from interface:IFolderSets the modified date.- Specified by:
- setModifiedDatein interface- IFolder
- Parameters:
- date- The- Dateto set.
 
- 
setCreatedByDescription copied from interface:IFolderSets the creator of the folder.- Specified by:
- setCreatedByin interface- IFolder
- Parameters:
- user- The user to set as the creator of the folder.
 
- 
getCreatedByDescription copied from interface:IFolderGets the creator of the folder.- Specified by:
- getCreatedByin interface- IFolder
- Returns:
- a IUserobject.
 
- 
setModifiedByDescription copied from interface:IFolderSets last user who modified the folder.- Specified by:
- setModifiedByin interface- IFolder
- Parameters:
- user- The last- IUserwho modified the folder.
 
- 
getModifiedByDescription copied from interface:IFolderGets the last user who modified the folder.- Specified by:
- getModifiedByin interface- IFolder
- Returns:
- a IUserobject.
 
- 
addFileDescription copied from interface:IFolderAdds aIFileobject.
- 
deleteDescription copied from interface:IDeletionSupportDeletes theIElementobject.- Specified by:
- deletein interface- IDeletionSupport
- Parameters:
- context- The Execution context.
 
- 
getLibraryDescription copied from interface:IFolderGets the library.- Specified by:
- getLibraryin interface- IFolder
- Returns:
- A ILibraryobject.
 
- 
getFoldersDescription copied from interface:IFolderGets the child folders- Specified by:
- getFoldersin interface- IFolder
- Parameters:
- context- The execution context.
- Returns:
- A collection of IFolderobjects.
 
- 
getFolderDescription copied from interface:IFolderGets a childIFolderobject by its name.
- 
getParentFolderDescription copied from interface:IFolderGets the parent folder.- Specified by:
- getParentFolderin interface- IFolder
- Returns:
- A IFolderobject.
 
- 
isInTrashpublic boolean isInTrash()Description copied from interface:ITrashSupportCheck if the element has been sent to the trash.- Specified by:
- isInTrashin interface- ITrashSupport
- Returns:
- true if yes, 
} otherwise.invalid @link{@link false
 
- 
deleteFromTrashpublic void deleteFromTrash()Description copied from interface:ITrashSupportDelete the element from the trash.- Specified by:
- deleteFromTrashin interface- ITrashSupport
 
- 
restoreFromTrashpublic void restoreFromTrash()Description copied from interface:ITrashSupportRestore the element from the trash.- Specified by:
- restoreFromTrashin interface- ITrashSupport
 
- 
moveToTrashpublic void moveToTrash()Description copied from interface:ITrashSupportMove the element to the trash.- Specified by:
- moveToTrashin interface- ITrashSupport
 
 
-