|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.kim.impl.jaxb.PermissionXmlUtil
public final class PermissionXmlUtil
Helper class containing static methods for aiding in parsing parsing XML.
All non-private methods are package-private so that only the KIM-parsing-related code can make use of them. (TODO: Is that necessary?)
TODO: Should this be converted into a service instead?
Constructor Summary | |
---|---|
private |
PermissionXmlUtil()
|
Method Summary | |
---|---|
(package private) static void |
validateAndPersistNewPermission(PermissionXmlDTO newPermission)
Validates a new permission and then saves it. |
private static void |
validatePermission(PermissionXmlDTO newPermission)
Validates a permission to ensure that the required fields have been filled. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private PermissionXmlUtil()
Method Detail |
---|
static void validateAndPersistNewPermission(PermissionXmlDTO newPermission) throws UnmarshalException
newPermission
-
IllegalArgumentException
- if newPermission is null.
UnmarshalException
- if newPermission contains invalid data.private static void validatePermission(PermissionXmlDTO newPermission) throws UnmarshalException
UnmarshalException
- if newPermission contains invalid data.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |