Class Folder
java.lang.Object
org.ametys.plugins.repository.AbstractAmetysObject
org.ametys.plugins.repository.jcr.SimpleAmetysObject<FolderFactory>
org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject<FolderFactory>
org.ametys.plugins.explorer.resources.jcr.JCRResourcesCollection<FolderFactory>
org.ametys.plugins.workspaces.documents.jcr.Folder
- All Implemented Interfaces:
ExplorerNode,ModifiableExplorerNode,ModifiableResourceCollection,ResourceCollection,ACLAmetysObject,AmetysObject,CopiableAmetysObject,DataHolder,ModifiableDataHolder,JCRAmetysObject,JCRTraversableAmetysObject,MetadataAwareAmetysObject,ModifiableMetadataAwareAmetysObject,ModifiableACLAmetysObject,ModifiableAmetysObject,ModifiableTraversableAmetysObject,RemovableAmetysObject,TrashableAmetysObject,TraversableAmetysObject,SiteAwareAmetysObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.repository.trash.TrashableAmetysObject
TrashableAmetysObject.MergeComputationMode -
Field Summary
Fields inherited from class org.ametys.plugins.explorer.resources.jcr.JCRResourcesCollection
APPLICATION_ID, DATA_DESCRIPTIONFields inherited from interface org.ametys.web.repository.SiteAwareAmetysObject
METADATA_SITE -
Constructor Summary
ConstructorsConstructorDescriptionFolder(javax.jcr.Node node, String parentPath, FolderFactory factory) Creates anFolder. -
Method Summary
Modifier and TypeMethodDescriptionGet the type of child collectionGet the type of child resourcesgetSite()Returns this object's site.Returns this object's site name.Methods inherited from class org.ametys.plugins.explorer.resources.jcr.JCRResourcesCollection
copyTo, copyTo, getApplicationId, getDescription, getExplorerPath, getIconCls, getResourcePath, hasChildExplorerNodes, hasChildResources, moveToTrash, restoreFromTrash, setDescriptionMethods inherited from class org.ametys.plugins.repository.jcr.DefaultTraversableAmetysObject
addAllowedGroups, addAllowedProfilesForAnonymous, addAllowedProfilesForAnyConnectedUser, addAllowedUsers, addDeniedGroups, addDeniedProfilesForAnonymous, addDeniedProfilesForAnyConnectedUser, addDeniedUsers, createChild, disallowInheritance, getChild, getChildren, getProfilesForAnonymousAndAnyConnectedUser, getProfilesForGroups, getProfilesForUsers, hasChild, isInheritanceDisallowed, removeAllowedGroups, removeAllowedGroups, removeAllowedProfilesForAnonymous, removeAllowedProfilesForAnyConnectedUser, removeAllowedUsers, removeAllowedUsers, removeDeniedGroups, removeDeniedGroups, removeDeniedProfilesForAnonymous, removeDeniedProfilesForAnyConnectedUser, removeDeniedUsers, removeDeniedUsersMethods inherited from class org.ametys.plugins.repository.jcr.SimpleAmetysObject
_getFactory, _invalidateName, _invalidateParentPath, getComposite, getComposite, getDataHolder, getId, getMetadataHolder, getName, getNode, getParent, getParentDataHolder, getParentPath, getPath, getRepositoryData, getRootDataHolder, needsSave, remove, removeValue, rename, revertChanges, saveChanges, setValue, setValue, synchronizeValuesMethods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
dataToJSON, dataToJSON, dataToSAX, dataToSAX, equals, getDataNames, getModelItemTypeExtensionPoint, getType, getValue, getValueOfType, getValueOfTypeOrDefault, getValueOrDefault, hasDifferences, hashCode, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultiple, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCodeMethods inherited from interface org.ametys.plugins.repository.data.holder.DataHolder
copyTo, copyTo, dataToJSON, dataToJSON, dataToJSON, dataToJSON, dataToSAX, dataToSAX, dataToSAX, dataToSAX, getDataNames, getModelItemTypeExtensionPoint, getType, getValue, getValueOfType, getValueOfTypeOrDefault, getValueOrDefault, hasDifferences, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultipleMethods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNodeMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getComposite, getComposite, getParentDataHolder, getRepositoryData, getRootDataHolder, removeValue, setValue, setValue, synchronizeValuesMethods inherited from interface org.ametys.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolderMethods inherited from interface org.ametys.plugins.repository.ModifiableTraversableAmetysObject
createChildMethods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
removeMethods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Constructor Details
-
Folder
Creates anFolder.- Parameters:
node- the node backing thisAmetysObjectparentPath- the parentPath in the Ametys hierarchyfactory- the DefaultAmetysObjectFactory which created the AmetysObject
-
-
Method Details
-
getResourceType
Description copied from interface:ModifiableResourceCollectionGet the type of child resources- Specified by:
getResourceTypein interfaceModifiableResourceCollection- Overrides:
getResourceTypein classJCRResourcesCollection<FolderFactory>- Returns:
- the type of child resources
-
getCollectionType
Description copied from interface:ModifiableResourceCollectionGet the type of child collection- Specified by:
getCollectionTypein interfaceModifiableResourceCollection- Overrides:
getCollectionTypein classJCRResourcesCollection<FolderFactory>- Returns:
- the type of child collection
-
getSiteName
Description copied from interface:SiteAwareAmetysObjectReturns this object's site name.- Specified by:
getSiteNamein interfaceSiteAwareAmetysObject- Returns:
- this object's site name.
- Throws:
AmetysRepositoryException- if an error occurs.
-
getSite
Description copied from interface:SiteAwareAmetysObjectReturns this object's site.- Specified by:
getSitein interfaceSiteAwareAmetysObject- Returns:
- this object's site
- Throws:
AmetysRepositoryException- if an error occurs.
-