org.alfresco.repo.domain
Interface DbAuthority

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
DbAuthorityImpl

public interface DbAuthority
extends java.io.Serializable

The interface against which recipients of permission are persisted


Method Summary
 java.lang.String getAuthority()
           
 java.lang.Long getCrc()
          Get the CRC
 java.lang.Long getId()
          Get the object id
 java.lang.Long getVersion()
           
 void setAuthority(java.lang.String authority)
           
 void setCrc(java.lang.Long crc)
          Use a crc to enforce case sensitive unique key
 

Method Detail

getId

java.lang.Long getId()
Get the object id

Returns:

getVersion

java.lang.Long getVersion()
Returns:
Returns the version number for optimistic locking

getAuthority

java.lang.String getAuthority()
Returns:
Returns the authority

setAuthority

void setAuthority(java.lang.String authority)
Parameters:
the - authority

setCrc

void setCrc(java.lang.Long crc)
Use a crc to enforce case sensitive unique key

Parameters:
crc -

getCrc

java.lang.Long getCrc()
Get the CRC

Returns:


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.