|
|||||||||
| 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.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.Long getId()
DbAuthority
getId in interface DbAuthoritypublic void setCrc(java.lang.Long crc)
DbAuthority
setCrc in interface DbAuthoritypublic java.lang.Long getVersion()
getVersion in interface DbAuthoritypublic java.lang.Long getCrc()
DbAuthority
getCrc in interface DbAuthoritypublic java.lang.String getAuthority()
getAuthority in interface DbAuthoritypublic 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 | ||||||||