org.olat.basesecurity
Class PolicyImpl

java.lang.Object
  extended by org.olat.core.commons.persistence.PersistentObject
      extended by org.olat.basesecurity.PolicyImpl
All Implemented Interfaces:
java.io.Serializable, Policy, CreateInfo, Persistable

public class PolicyImpl
extends PersistentObject
implements Policy

Author:
Felix Jost
See Also:
Serialized Form

Method Summary
 OLATResource getOlatResource()
           
 java.lang.String getPermission()
           
 SecurityGroup getSecurityGroup()
           
 void setPermission(java.lang.String permission)
          Sets the permission.
 java.lang.String toString()
           
 
Methods inherited from class org.olat.core.commons.persistence.PersistentObject
equalsByPersistableKey, getCreationDate, getKey
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.olat.core.id.Persistable
equalsByPersistableKey, getKey
 
Methods inherited from interface org.olat.core.id.CreateInfo
getCreationDate
 

Method Detail

getOlatResource

public OLATResource getOlatResource()
Specified by:
getOlatResource in interface Policy
Returns:
OLATResource

getSecurityGroup

public SecurityGroup getSecurityGroup()
Specified by:
getSecurityGroup in interface Policy
Returns:
SecurityGroup

getPermission

public java.lang.String getPermission()
Specified by:
getPermission in interface Policy
Returns:
String

setPermission

public void setPermission(java.lang.String permission)
Sets the permission.

Parameters:
permission - The permission to set

toString

public java.lang.String toString()
Overrides:
toString in class PersistentObject
See Also:
PersistentObject.toString()