Class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,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>
org.apache.syncope.core.persistence.neo4j.entity.AbstractGroupableRelatable<L,M,R>
- All Implemented Interfaces:
Serializable,Any,Attributable,Entity,Groupable<L,,M, R> Relatable<L,R>
- Direct Known Subclasses:
Neo4jAnyObject,Neo4jUser
public abstract class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,R extends Relationship<L,AnyObject>>
extends AbstractRelatable<L,R>
implements Groupable<L,M,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 TypeMethodDescriptionbooleanvoidgetMembership(String groupKey) getPlainAttr(String plainSchema, Membership<?> membership) Returns the plain attribute for this instance, the given schema name and the given membership.getPlainAttrs(Membership<?> membership) Returns the list of plain attributes for this instance and the given membership.protected abstract List<? extends AbstractMembership<L>> booleanMethods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractRelatable
completeRelationshipPlainAttrs, getPlainAttr, getPlainAttrs, getRelationship, getRelationships, getRelationships, getRelationships, relationshipsMethods 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
-
AbstractGroupableRelatable
public AbstractGroupableRelatable()
-
-
Method Details
-
memberships
-
add
- Specified by:
addin interfaceAttributable- Overrides:
addin classAbstractRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
remove
- Specified by:
removein interfaceAttributable- Overrides:
removein classAbstractRelatable<L extends Any,R extends Relationship<L, AnyObject>>
-
getPlainAttr
Description copied from interface:GroupableReturns the plain attribute for this instance, the given schema name and the given membership.- Specified by:
getPlainAttrin interfaceGroupable<L extends Any,M extends Membership<L>, R extends Relationship<L, AnyObject>> - Parameters:
plainSchema- plain schema namemembership- membership- Returns:
- plain attribute for this instance, the given schema name and the given membership
-
getPlainAttrs
Description copied from interface:GroupableReturns the list of plain attributes for this instance and the given membership.- Specified by:
getPlainAttrsin interfaceGroupable<L extends Any,M extends Membership<L>, R extends Relationship<L, AnyObject>> - Parameters:
membership- membership- Returns:
- list of plain attributes for this instance and the given membership
-
getMemberships
- Specified by:
getMembershipsin interfaceGroupable<L extends Any,M extends Membership<L>, R extends Relationship<L, AnyObject>>
-
getMembership
- Specified by:
getMembershipin interfaceGroupable<L extends Any,M extends Membership<L>, R extends Relationship<L, AnyObject>>
-
completeMembershipPlainAttrs
public void completeMembershipPlainAttrs()
-