Class GroupAuthorityEntity
- java.lang.Object
-
- org.drdeesw.commons.models.base.entities.AbstractUniqueEntity<java.lang.Long>
-
- org.drdeesw.commons.models.security.entities.GroupAuthorityEntity
-
- All Implemented Interfaces:
java.io.Serializable,DataTransferObject,UniqueEntity<java.lang.Long>,UniqueObject<java.lang.Long>,GroupAuthority
@MappedSuperclass public abstract class GroupAuthorityEntity extends AbstractUniqueEntity<java.lang.Long> implements GroupAuthority
Structured to work with JdbcUserDetailsManager. This is an abstract class so that subclasses can define the schema and table names.- Author:
- gary_kephart
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGroupAuthorityEntity()HibernateprotectedGroupAuthorityEntity(java.lang.Long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAuthority()java.lang.LonggetGroupId()voidsetAuthority(java.lang.String authority)voidsetGroupId(java.lang.Long groupId)-
Methods inherited from class org.drdeesw.commons.models.base.entities.AbstractUniqueEntity
cast, equals, equalsWithNullCheck, getId, hashCode, setId, toString, update
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drdeesw.commons.models.base.UniqueObject
getId, setId
-
-
-
-
Method Detail
-
getAuthority
public java.lang.String getAuthority()
- Specified by:
getAuthorityin interfaceGroupAuthority- Returns:
- authority
-
getGroupId
public java.lang.Long getGroupId()
- Specified by:
getGroupIdin interfaceGroupAuthority- Returns:
- groupId
-
setAuthority
public void setAuthority(java.lang.String authority)
- Specified by:
setAuthorityin interfaceGroupAuthority
-
setGroupId
public void setGroupId(java.lang.Long groupId)
- Specified by:
setGroupIdin interfaceGroupAuthority
-
-