/** * Returns whether NumberRange is loaded. * * @return true if getNumberRangeList() invoked at least once */ @Bindable boolean isNumberRangeListLoaded();
/** * Returns whether Keys is loaded. * * @return true if getKeys() invoked at least once */ @Bindable boolean isKeysLoaded();
/** * Gets the session group. * * @return the group, 0 if ungrouped */ @Bindable long getSessionGroup();
/** * Sets the attribute granteeId. * * @param granteeId the id of the entity the permissions are granted to, 0 if all grantees */ @Bindable void setGranteeId(long granteeId);
/** * Sets the attribute priority. * * @param priority the priority or evaluation order, 0 is highest or first */ @Bindable void setPriority(int priority);
/** * Gets the pdo this rule applies to.<br> * * @return the object, null if none (class rule) */ @Bindable PersistentDomainObject<?> getObject();
/** * Gets the host info. * * @return the hostname or similar info */ @Bindable String getHostInfo();
/** * Gets the domain context as a string. * * @return the context string */ @Bindable String contextToString();
/** * Gets the attribute granteeClassId. * * @return the class id of the entity the permissions are granted to, null if all classes */ @Persistent(ordinal=5, comment="the class id of the entity the permissions are granted to, null if all classes") @Bindable int getGranteeClassId();
/** * Gets the attribute priority. * * @return the priority or evaluation order, 0 is highest or first */ @Persistent(ordinal=7, comment="the priority or evaluation order, 0 is highest or first") @Bindable int getPriority();
/** * Gets composite list of StoredBundleKey keys via StoredBundleKey#bundleId (Keys). * * @return keys Keys */ @Bindable @Persistent(ordinal=0, comment="Keys") TrackedList<StoredBundleKey> getKeys();
/** * Gets NumberPool numberPool via numberPoolId (NumberPool). * * @return numberPool NumberPool */ @Bindable @Persistent(ordinal=0, comment="NumberPool", component=false, parent=true) NumberPool getNumberPool();
/** * Gets the id of the user currently editing this object. * * @return the id or 0 if not being edited currently. */ @Persistent(comment = "userId of token holder") @Bindable long getEditedBy();
/** * Gets the attribute granteeId. * * @return the id of the entity the permissions are granted to, 0 if all grantees */ @Persistent(ordinal=6, comment="the id of the entity the permissions are granted to, 0 if all grantees") @Bindable long getGranteeId();
/** * Gets the attribute message. * * @return the user message */ @Persistent(ordinal=10, comment="the user message") @Bindable String getMessage();
/** * Gets the serial number. * * @return the serial number. */ @Persistent(comment = "object version") @Override @Bindable long getSerial();
/** * Gets the class ID of the root entity this component belongs to. * * @return the root class id */ @Persistent(comment = "root class id") @Bindable int getRootClassId();
/** * Gets the time since when this object is being edited. * * @return the time, null if not being edited. */ @Persistent(comment = "time when token expires") @Bindable Timestamp getEditedExpiry();
/** * Gets the attribute objectClassId. * * @return the protected object's class id, 0 if not an entity */ @Persistent(ordinal=1, comment="the protected object's class id, 0 if not an entity") @NotNull(condition="{object.objectClassName==null}", message="{ @('missing object class-ID') }") @Bindable int getObjectClassId();
/** * Gets the attribute objectClassName. * * @return the protected classname, null if an entity */ @Persistent(ordinal=0, comment="the protected classname, null if an entity") @NotNull(condition="{object.objectClassId==0}", message="{ @('missing object classname') }") @Bindable String getObjectClassName();