|
|||||||||
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.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public DbAuthority getAlias()
DbAuthorityAlias
getAlias
in interface DbAuthorityAlias
public DbAuthority getAuthority()
DbAuthorityAlias
getAuthority
in interface DbAuthorityAlias
public java.lang.Long getId()
DbAuthorityAlias
getId
in interface DbAuthorityAlias
public java.lang.Long getVersion()
DbAuthorityAlias
getVersion
in interface DbAuthorityAlias
public void setAlias(DbAuthority alias)
DbAuthorityAlias
setAlias
in interface DbAuthorityAlias
public 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 |