Package org.kuali.rice.kim.impl.jaxb
Class RolePermissionXmlDTO.OutsideOfRole
- java.lang.Object
-
- org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
-
- org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO.OutsideOfRole
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- RolePermissionXmlDTO
public static class RolePermissionXmlDTO.OutsideOfRole extends RolePermissionXmlDTO
This class represents a <rolePermission> element that is not a descendant of a <role> element.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
RolePermissionXmlDTO.OutsideOfRole, RolePermissionXmlDTO.WithinRole
-
-
Constructor Summary
Constructors Constructor Description OutsideOfRole()OutsideOfRole(org.kuali.rice.kim.api.permission.PermissionContract permission, String roleId, boolean populateIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetRoleId()Retrieves the ID of the role that the permission is assigned to.StringgetRoleName()Retrieves the role name from the role-name-and-namespace combo.NameAndNamespacePairgetRoleNameAndNamespace()StringgetRoleNamespaceCode()Retrieves the role namespace code from the role-name-and-namespace combo.voidsetRoleId(String roleId)voidsetRoleNameAndNamespace(NameAndNamespacePair roleNameAndNamespace)-
Methods inherited from class org.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
getPermissionId, getPermissionName, getPermissionNameAndNamespace, getPermissionNamespaceCode, setPermissionId, setPermissionNameAndNamespace
-
-
-
-
Constructor Detail
-
OutsideOfRole
public OutsideOfRole()
-
OutsideOfRole
public OutsideOfRole(org.kuali.rice.kim.api.permission.PermissionContract permission, String roleId, boolean populateIds)
-
-
Method Detail
-
getRoleId
public String getRoleId()
Description copied from class:RolePermissionXmlDTORetrieves the ID of the role that the permission is assigned to. Subclasses are responsible for implementing this method so that it does so.- Specified by:
getRoleIdin classRolePermissionXmlDTO- Returns:
- The role ID of the role that the permission is assigned to.
- See Also:
RolePermissionXmlDTO.getRoleId()
-
setRoleId
public void setRoleId(String roleId)
- Parameters:
roleId- the roleId to set
-
getRoleNameAndNamespace
public NameAndNamespacePair getRoleNameAndNamespace()
- Returns:
- the roleNameAndNamespace
-
setRoleNameAndNamespace
public void setRoleNameAndNamespace(NameAndNamespacePair roleNameAndNamespace)
- Parameters:
roleNameAndNamespace- the roleNameAndNamespace to set
-
getRoleName
public String getRoleName()
Retrieves the role name from the role-name-and-namespace combo.- Returns:
- The name of the role that is assigned to the permission, or null if the role-name-and-namespace combo is null.
-
getRoleNamespaceCode
public String getRoleNamespaceCode()
Retrieves the role namespace code from the role-name-and-namespace combo.- Returns:
- The namespace code of the role that is assigned to the permission, or null if the role-name-and-namespace combo is null.
-
-