Interface ElementPermissions
@OpenApiAll
public interface ElementPermissions
Interface for elements permissions handler.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleancanAddChild(BaseElement parent, BaseElement child) Checks if there is permissions to add given child to given parent.booleancanCreateChildIn(BaseElement element) Return true if children can be created in given elementbooleancanDelete(BaseElement element) Checks if element can be deletedbooleanisElementEditable(BaseElement element) Return true if elements properties can be changed. 
- 
Method Details
- 
isElementEditable
Return true if elements properties can be changed.- Parameters:
 element- element to check.- Returns:
 - true if elements properties can be changed.
 
 - 
canCreateChildIn
Return true if children can be created in given element- Parameters:
 element- element to check- Returns:
 - true if children can be created in given element
 
 - 
canAddChild
Checks if there is permissions to add given child to given parent.- Parameters:
 parent- parent to check.child- child to check- Returns:
 - true if there is permissions to add given child to given parent.
 
 - 
canDelete
Checks if element can be deleted- Parameters:
 element- element to check- Returns:
 - if element can be deleted.
 
 
 -