A - the actual type of AmetysObjectspublic interface VirtualAmetysObjectFactory<A extends AmetysObject> extends AmetysObjectFactory<A>
AmetysObjectFactory for handling "virtual" objects, in that they did
not rely directly to the JCR storage.AmetysObject handled by a VirtualAmetysObjectFactory are considered as children of the JCRAmetysObject corresponding to the JCR Node holding that property.| Modifier and Type | Method and Description |
|---|---|
A |
getChild(JCRAmetysObject parent,
String childName)
Returns a named
AmetysObject. |
AmetysObjectIterable<A> |
getChildren(JCRAmetysObject parent)
Returns the "root" objects of this virtual factory, hosted in the Ametys
hierarchy under a
TraversableAmetysObject, which is backed by a
concrete JCR Node. |
boolean |
hasChild(JCRAmetysObject parent,
String childName)
Returns true if the named
AmetysObject exists. |
getAmetysObjectById, getScheme, hasAmetysObjectForIdAmetysObjectIterable<A> getChildren(JCRAmetysObject parent)
TraversableAmetysObject, which is backed by a
concrete JCR Node.parent - the JCRAmetysObject "hosting" this factory.A getChild(JCRAmetysObject parent, String childName)
AmetysObject.parent - the JCRAmetysObject "hosting" this factory.childName - the name of the virtual child.AmetysObject.boolean hasChild(JCRAmetysObject parent, String childName)
AmetysObject exists.parent - the JCRAmetysObject "hosting" this factory.childName - the name of the virtual child.AmetysObject exists.