| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.kim.impl.jaxb.RolePermissionXmlDTO
public abstract class RolePermissionXmlDTO
Base class representing an unmarshalled <rolePermission> element. Refer to the static inner classes for more information about the specific contexts.
| Nested Class Summary | |
|---|---|
| static class | RolePermissionXmlDTO.OutsideOfRoleThis class represents a <rolePermission> element that is not a descendant of a <role> element. | 
| static class | RolePermissionXmlDTO.WithinRoleThis class represents a <rolePermission> element that is a descendant of a <role> element. | 
| Constructor Summary | |
|---|---|
| RolePermissionXmlDTO()Constructs an empty RolePermissionXmlDTO instance. | |
| RolePermissionXmlDTO(PermissionContract permission,
                                         boolean populateIds)Constructs a RolePermissionXmlDTO that gets populated from the given KIM permission. | |
| Method Summary | |
|---|---|
|  String | getPermissionId() | 
|  String | getPermissionName()Retrieves the permission name from the permission-name-and-namespace combo. | 
|  NameAndNamespacePair | getPermissionNameAndNamespace() | 
|  String | getPermissionNamespaceCode()Retrieves the permission namespace code from the permission-name-and-namespace combo. | 
| abstract  String | getRoleId()Retrieves the ID of the role that the permission is assigned to. | 
|  void | setPermissionId(String permissionId) | 
|  void | setPermissionNameAndNamespace(NameAndNamespacePair permissionNameAndNamespace) | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public RolePermissionXmlDTO()
public RolePermissionXmlDTO(PermissionContract permission,
                            boolean populateIds)
permission - The permission that this DTO should obtain its data from.populateIds - If true, the permission ID will get populated; otherwise, it will remain null.| Method Detail | 
|---|
public String getPermissionId()
public void setPermissionId(String permissionId)
permissionId - the permissionId to setpublic NameAndNamespacePair getPermissionNameAndNamespace()
public void setPermissionNameAndNamespace(NameAndNamespacePair permissionNameAndNamespace)
permissionNameAndNamespace - the permissionNameAndNamespace to setpublic String getPermissionName()
public String getPermissionNamespaceCode()
public abstract String getRoleId()
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||