public class PermissionsImpl extends Object implements Permissions
Constructor and Description |
---|
PermissionsImpl()
Instantiates a new permissions impl.
|
PermissionsImpl(Node node)
Instantiates a new permissions impl.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canAddChildren()
Returns Determines whether the current user can add children to the node.
|
boolean |
canComment()
Returns Determines whether the current user can comment on the node.
|
boolean |
canDelete()
Returns Determines whether the current user can delete the node.
|
boolean |
canEdit()
Returns Determines whether the current user can edit the node.
|
public PermissionsImpl()
public PermissionsImpl(Node node)
node
- the nodepublic boolean canDelete()
canDelete
in interface Permissions
public boolean canEdit()
canEdit
in interface Permissions
public boolean canAddChildren()
canAddChildren
in interface Permissions
public boolean canComment()
canComment
in interface Permissions
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.