com.retek.component.security.impl
Class RoleImpl
java.lang.Object
com.retek.commons.component.impl.BusinessObjectImpl
com.retek.commons.component.impl.DistributedObjectImpl
com.retek.component.security.impl.RoleImpl
- All Implemented Interfaces:
- BusinessObject, com.retek.swing11.commons.type.Displayable, DistributedObject, Role
- public class RoleImpl
- extends DistributedObjectImpl
- implements Role
Fields inherited from interface com.retek.component.security.Role |
DESCRIPTION |
Methods inherited from class com.retek.commons.component.impl.DistributedObjectImpl |
attributesToString, createEmptyDto, debugToString, discardChanges, discardChangesShallow, equals, getGenericDto, getId, getReference, getReference, getVersion, hashCode, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isHollow, isPersisted, markAllDeleted, refresh, toString, wrap, wrap, wrap, wrap |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.retek.commons.component.DistributedObject |
debugToString, discardChanges, getContext, getId, getReference, isDeleted, isDirty, isDirtyDeep, isDirtyIgnoreFields, isPersisted, refresh |
RoleImpl
public RoleImpl(DistributedContext context,
DistributedReference reference,
boolean createHollow)
throws SystemException
RoleImpl
public RoleImpl(DistributedContext context,
DistributedReference reference,
java.lang.String displayName,
java.util.Set permissions,
java.util.Set includedRoles)
throws SystemException
getDto
public RoleDto getDto()
throws SystemException
- Throws:
SystemException
getDescription
public java.lang.String getDescription()
throws SystemException
- Specified by:
getDescription
in interface Role
- Throws:
SystemException
getRolePermissions
public java.util.Set getRolePermissions()
throws SystemException
- Specified by:
getRolePermissions
in interface Role
- Throws:
SystemException
getInheritedRoles
public java.util.Set getInheritedRoles()
throws SystemException
- Specified by:
getInheritedRoles
in interface Role
- Throws:
SystemException
getInheritedByRoles
public java.util.Set getInheritedByRoles()
throws SystemException
- Specified by:
getInheritedByRoles
in interface Role
- Throws:
SystemException
setDescription
public void setDescription(java.lang.String displayName)
throws SystemException
- Specified by:
setDescription
in interface Role
- Throws:
SystemException
addRolePermission
public void addRolePermission(RetekPermission permission)
throws SystemException
- Specified by:
addRolePermission
in interface Role
- Throws:
SystemException
addRole
public void addRole(Role role)
throws SystemException,
RetekSecurityException
- Specified by:
addRole
in interface Role
- Throws:
SystemException
RetekSecurityException
isInheritedBy
public boolean isInheritedBy(Role role)
throws SystemException
- Specified by:
isInheritedBy
in interface Role
- Throws:
SystemException
inherits
public boolean inherits(Role role)
throws SystemException
- Specified by:
inherits
in interface Role
- Throws:
SystemException
submit
public void submit()
throws SystemException,
BusinessException
- Specified by:
submit
in interface Role
- Throws:
SystemException
BusinessException
readLatest
protected Dto readLatest()
throws SystemException
- Overrides:
readLatest
in class DistributedObjectImpl
- Throws:
SystemException
removeRolePermission
public void removeRolePermission(RetekPermission permission)
throws SystemException
- Specified by:
removeRolePermission
in interface Role
- Throws:
SystemException
removeRole
public void removeRole(Role role)
throws SystemException
- Specified by:
removeRole
in interface Role
- Throws:
SystemException
getInheritedPermissions
public java.util.Set getInheritedPermissions()
throws SystemException
- Specified by:
getInheritedPermissions
in interface Role
- Throws:
SystemException
getAllPermissions
public java.util.Set getAllPermissions()
throws SystemException
- Specified by:
getAllPermissions
in interface Role
- Throws:
SystemException
hasPermission
public boolean hasPermission(RetekPermission permission)
throws SystemException
- Specified by:
hasPermission
in interface Role
- Throws:
SystemException
removeRolePermissions
public void removeRolePermissions(Application application)
throws SystemException
- Specified by:
removeRolePermissions
in interface Role
- Throws:
SystemException
delete
public void delete()
throws SystemException,
BusinessException
- Specified by:
delete
in interface Role
- Throws:
SystemException
BusinessException
toDisplayString
public java.lang.String toDisplayString()
- Specified by:
toDisplayString
in interface com.retek.swing11.commons.type.Displayable
Copyright © 2004 Retek Inc. All Rights Reserved.
- Generated at Fri, 10/22/2004 07:28