Package org.alfresco.repo.domain.node
Class ParentAssocsInfo
- java.lang.Object
-
- org.alfresco.repo.domain.node.ParentAssocsInfo
-
- All Implemented Interfaces:
Serializable
public class ParentAssocsInfo extends Object implements Serializable
Object to keep hold of a node and its parent associations.- Since:
- 3.4
- Author:
- David Ward, Derek Hulley
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ParentAssocsInfoaddAssoc(Long assocId, ChildAssocEntity parentAssoc)ParentAssocsInfochangeIsRoot(boolean isRoot)ParentAssocsInfochangeIsStoreRoot(boolean isStoreRoot)Map<Long,ChildAssocEntity>getParentAssocs()ChildAssocEntitygetPrimaryParentAssoc()booleanisRoot()booleanisStoreRoot()ParentAssocsInforemoveAssoc(Long assocId)StringtoString()
-
-
-
Method Detail
-
isRoot
public boolean isRoot()
-
isStoreRoot
public boolean isStoreRoot()
-
getParentAssocs
public Map<Long,ChildAssocEntity> getParentAssocs()
-
getPrimaryParentAssoc
public ChildAssocEntity getPrimaryParentAssoc()
-
changeIsRoot
public ParentAssocsInfo changeIsRoot(boolean isRoot)
-
changeIsStoreRoot
public ParentAssocsInfo changeIsStoreRoot(boolean isStoreRoot)
-
addAssoc
public ParentAssocsInfo addAssoc(Long assocId, ChildAssocEntity parentAssoc)
-
removeAssoc
public ParentAssocsInfo removeAssoc(Long assocId)
-
-