/** * Returns whether NumberRange is loaded. * * @return true if getNumberRangeList() invoked at least once */ @Bindable boolean isNumberRangeListLoaded();
String bindingOptions = method.getAnnotation(Bindable.class).options(); String camelName = ReflectionHelper.getPathGetterName(method); if (camelName != null) { String bindingOptions = field.getAnnotation(Bindable.class).options(); String camelName = StringHelper.firstToUpper(field.getName()); BindableElement info = bindableMap.get(camelName);
/** * 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 grantee as a string. * * @return the grantee string */ @Bindable String granteeToString();
/** * Gets the domain context as a string. * * @return the context string */ @Bindable String contextToString();
/** * Sets the attribute objectClassName. * * @param objectClassName the protected classname, null if an entity */ @Bindable void setObjectClassName(String objectClassName);
/** * Sets the attribute allowed. * * @param allowed the false if denied, true if allowed */ @Bindable void setAllowed(boolean allowed);
/** * Sets the attribute message. * * @param message the user message */ @Bindable void setMessage(String message);
/** * Gets the application context's object.<br> * The object will be loaded in its valid context. * * @return the context object, null if no context (all) */ @Bindable PersistentDomainObject<?> getDomainContextObject();
/** * Sets the grantee. * * @param grantee the grantee, null to clear (all) */ @Bindable void setGrantee(PersistentDomainObject<?> grantee);
/** * Gets the user id. * * @return the object Id of the current user */ @Bindable long getUserId();
/** * Gets the username. * * @return the username */ @Bindable String getUserName();
/** * Gets the name of the application. * * @return the name, null if none */ @Bindable String getApplicationName();
/** * Returns the application id. * * @return the id, 0 if none */ @Bindable long getApplicationId();
/** * Gets the client version info. * * @return the version info */ @Bindable String getClientVersionInfo();