org.sakaiproject.api.common.authorization
Interface Authorization

All Superinterfaces:
Persistable
All Known Implementing Classes:
AuthorizationImpl

public interface Authorization
extends Persistable

Represents an access control entry.

   Who == agentUuid; i.e. Agent
  What == permissionsUuid; i.e. Permissions
 Where == nodeUuid; i.e. Node
  When == effectiveDate >= now <= expirationDate
    Note: Both effectiveDate and expirationDate are optional and can be null.
 

Since:
Sakai 2.0
Version:
$Id: Authorization.java 632 2005-07-14 21:22:50Z janderse@umich.edu $
Author:
Lance Speelmon, Jarrod Lannan

Method Summary
 String getAgentUuid()
           
 Date getEffectiveDate()
           
 Date getExpirationDate()
           
 String getNodeUuid()
           
 String getPermissionsUuid()
           
 boolean isActive()
           
 void setAgentUuid(String agentUuid)
           
 void setEffectiveDate(Date effectiveDate)
           
 void setExpirationDate(Date expirationDate)
           
 void setNodeUuid(String nodeUuid)
           
 void setPermissionsUuid(String permissionsUuid)
           
 
Methods inherited from interface org.sakaiproject.api.common.manager.Persistable
getCreatedBy, getCreatedDate, getLastModifiedBy, getLastModifiedDate, getUuid
 

Method Detail

getAgentUuid

public String getAgentUuid()

setAgentUuid

public void setAgentUuid(String agentUuid)

getPermissionsUuid

public String getPermissionsUuid()

setPermissionsUuid

public void setPermissionsUuid(String permissionsUuid)

getNodeUuid

public String getNodeUuid()

setNodeUuid

public void setNodeUuid(String nodeUuid)

getEffectiveDate

public Date getEffectiveDate()

setEffectiveDate

public void setEffectiveDate(Date effectiveDate)

getExpirationDate

public Date getExpirationDate()

setExpirationDate

public void setExpirationDate(Date expirationDate)

isActive

public boolean isActive()