Package org.openwms.core.uaa.impl
Class Grant
java.lang.Object
org.ameba.integration.jpa.BaseEntity
org.ameba.integration.jpa.ApplicationEntity
org.openwms.core.uaa.impl.SecurityObject
org.openwms.core.uaa.impl.Grant
- All Implemented Interfaces:
- Serializable,- org.ameba.integration.TypedEntity<Long>
A Grant gives permission to access some kind of application object. Grants to security aware application objects can be permitted or
 denied for a certain 
Role, depending on the security configuration. Usually Grants are assigned to a
 Role and on or more User s are assigned to each Roles. A Grant is security aware, that means it is
 an concrete SecurityObject.
 
 Permissions to UI actions are managed with Grants.
 
- Author:
- Heiko Scherrer
- See Also:
- 
Field SummaryFields inherited from class org.ameba.integration.jpa.ApplicationEntityC_ID
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.openwms.core.uaa.impl.SecurityObjectgetDescription, getName, setDescription, setName, setPersistentKey, toStringMethods inherited from class org.ameba.integration.jpa.ApplicationEntitygetPersistentKey, hasPersistentKey, onEntityPersist, onPersistMethods inherited from class org.ameba.integration.jpa.BaseEntitygetCreatedBy, getCreateDt, getLastModifiedBy, getLastModifiedDt, getOl, getPk, isNew, setCreatedBy, setCreateDt, setLastModifiedBy, setLastModifiedDt, setOl
- 
Constructor Details- 
Grantprotected Grant()Dear JPA...
- 
GrantCreate a new Grant.- Parameters:
- name- The name of the- Grant
- description- The description text of the- Grant
 
- 
GrantCreate a new Grant.- Parameters:
- name- The name of the- Grant
 
 
- 
- 
Method Details- 
hashCodepublic int hashCode()Use the hashCode of the superclass with the hashCode of 'GRANT' to distinguish betweenGrants and otherSecurityObjects likeRoles.- Overrides:
- hashCodein class- SecurityObject
- See Also:
 
- 
equalsCompare the name.- Overrides:
- equalsin class- SecurityObject
- See Also:
 
 
-