com.centrasite.control.registry.items
Class CentraSiteRoleItem
java.lang.Object
com.centrasite.control.AbstractItem
com.centrasite.control.registry.items.CentraSiteRoleItem
- All Implemented Interfaces:
- Item
public class CentraSiteRoleItem
- extends AbstractItem
Methods inherited from class com.centrasite.control.AbstractItem |
addBulkCommand, addCommand, addDetailViewTab, cannotHaveChildren, clearCache, clearProperties, getAccessControlElements, getBulkCommands, getCommand, getCommand, getCommands, getConnector, getCurrentUserPermissionItem, getDefaultCommand, getDetailsCommand, getDetailViewTabs, getItem, getLanguage, getLocale, getNameEx, getNonPermissionAccessControlElements, getPath, getPersistanceLocale, getPrivilegeDescriptor, getProperties, getRelatedItems, getReport, getReportForDetailView, hasRequiredAttribute, isLocked, isModified, isReadOnly, isStandalone, isSubTabModified, removeCommand, replaceCommand, setAccessControlElements, setCommandEnabled, setConnector, setDefaultCommand, setDetailsCommand, setLocked, setProperties, setRelatedItems, setRequiredAttribute, setTabModified, showDetailView, showReport, toString |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CentraSiteRoleItem
public CentraSiteRoleItem(Connector connector)
CentraSiteRoleItem
public CentraSiteRoleItem(com.centrasite.resourceaccess.resources.CentraSiteRole role,
Connector connector)
getRole
public com.centrasite.resourceaccess.resources.CentraSiteRole getRole()
setRole
public void setRole(com.centrasite.resourceaccess.resources.CentraSiteRole role)
getPermissions
public java.util.Collection<com.centrasite.resourceaccess.resources.CentraSitePermission> getPermissions()
setPermissions
public void setPermissions(java.util.Collection<com.centrasite.resourceaccess.resources.CentraSitePermission> permissions)
canManageRoles
public boolean canManageRoles()
save
public void save(ActionContext actionContext)
throws java.lang.Exception
- Description copied from class:
AbstractItem
- Save Item
- Specified by:
save
in interface Item
- Overrides:
save
in class AbstractItem
- Throws:
java.lang.Exception
getChildren
public java.util.Iterator getChildren()
throws java.lang.Exception
- Throws:
java.lang.Exception
getChildren
public java.util.Iterator getChildren(boolean refresh)
throws java.lang.Exception
- Throws:
java.lang.Exception
getDescription
public java.lang.String getDescription()
throws java.lang.Exception
- Throws:
java.lang.Exception
getImageURL
public java.lang.String getImageURL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getKey
public java.lang.String getKey()
throws java.lang.Exception
- Description copied from class:
AbstractItem
- Obtain a unique key for class of icons
- Specified by:
getKey
in interface Item
- Overrides:
getKey
in class AbstractItem
- Returns:
- the key or null, if none available
- Throws:
java.lang.Exception
getName
public java.lang.String getName()
throws java.lang.Exception
- Throws:
java.lang.Exception
hasNoChildren
public boolean hasNoChildren()
throws java.lang.Exception
- Throws:
java.lang.Exception