com.retek.component.security
Interface Role

All Superinterfaces:
BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject

public interface Role
extends DistributedObject, com.retek.swing11.commons.type.Displayable


Field Summary
static java.lang.String DESCRIPTION
           
 
Method Summary
 void addRole(Role role)
           
 void addRolePermission(RetekPermission permission)
           
 void delete()
           
 java.util.Set getAllPermissions()
           
 java.lang.String getDescription()
           
 java.util.Set getInheritedByRoles()
           
 java.util.Set getInheritedPermissions()
           
 java.util.Set getInheritedRoles()
           
 java.util.Set getRolePermissions()
           
 boolean hasPermission(RetekPermission permission)
           
 boolean inherits(Role role)
           
 boolean isInheritedBy(Role role)
           
 void removeRole(Role role)
           
 void removeRolePermission(RetekPermission permission)
           
 void removeRolePermissions(Application application)
           
 void setDescription(java.lang.String displayName)
           
 void submit()
           
 
Methods inherited from interface com.retek.commons.component.DistributedObject
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh
 
Methods inherited from interface com.retek.commons.component.BusinessObject
getBusinessInterface
 
Methods inherited from interface com.retek.swing11.commons.type.Displayable
toDisplayString
 

Field Detail

DESCRIPTION

public static final java.lang.String DESCRIPTION
See Also:
Constant Field Values
Method Detail

getRolePermissions

public java.util.Set getRolePermissions()
                                 throws SystemException
Throws:
SystemException

getInheritedPermissions

public java.util.Set getInheritedPermissions()
                                      throws SystemException
Throws:
SystemException

getAllPermissions

public java.util.Set getAllPermissions()
                                throws SystemException
Throws:
SystemException

getInheritedRoles

public java.util.Set getInheritedRoles()
                                throws SystemException
Throws:
SystemException

getInheritedByRoles

public java.util.Set getInheritedByRoles()
                                  throws SystemException
Throws:
SystemException

getDescription

public java.lang.String getDescription()
                                throws SystemException
Throws:
SystemException

setDescription

public void setDescription(java.lang.String displayName)
                    throws SystemException
Throws:
SystemException

addRolePermission

public void addRolePermission(RetekPermission permission)
                       throws SystemException
Throws:
SystemException

removeRolePermission

public void removeRolePermission(RetekPermission permission)
                          throws SystemException
Throws:
SystemException

removeRolePermissions

public void removeRolePermissions(Application application)
                           throws SystemException
Throws:
SystemException

addRole

public void addRole(Role role)
             throws SystemException,
                    RetekSecurityException,
                    CycleDetectedException
Throws:
SystemException
RetekSecurityException
CycleDetectedException

removeRole

public void removeRole(Role role)
                throws SystemException
Throws:
SystemException

hasPermission

public boolean hasPermission(RetekPermission permission)
                      throws SystemException
Throws:
SystemException

isInheritedBy

public boolean isInheritedBy(Role role)
                      throws SystemException
Throws:
SystemException

inherits

public boolean inherits(Role role)
                 throws SystemException
Throws:
SystemException

delete

public void delete()
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException

submit

public void submit()
            throws SystemException,
                   BusinessException
Throws:
SystemException
BusinessException


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25