|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.domain.hibernate.DbAuthorityImpl
public class DbAuthorityImpl
The persisted class for authorities.
Constructor Summary | |
---|---|
DbAuthorityImpl()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
static DbAuthority |
find(org.hibernate.Session session,
java.lang.String authority)
Helper method to find an authority based on its natural key |
java.lang.String |
getAuthority()
|
java.lang.Long |
getCrc()
Get the CRC |
java.lang.Long |
getId()
Get the object id |
java.lang.Long |
getVersion()
|
int |
hashCode()
|
void |
setAuthority(java.lang.String authority)
|
void |
setCrc(java.lang.Long crc)
Use a crc to enforce case sensitive unique key |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DbAuthorityImpl()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Long getId()
DbAuthority
getId
in interface DbAuthority
public void setCrc(java.lang.Long crc)
DbAuthority
setCrc
in interface DbAuthority
public java.lang.Long getVersion()
getVersion
in interface DbAuthority
public java.lang.Long getCrc()
DbAuthority
getCrc
in interface DbAuthority
public java.lang.String getAuthority()
getAuthority
in interface DbAuthority
public void setAuthority(java.lang.String authority)
setAuthority
in interface DbAuthority
public static DbAuthority find(org.hibernate.Session session, java.lang.String authority)
session
- the Hibernate session to useauthority
- the authority name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |