Package org.ametys.plugins.repository
-
Interface Summary Interface Description ACLAmetysObject AmetysObject
that 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 overAmetysObject
s.CopiableAmetysObject CopiableAmetysObject
.ModifiableACLAmetysObject ACLAmetysObject
that can store and modify its profile assignements.ModifiableAmetysObject ModifiableAmetysObject
.ModifiableTraversableAmetysObject TraversableAmetysObject
allowing to create children.MovableAmetysObject AmetysObject
that can be ordered or movedRemovableAmetysObject AmetysObject
which can be deleted.RepositoryConstants ConstantsTraversableAmetysObject AmetysObject
which is traversable and allow to create children. -
Class Summary Class Description AbstractAmetysObject Abstract class forAmetysObject
.ACLAmetysObjectProfileAssignmentStorage Implementation ofProfileAssignmentStorage
forACLAmetysObject
s which stores profile assignments in subnodes of the node representing this object.AmetysObjectFactoryExtensionPoint ExtensionPoint
hosting allAmetysObjectFactory
.AmetysObjectResolver Base component for accessingAmetysObject
s.ChainedAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterable
based on a list of othersAmetysObjectIterable
.CollatingUniqueAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterable
based on a list of othersAmetysObjectIterable
, which returns the objects in a given order, removing duplicates.CollectionIterable<A extends AmetysObject> Basic implementation of anAmetysObjectIterable
based on an existingCollection
.EmptyIterable<A extends AmetysObject> Empty implementation of anAmetysObjectIterable
.IdCollectionIterable<A extends AmetysObject> Implementation of anAmetysObjectIterable
based on aCollection
of AmetysObject IDs.JCRSessionRequestListener Request Listener to ensure the end of JCR sessionsModifiableACLAmetysObjectProfileAssignmentStorage Implementation ofProfileAssignmentStorage
forModifiableACLAmetysObject
s which stores profile assignments in subnodes of the node representing this object.NamespacesExtensionPoint ExtensionPoint
hosting the JCR namespaces.NodeIteratorIterable<A extends AmetysObject> Implementation ofAmetysObjectIterable
based 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
, anAmetysRepositoryException
will 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 underlyingNodeIterator
will be consumed only once.
IfAmetysObjectIterator.skip(long)
is called, any subsequent call toNodeIteratorIterable.iterator()
will throw anIllegalStateException
.NodeTypeDefinitionsExtensionPoint ExtensionPoint
hosting the nodetype definitionsUniqueChainedAmetysObjectIterable<A extends AmetysObject> Implementation of aAmetysObjectIterable
based on a list of othersAmetysObjectIterable
, returning duplicate objects only once. -
Exception Summary Exception Description AmetysObjectExistsException Exception thrown when an attempt to created aAmetysObject
failed because thisAmetysObject
already 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.