org.openmdx.security.realm1.cci2
Interface Permission

All Superinterfaces:
org.openmdx.base.cci2.BasicObject, org.openmdx.base.cci2.ContextCapable, org.openmdx.base.cci2.ExtentCapable, org.openmdx.compatibility.view1.cci2.ViewCapable
All Known Subinterfaces:
Permission
All Known Implementing Classes:
Permission

public interface Permission
extends org.openmdx.base.cci2.BasicObject

Class Permission


Nested Class Summary
static interface Permission.Identity
          Object Identity
 
Method Summary
 Set<String> getAction()
           
 String getDescription()
           
 String getName()
          Retrieves the value for the attribute name.
 Privilege getPrivilege()
          Retrieves the value for the reference privilege.
 Role getRealm()
          Retrieves the value for the reference realm.
 void setAction(String... action)
           This method is equivalent to
 void setPrivilege(Privilege privilege)
          Sets a new value for the reference privilege.
 void setRealm(Role realm)
          Sets a new value for the reference realm.
 void setRealm(Role realm, boolean idIsPersistent, String id)
          Set the object's composite association org:openmdx:security:realm1:PermissionIsGrantedToRole.
 
Methods inherited from interface org.openmdx.base.cci2.BasicObject
getCreatedAt, getCreatedBy, getModifiedAt, getModifiedBy
 
Methods inherited from interface org.openmdx.base.cci2.ExtentCapable
getIdentity
 
Methods inherited from interface org.openmdx.compatibility.view1.cci2.ViewCapable
getView
 

Method Detail

getAction

Set<String> getAction()
Returns:
A set containing all elements for this attribute.

setAction

void setAction(String... action)

This method is equivalent to

   set.clear();
   set.addAll(Arrays.asList(action));
 

Parameters:
action - value(s) to be added to action

getDescription

String getDescription()
Returns:
The possibly null value for attribute description.

getName

String getName()
Retrieves the value for the attribute name.

Returns:
The non-null value for attribute name.

getPrivilege

Privilege getPrivilege()
Retrieves the value for the reference privilege.

Returns:
The non-null value for this reference.

setPrivilege

void setPrivilege(Privilege privilege)
Sets a new value for the reference privilege.

Parameters:
privilege - The non-null new value for this reference.

getRealm

Role getRealm()
Retrieves the value for the reference realm.

Returns:
The non-null value for this reference.

setRealm

void setRealm(Role realm)
Sets a new value for the reference realm.

Parameters:
realm - The non-null new value for this reference.

setRealm

void setRealm(Role realm,
              boolean idIsPersistent,
              String id)
Set the object's composite association org:openmdx:security:realm1:PermissionIsGrantedToRole.

Parameters:
realm - The non-null new value for this object's composite owner.
idIsPersistent - Defines whether the id is persistent.
id - The non-null new value for this object's qualifier.


This software is published under the BSD license. Copyright © 2003-2007, OMEX AG, Switzerland, All rights reserved. Use is subject to license terms.