public interface PeopleService extends AppService
Modifier and Type | Method and Description |
---|---|
Node |
createEntityReference(Node referencingNode,
Node referencedNode,
java.lang.String role)
Creates and returns a model specific Node to store a reference, depending
on the two object we want to link together
|
ContactService |
getContactService()
Returns the corresponding
ContactService |
Node |
getEntityFromNodeReference(Node node,
java.lang.String propName)
Returns the corresponding people entity using the People UID that is
stored under propName.
|
PersonService |
getPersonService()
Returns the corresponding
PersonService |
java.util.List<Node> |
getRelatedEntities(Node entity,
java.lang.String linkNodeType,
java.lang.String relatedEntityType)
Returns all entities with the given NodeType related to this entity or
null if none has been found.
|
void |
updatePrimaryCache(Node entity)
Simply look for primary information and update primary cache if needed
|
createDraftEntity, getAppBaseName, getBaseRelPath, getDefaultRelPath, getDefaultRelPath, getDisplayName, getDraftParent, getEntityByUid, getLabel, getMainNodeType, isKnownType, isKnownType, publishEntity, publishEntity, saveEntity
Node getEntityFromNodeReference(Node node, java.lang.String propName)
Node createEntityReference(Node referencingNode, Node referencedNode, java.lang.String role)
java.util.List<Node> getRelatedEntities(Node entity, java.lang.String linkNodeType, java.lang.String relatedEntityType)
relatedEntityType
- Optionally, the type of the grand-parent node typically to
choose between an organisation, a group or a person in a groupvoid updatePrimaryCache(Node entity) throws PeopleException, RepositoryException
PeopleException
RepositoryException
PersonService getPersonService()
PersonService
ContactService getContactService()
ContactService
Copyright © 2007–2020. All rights reserved.