public void removeFromPrivilegesRelationship(er.rbac.eof.ERPrivilege object) { if (_ERRole.LOG.isDebugEnabled()) { _ERRole.LOG.debug("removing " + object + " from privileges relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater .updateInverseRelationships()) { removeFromPrivileges(object); } else { removeObjectFromBothSidesOfRelationshipWithKey(object, _ERRole.Keys.PRIVILEGES); } }
public void addToPrivilegesRelationship(er.rbac.eof.ERPrivilege object) { if (_ERRole.LOG.isDebugEnabled()) { _ERRole.LOG.debug("adding " + object + " to privileges relationship"); } if (er.extensions.eof.ERXGenericRecord.InverseRelationshipUpdater .updateInverseRelationships()) { addToPrivileges(object); } else { addObjectToBothSidesOfRelationshipWithKey(object, _ERRole.Keys.PRIVILEGES); } }
public void setName(String value) { if (_ERRole.LOG.isDebugEnabled()) { _ERRole.LOG.debug("updating name from " + name() + " to " + value); } takeStoredValueForKey(value, _ERRole.Keys.NAME); }
public void setDescription(String value) { if (_ERRole.LOG.isDebugEnabled()) { _ERRole.LOG.debug("updating description from " + description() + " to " + value); } takeStoredValueForKey(value, _ERRole.Keys.DESCRIPTION); }