Package org.ametys.plugins.repository
-
Interface Summary Interface Description ACLAmetysObject AmetysObjectthat can hold its profile assignments.AmetysObject Common interface for all Ametys objects.AmetysObjectFactory<A extends AmetysObject> Factory for retrieving type ofAmetysObject.AmetysObjectIterable<A extends AmetysObject> AmetysObjectIterator<A extends AmetysObject> Iterates overAmetysObjects.CopiableAmetysObject CopiableAmetysObject.ModifiableACLAmetysObject ACLAmetysObjectthat can store and modify its profile assignements.ModifiableAmetysObject ModifiableAmetysObject.ModifiableTraversableAmetysObject TraversableAmetysObjectallowing to create children.MovableAmetysObject AmetysObjectthat can be ordered or movedRemovableAmetysObject AmetysObjectwhich can be deleted.RepositoryConstants ConstantsTraversableAmetysObject AmetysObjectwhich is traversable and allow to create children. -
Class Summary Class Description AbstractAmetysObject Abstract class forAmetysObject.ACLAmetysObjectProfileAssignmentStorage Implementation ofProfileAssignmentStorageforACLAmetysObjects which stores profile assignments in subnodes of the node representing this object.AmetysObjectFactoryExtensionPoint ExtensionPointhosting allAmetysObjectFactory.AmetysObjectResolver Base component for accessingAmetysObjects.ChainedAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterablebased on a list of othersAmetysObjectIterable.CollatingUniqueAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterablebased on a list of othersAmetysObjectIterable, which returns the objects in a given order, removing duplicates.CollectionIterable<A extends AmetysObject> Basic implementation of anAmetysObjectIterablebased on an existingCollection.EmptyIterable<A extends AmetysObject> Empty implementation of anAmetysObjectIterable.IdCollectionIterable<A extends AmetysObject> Implementation of anAmetysObjectIterablebased on aCollectionof AmetysObject IDs.JCRSessionRequestListener Request Listener to ensure the end of JCR sessionsModifiableACLAmetysObjectProfileAssignmentStorage Implementation ofProfileAssignmentStorageforModifiableACLAmetysObjects which stores profile assignments in subnodes of the node representing this object.NamespacesExtensionPoint ExtensionPointhosting the JCR namespaces.NodeIteratorIterable<A extends AmetysObject> Implementation ofAmetysObjectIterablebased on a underlying JCRNodeIterator.
Please note that this implementation only works with NodeIterators containing nodes actually bound to AmetysObjects.
If a node exists in the iterator and does not correspond to anAmetysObject, anAmetysRepositoryExceptionwill be thrown.
UnlessAmetysObjectIterator.skip(long)is called on the underlying Iterator, results are buffered so that one may safely callNodeIteratorIterable.iterator()more than once, even if the underlyingNodeIteratorwill be consumed only once.
IfAmetysObjectIterator.skip(long)is called, any subsequent call toNodeIteratorIterable.iterator()will throw anIllegalStateException.NodeTypeDefinitionsExtensionPoint ExtensionPointhosting the nodetype definitionsUniqueChainedAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterablebased on a list of othersAmetysObjectIterable, returning duplicate objects only once. -
Exception Summary Exception Description AmetysObjectExistsException Exception thrown when an attempt to created aAmetysObjectfailed because thisAmetysObjectalready exist.AmetysRepositoryException Common exception for all Repository related problems.RepositoryIntegrityViolationException Exception thrown when an attempt to insert or update data results in violation of an integrity constraint.UnknownAmetysObjectException Exception thrown when an attempt to retrieve a data failed because this data does not exist.