org.alfresco.repo.domain
Interface DbPermission
- All Superinterfaces:
- java.io.Serializable
- All Known Implementing Classes:
- DbPermissionImpl
public interface DbPermission
- extends java.io.Serializable
The interface against which permission references are persisted in hibernate.
getId
java.lang.Long getId()
- Returns:
- Returns the automatically assigned ID
getVersion
java.lang.Long getVersion()
- Returns:
- Returns the version number for optimistic locking
getTypeQName
QNameEntity getTypeQName()
- Returns:
- Returns the qualified name of this permission
setTypeQName
void setTypeQName(QNameEntity typeQNameEntity)
- Parameters:
qname - the entity representing the qname for this instance
getName
java.lang.String getName()
- Returns:
- Returns the permission name
setName
void setName(java.lang.String name)
- Parameters:
name - the name of the permission
getKey
DbPermissionKey getKey()
- Returns:
- Returns a key combining the
type
and name
Copyright © 2005 - 2008 Alfresco Software, Inc. All Rights Reserved.