Class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,R extends Any,REL extends Relationship<L,R>>
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.AbstractAny
org.apache.syncope.core.persistence.neo4j.entity.AbstractRelatable<L,R,REL>
org.apache.syncope.core.persistence.neo4j.entity.AbstractGroupableRelatable<L,M,R,REL>
- All Implemented Interfaces:
Serializable
,Any
,Attributable
,Entity
,Groupable<L,
,M, R, REL> Relatable<L,
R, REL>
- Direct Known Subclasses:
Neo4jAnyObject
,Neo4jUser
public abstract class AbstractGroupableRelatable<L extends Any,M extends Membership<L>,R extends Any,REL extends Relationship<L,R>>
extends AbstractRelatable<L,R,REL>
implements Groupable<L,M,R,REL>
- See Also:
-
Field Summary
Fields inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractNode
LOG
Fields inherited from interface org.apache.syncope.core.persistence.api.entity.Entity
EMAIL_PATTERN, ID_PATTERN, ID_REGEX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
getMembership
(String groupKey) getPlainAttr
(String plainSchema, Membership<?> membership) Returns the plain attribute for this instance, the given schema name and the given membership - if found,NULL
otherwise.Returns the plain attributes for this instance.getPlainAttrs
(String plainSchema) Returns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite toAttributable.getPlainAttr(java.lang.String)
).getPlainAttrs
(Membership<?> membership) Returns the list of plain attributes for this instance and the given membership.protected abstract List
<? extends AbstractMembership<L>> boolean
Methods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractRelatable
getRelationship, getRelationships, getRelationships
Methods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractAny
completePlainAttrs, doComplete, getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getPlainAttr, getRealm, getStatus, plainAttrs, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus
Methods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractGeneratedKeyNode
getKey, setKey
Methods inherited from class org.apache.syncope.core.persistence.neo4j.entity.AbstractNode
checkImplementationType, checkType, equals, hashCode, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Any
add, add, getAuxClasses, getCreationContext, getCreationDate, getCreator, getLastChangeContext, getLastChangeDate, getLastModifier, getRealm, getResources, getStatus, getType, setCreationContext, setCreationDate, setCreator, setLastChangeContext, setLastChangeDate, setLastModifier, setRealm, setStatus, setType
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Attributable
add, getPlainAttr
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Groupable
add, remove
Methods inherited from interface org.apache.syncope.core.persistence.api.entity.Relatable
add, getRelationships
-
Constructor Details
-
AbstractGroupableRelatable
public AbstractGroupableRelatable()
-
-
Method Details
-
memberships
-
remove
- Specified by:
remove
in interfaceAttributable
-
getPlainAttr
Description copied from interface:Groupable
Returns the plain attribute for this instance, the given schema name and the given membership - if found,NULL
otherwise.- Specified by:
getPlainAttr
in interfaceGroupable<L extends Any,
M extends Membership<L>, R extends Any, REL extends Relationship<L, R>> - 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:Attributable
Returns the plain attributes for this instance.- Specified by:
getPlainAttrs
in interfaceAttributable
- Returns:
- plain attribute for this instance
-
getPlainAttrs
Description copied from interface:Groupable
Returns the list of plain attributes for this instance and the given schema name (including membeship attributes, as opposite toAttributable.getPlainAttr(java.lang.String)
).- Specified by:
getPlainAttrs
in interfaceGroupable<L extends Any,
M extends Membership<L>, R extends Any, REL extends Relationship<L, R>> - Parameters:
plainSchema
- plain schema name- Returns:
- list of plain attributes for this instance and the given schema name (including membeship attributes)
-
getPlainAttrs
Description copied from interface:Groupable
Returns the list of plain attributes for this instance and the given membership.- Specified by:
getPlainAttrs
in interfaceGroupable<L extends Any,
M extends Membership<L>, R extends Any, REL extends Relationship<L, R>> - Parameters:
membership
- membership- Returns:
- list of plain attributes for this instance and the given membership
-
getMemberships
- Specified by:
getMemberships
in interfaceGroupable<L extends Any,
M extends Membership<L>, R extends Any, REL extends Relationship<L, R>>
-
getMembership
- Specified by:
getMembership
in interfaceGroupable<L extends Any,
M extends Membership<L>, R extends Any, REL extends Relationship<L, R>>
-
completeMembershipPlainAttrs
public void completeMembershipPlainAttrs()
-