Package org.alfresco.repo.query
Class NodeWithTargetsEntity
- java.lang.Object
-
- org.alfresco.repo.query.NodeBackedEntity
-
- org.alfresco.repo.query.NodeWithTargetsEntity
-
- All Implemented Interfaces:
PermissionCheckValue
- Direct Known Subclasses:
GetChildrenWithTargetAssocsAuditableCannedQueryParams
public class NodeWithTargetsEntity extends NodeBackedEntity
Parent class of Canned Query Entities which are aNodeEntitywith additional properties- Since:
- 4.0
- Author:
- Nick Burch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classNodeWithTargetsEntity.TargetAndTypeId
-
Constructor Summary
Constructors Constructor Description NodeWithTargetsEntity()Default constructorNodeWithTargetsEntity(java.lang.Long parentNodeId, java.lang.Long nameQNameId, java.lang.Long contentTypeQNameId, java.lang.Long assocTypeId)Query constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.LonggetAssocTypeId()If set, the ID of the assocation type to limit the target assocs to.java.util.List<NodeWithTargetsEntity.TargetAndTypeId>getTargetIds()voidsetTargets(java.util.List<NodeWithTargetsEntity.TargetAndTypeId> targets)-
Methods inherited from class org.alfresco.repo.query.NodeBackedEntity
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode
-
-
-
-
Method Detail
-
getTargetIds
public java.util.List<NodeWithTargetsEntity.TargetAndTypeId> getTargetIds()
- Returns:
- Pairs of (Target Node, Assoc Type)
-
setTargets
public void setTargets(java.util.List<NodeWithTargetsEntity.TargetAndTypeId> targets)
-
getAssocTypeId
public java.lang.Long getAssocTypeId()
If set, the ID of the assocation type to limit the target assocs to.
-
-