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,DataAwareAmetysObject,ModelLessDataAwareAmetysObject,ModifiableModelLessDataAwareAmetysObject,DataHolder,ModelLessDataHolder,ModifiableDataHolder,ModifiableModelLessDataHolder,JCRAmetysObject,JCRTraversableAmetysObject,MetadataAwareAmetysObject,ModifiableMetadataAwareAmetysObject,ModifiableACLAmetysObject,ModifiableAmetysObject,ModifiableTraversableAmetysObject,RemovableAmetysObject,TrashableAmetysObject,TraversableAmetysObject
-
Field Summary
Fields inherited from class org.ametys.plugins.explorer.resources.jcr.JCRResourcesCollection
APPLICATION_ID, DATA_DESCRIPTION -
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 resourcesMethods inherited from class org.ametys.plugins.explorer.resources.jcr.JCRResourcesCollection
copyTo, copyTo, getApplicationId, getDataHolder, 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, getId, getMetadataHolder, getName, getNode, getParent, getParentPath, getPath, needsSave, remove, rename, revertChanges, saveChangesMethods inherited from class org.ametys.plugins.repository.AbstractAmetysObject
equals, hashCode, 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.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX, getDataNamesMethods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNodeMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelLessDataAwareAmetysObject
dataToJSON, dataToSAX, getModelItemTypeExtensionPoint, getType, getValue, getValue, getValueOfType, getValueOfType, hasDifferences, hasValue, hasValue, hasValueOrEmpty, isMultiple, isMultipleMethods inherited from interface org.ametys.plugins.repository.data.holder.ModelLessDataHolder
dataToJSON, dataToSAX, hasValue, hasValueOrEmptyMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolderMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelLessDataAwareAmetysObject
getComposite, getComposite, getParentDataHolder, getRepositoryData, getRootDataHolder, removeValue, setValue, setValue, synchronizeValuesMethods 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
-