|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.alfresco.repo.domain.hibernate.DbAuthorityAliasImpl
public class DbAuthorityAliasImpl
| Constructor Summary | |
|---|---|
DbAuthorityAliasImpl()
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
static DbAuthorityAlias |
find(org.hibernate.Session session,
java.lang.String authority,
java.lang.String alias)
Helper method to find an authority alias based on the authority and alias |
DbAuthority |
getAlias()
Get the alias for the authority |
DbAuthority |
getAuthority()
Get the authority for which this is an alias |
java.lang.Long |
getId()
Get the object id. |
java.lang.Long |
getVersion()
Get the version used for optimistic locking |
int |
hashCode()
|
void |
setAlias(DbAuthority alias)
Set the alias |
void |
setAuthority(DbAuthority authority)
Set the authority |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DbAuthorityAliasImpl()
| Method Detail |
|---|
public java.lang.String toString()
toString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic DbAuthority getAlias()
DbAuthorityAlias
getAlias in interface DbAuthorityAliaspublic DbAuthority getAuthority()
DbAuthorityAlias
getAuthority in interface DbAuthorityAliaspublic java.lang.Long getId()
DbAuthorityAlias
getId in interface DbAuthorityAliaspublic java.lang.Long getVersion()
DbAuthorityAlias
getVersion in interface DbAuthorityAliaspublic void setAlias(DbAuthority alias)
DbAuthorityAlias
setAlias in interface DbAuthorityAliaspublic void setAuthority(DbAuthority authority)
DbAuthorityAlias
setAuthority in interface DbAuthorityAlias
public static DbAuthorityAlias find(org.hibernate.Session session,
java.lang.String authority,
java.lang.String alias)
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 | ||||||||