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 Summary
FieldsFields inherited from class com.axemble.vdoc.sdk.impl.PortalElement
path, storageKeyFields inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
module -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedPortalFolder(IModule module, com.axemble.webdrive.om.FolderNode folder) -
Method Summary
Modifier 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.PortalElement
equals, getId, getPath, getProtocolURI, getProtocolURI, hashCode, replaceBackSlash, replaceSlash, save, setIdMethods inherited from class com.axemble.vdoc.sdk.impl.AbstractElement
getModuleMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.axemble.vdoc.sdk.interfaces.IElement
getId, getModule, getPath, saveMethods inherited from interface com.axemble.vdoc.sdk.supports.IProtocolSupport
getProtocolURI, getProtocolURI
-
Field Details
-
folder
protected com.axemble.webdrive.om.FolderNode folder
-
-
Constructor Details
-
PortalFolder
-
-
Method Details
-
getNativeObject
Description copied from interface:IElementGets the native object underneath.- Specified by:
getNativeObjectin interfaceIElement- Returns:
- an object.
-
getExternalClassName
- Specified by:
getExternalClassNamein interfaceIExternalSupport
-
getExternalNativeId
- Specified by:
getExternalNativeIdin interfaceIExternalSupport
-
getName
Description copied from interface:IFolderGets the name of the folder.- Specified by:
getNamein interfaceIFolder- Specified by:
getNamein interfaceILibraryElement- Returns:
- a String object.
-
setName
Description copied from interface:IFolderSets the name of the folder. -
getURI
Description copied from interface:IUriSupportGets the URI of the object supporting this interface- Specified by:
getURIin interfaceIUriSupport- Returns:
- A String object.
-
setDescription
Description copied from interface:IFolderSets the description of the folder.- Specified by:
setDescriptionin interfaceIFolder- Parameters:
description- the new description to set.
-
getDescription
Description copied from interface:IFolderGets the description of the folder.- Specified by:
getDescriptionin interfaceIFolder- Specified by:
getDescriptionin interfaceILibraryElement- Returns:
- a String of the folder.
-
getCreatedDate
Description copied from interface:IFolderGets the created date.- Specified by:
getCreatedDatein interfaceIFolder- Returns:
- a
Dateobject.
-
getModifiedDate
Description copied from interface:IFolderGets the modified date.- Specified by:
getModifiedDatein interfaceIFolder- Returns:
- a
Dateobject.
-
setModifiedDate
Description copied from interface:IFolderSets the modified date.- Specified by:
setModifiedDatein interfaceIFolder- Parameters:
date- TheDateto set.
-
setCreatedBy
Description copied from interface:IFolderSets the creator of the folder.- Specified by:
setCreatedByin interfaceIFolder- Parameters:
user- The user to set as the creator of the folder.
-
getCreatedBy
Description copied from interface:IFolderGets the creator of the folder.- Specified by:
getCreatedByin interfaceIFolder- Returns:
- a
IUserobject.
-
setModifiedBy
Description copied from interface:IFolderSets last user who modified the folder.- Specified by:
setModifiedByin interfaceIFolder- Parameters:
user- The lastIUserwho modified the folder.
-
getModifiedBy
Description copied from interface:IFolderGets the last user who modified the folder.- Specified by:
getModifiedByin interfaceIFolder- Returns:
- a
IUserobject.
-
addFile
Description copied from interface:IFolderAdds aIFileobject. -
delete
Description copied from interface:IDeletionSupportDeletes theIElementobject.- Specified by:
deletein interfaceIDeletionSupport- Parameters:
context- The Execution context.
-
getLibrary
Description copied from interface:IFolderGets the library.- Specified by:
getLibraryin interfaceIFolder- Returns:
- A
ILibraryobject.
-
getFolders
Description copied from interface:IFolderGets the child folders- Specified by:
getFoldersin interfaceIFolder- Parameters:
context- The execution context.- Returns:
- A collection of
IFolderobjects.
-
getFolder
Description copied from interface:IFolderGets a childIFolderobject by its name. -
getParentFolder
Description copied from interface:IFolderGets the parent folder.- Specified by:
getParentFolderin interfaceIFolder- Returns:
- A
IFolderobject.
-
isInTrash
public boolean isInTrash()Description copied from interface:ITrashSupportCheck if the element has been sent to the trash.- Specified by:
isInTrashin interfaceITrashSupport- Returns:
- true if yes,
} otherwise.
invalid @link
{@link false
-
deleteFromTrash
public void deleteFromTrash()Description copied from interface:ITrashSupportDelete the element from the trash.- Specified by:
deleteFromTrashin interfaceITrashSupport
-
restoreFromTrash
public void restoreFromTrash()Description copied from interface:ITrashSupportRestore the element from the trash.- Specified by:
restoreFromTrashin interfaceITrashSupport
-
moveToTrash
public void moveToTrash()Description copied from interface:ITrashSupportMove the element to the trash.- Specified by:
moveToTrashin interfaceITrashSupport
-