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 a
NodeEntity
with additional properties
- Since:
- 4.0
Constructor Summary |
NodeWithTargetsEntity()
Default constructor |
NodeWithTargetsEntity(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long assocTypeId)
Query constructor |
Method Summary |
java.lang.Long |
getAssocTypeId()
If set, the ID of the assocation type to limit
the target assocs to. |
java.util.List |
getTargetIds()
|
void |
setTargets(java.util.List targets)
|
Methods inherited from class org.alfresco.repo.query.NodeBackedEntity |
getContentTypeQNameId, getCreatedDate, getCreator, getId, getModifiedDate, getModifier, getName, getNameQNameId, getNode, getNodeRef, getParentNodeId, setId, setName, setNode |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeWithTargetsEntity
public NodeWithTargetsEntity()
- Default constructor
NodeWithTargetsEntity
public NodeWithTargetsEntity(java.lang.Long parentNodeId,
java.lang.Long nameQNameId,
java.lang.Long contentTypeQNameId,
java.lang.Long assocTypeId)
- Query constructor
getTargetIds
public java.util.List getTargetIds()
- Returns:
- Pairs of (Target Node, Assoc Type)
setTargets
public void setTargets(java.util.List targets)
getAssocTypeId
public java.lang.Long getAssocTypeId()
- If set, the ID of the assocation type to limit
the target assocs to.
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.