@GenerateDto(dtoPackage="net.datenwerke.security.client.treedb.dto",createDecorator=true,poso2DtoPostProcessors=SecuredAbstractNode2DtoPostProcessor.class,abstractDto=true,additionalFields={,,},whitelist={ReadDto.class,WriteDto.class,ExecuteDto.class,GrantAccessDto.class,DeleteDto.class,UserDto.class,UserDtoDec.class,OrganisationalUnitDto.class,GroupDto.class}) public abstract class SecuredAbstractNode<N extends AbstractNode<N>> extends AbstractNode<N> implements HierarchicalSecurityTarget, Owneable
FLAG_CONFIGURATION_PROTECTION, FLAG_WRITE_PROTECTION
Constructor and Description |
---|
SecuredAbstractNode() |
Modifier and Type | Method and Description |
---|---|
HierarchicalAcl |
getAcl()
Retrieves the node's ACL
|
User |
getOwner() |
HierarchicalSecurityTarget |
getParentTarget() |
void |
setAcl(HierarchicalAcl acl)
Sets the node's acl and notifies the ACL.
|
void |
setOwner(User owner) |
addChild, addChild, addFlag, clearFlags, equals, getBaseType, getChildren, getChildrenOfType, getChildrenSorted, getCreatedOn, getDeniedChildren, getDescendants, getDescendants, getFlags, getId, getIdOrOldTransient, getLastUpdated, getManagerClass, getNodeName, getOldTransientId, getOldTransientKey, getParent, getPosition, getRootLine, getRootNodeName, getSupportedChildren, getVersion, hasChildren, hasChildrenOfType, hasDescendantsOfType, hasFlag, hashCode, idsMatch, isAncestorOf, isConfigurationProtected, isFolder, isRoot, isUpdateLastUpdated, isWriteProtected, removeChild, removeFlag, setChildren, setConfigurationProtection, setCreatedOn, setFlags, setId, setLastUpdated, setOldTransientId, setOldTransientKey, setParent, setPosition, setUpdateLastUpdated, setVersion, setWriteProtection, toString, wouldContainFlag
public HierarchicalAcl getAcl()
getAcl
in interface SecurityTarget
public void setAcl(HierarchicalAcl acl)
acl
- public HierarchicalSecurityTarget getParentTarget()
getParentTarget
in interface HierarchicalSecurityTarget