Esempio n. 1
0
 /**
  * Return TRUE if item was edited (configuration change). FALSE otherwise.
  *
  * <p>IMPORTANT: This property is used only in GUI. Do not send it to the Perun server as part of
  * object.
  *
  * @return TRUE = edited / FALSE = not edited
  */
 public final boolean isEdited() {
   return JsUtils.getNativePropertyBoolean(this, "edited");
 }
Esempio n. 2
0
 /**
  * Return TRUE if item is required, FALSE otherwise.
  *
  * <p>User CAN'T submit form item with empty value if is required with exception of non-editable
  * or invisible items.
  *
  * @return TRUE = item is required / FALSE = item is optional
  */
 public final boolean isRequired() {
   return JsUtils.getNativePropertyBoolean(this, "required");
 }
Esempio n. 3
0
 /**
  * Return TRUE if item was marked for deletion. FALSE otherwise.
  *
  * @return TRUE = marked for delete / FALSE = not marked for delete.
  */
 public final boolean isForDelete() {
   return JsUtils.getNativePropertyBoolean(this, "forDelete");
 }