Package se.conciliate.extensions.store
Interface MTEditState
public interface MTEditState
Describes the "editable" state of a model or symbol right. If
isEditable returns true then the model/symbol
can be edited. If not, use the other methods to determine which other
conditions are blocking the user from writing to the model.
Note that although the edit state says that a model is editable this
is based on the state when the model was loaded. The client must still
anticipate and handle exceptions thrown when models and symbols are
out of date or are currently locked by another user.-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturnstrueif the current user has write permissions.booleanReturnstrueif the object can be edited by the current user right now.booleanReturnstrueif the current revision of the object is locked.
-
Method Details
-
isEditable
boolean isEditable()Returnstrueif the object can be edited by the current user right now. -
hasWritePermission
boolean hasWritePermission()Returnstrueif the current user has write permissions. Note this does not necessarily imply that the object is editable right now. -
isRevisionLocked
boolean isRevisionLocked()Returnstrueif the current revision of the object is locked.
-