org.olat.basesecurity
Class PermissionOnResourceable

java.lang.Object
  extended by org.olat.basesecurity.PermissionOnResourceable

public class PermissionOnResourceable
extends java.lang.Object

Initial Date: Feb 2, 2006

Author:
gnaegi
Description: This is a data container that holds a permission and an OLAT resource. It can be used when searching for policies that fullfill this criteria or when using for users using the powersearch.

Constructor Summary
PermissionOnResourceable(java.lang.String permission, OLATResourceable olatResourceable)
           
 
Method Summary
 OLATResourceable getOlatResourceable()
           
 java.lang.String getPermission()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionOnResourceable

public PermissionOnResourceable(java.lang.String permission,
                                OLATResourceable olatResourceable)
Method Detail

getOlatResourceable

public OLATResourceable getOlatResourceable()
Returns:
OLATResourceable

getPermission

public java.lang.String getPermission()
Returns:
String

toString

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