Class AbstractRelatable<L extends Any,R extends Relationship<L,AnyObject>>
java.lang.Object
org.apache.syncope.core.persistence.neo4j.entity.AbstractNode
org.apache.syncope.core.persistence.neo4j.entity.AbstractGeneratedKeyNode
org.apache.syncope.core.persistence.neo4j.entity.AbstractAttributable
org.apache.syncope.core.persistence.neo4j.entity.AbstractAny
org.apache.syncope.core.persistence.neo4j.entity.AbstractRelatable<L,R>
- All Implemented Interfaces:
Serializable,Any,Attributable,Entity,Relatable<L,R>
- Direct Known Subclasses:
AbstractGroupableRelatable,Neo4jGroup
public abstract class AbstractRelatable<L extends Any,R extends Relationship<L,AnyObject>>
extends AbstractAny
implements Relatable<L,R>
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractAny
gManager, GROUP_MANAGER_REL, uManager, USER_MANAGER_RELFields inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractNode
LOGFields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidgetPlainAttr(String plainSchema, Relationship<?, ?> relationship) Returns the plain attribute for this instance, the given schema name and the given relationship.getPlainAttrs(Relationship<?, ?> relationship) Returns the list of plain attributes for this instance and the given membership.getRelationship(RelationshipType relationshipType, String otherEndKey) getRelationships(String otherEndKey) getRelationships(RelationshipType relationshipType) protected abstract List<? extends AbstractRelationship<L, AnyObject>> booleanMethods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractAny
getCreationContext, getCreationDate, getCreator, getGManager, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getStatus, getUManager, setCreationContext, setCreationDate, setCreator, setGManager, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setUManagerMethods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractAttributable
completePlainAttrs, doComplete, getPlainAttr, getPlainAttrs, plainAttrsMethods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractGeneratedKeyNode
getKey, setKeyMethods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractNode
checkImplementationType, checkType, equals, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Any
add, add, getAuxClasses, getCreationContext, getCreationDate, getCreator, getGManager, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getResources, getStatus, getType, getUManager, setCreationContext, setCreationDate, setCreator, setGManager, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setType, setUManagerMethods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
getPlainAttr, getPlainAttrs
-
Constructor Details
-
AbstractRelatable
public AbstractRelatable()
-
-
Method Details
-
relationships
-
add
- Specified by:
addin interfaceAttributable- Overrides:
addin classAbstractAttributable
-
remove
- Specified by:
removein interfaceAttributable- Overrides:
removein classAbstractAttributable
-
getPlainAttr
Description copied from interface:RelatableReturns the plain attribute for this instance, the given schema name and the given relationship.- Specified by:
getPlainAttrin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>> - Parameters:
plainSchema- plain schema namerelationship- relationship- Returns:
- plain attribute for this instance, the given schema name and the given membership
-
getPlainAttrs
Description copied from interface:RelatableReturns the list of plain attributes for this instance and the given membership.- Specified by:
getPlainAttrsin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>> - Parameters:
relationship- membership- Returns:
- list of plain attributes for this instance and the given membership
-
getRelationship
- Specified by:
getRelationshipin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
getRelationships
- Specified by:
getRelationshipsin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
getRelationships
- Specified by:
getRelationshipsin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
getRelationships
- Specified by:
getRelationshipsin interfaceRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
completeRelationshipPlainAttrs
public void completeRelationshipPlainAttrs()
-