@OpenApiAll
public interface ElementPermissions
Modifier and Type | Method and Description |
---|---|
boolean |
canAddChild(BaseElement parent,
BaseElement child)
Checks if there is permissions to add given child to given parent.
|
boolean |
canCreateChildIn(BaseElement element)
Return true if children can be created in given element
|
boolean |
canDelete(BaseElement element)
Checks if element can be deleted
|
boolean |
isElementEditable(BaseElement element)
Return true if elements properties can be changed.
|
boolean isElementEditable(BaseElement element)
element
- element to check.boolean canCreateChildIn(BaseElement element)
element
- element to checkboolean canAddChild(BaseElement parent, BaseElement child)
parent
- parent to check.child
- child to checkboolean canDelete(BaseElement element)
element
- element to check