org.kuali.rice.kim.impl.jaxb
Class PermissionsXmlDTO

java.lang.Object
  extended by org.kuali.rice.kim.impl.jaxb.PermissionsXmlDTO
All Implemented Interfaces:
Serializable, RiceXmlListAdditionListener<PermissionXmlDTO>, RiceXmlListGetterListener<PermissionXmlDTO,Object>

public class PermissionsXmlDTO
extends Object
implements RiceXmlListAdditionListener<PermissionXmlDTO>, RiceXmlListGetterListener<PermissionXmlDTO,Object>, Serializable

This class represents a <permissions> element.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
private  List<PermissionXmlDTO> permissions
           
private static long serialVersionUID
           
 
Constructor Summary
PermissionsXmlDTO()
           
PermissionsXmlDTO(List<? extends Object> permissionsToExport)
           
 
Method Summary
(package private)  void afterMarshal(Marshaller marshaller)
           
(package private)  void afterUnmarshal(Unmarshaller unmarshaller, Object parent)
           
(package private)  void beforeUnmarshal(Unmarshaller unmarshaller, Object parent)
           
 List<PermissionXmlDTO> getPermissions()
           
 PermissionXmlDTO gettingNextItem(Object nextItem, int index)
          A listener method that converts the given item into the one expected by the list.
 void newItemAdded(PermissionXmlDTO item)
          This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.
 void setPermissions(List<PermissionXmlDTO> permissions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

permissions

private List<PermissionXmlDTO> permissions
Constructor Detail

PermissionsXmlDTO

public PermissionsXmlDTO()

PermissionsXmlDTO

public PermissionsXmlDTO(List<? extends Object> permissionsToExport)
Method Detail

getPermissions

public List<PermissionXmlDTO> getPermissions()
Returns:
the permissions

setPermissions

public void setPermissions(List<PermissionXmlDTO> permissions)
Parameters:
permissions - the permissions to set

beforeUnmarshal

void beforeUnmarshal(Unmarshaller unmarshaller,
                     Object parent)

afterUnmarshal

void afterUnmarshal(Unmarshaller unmarshaller,
                    Object parent)

newItemAdded

public void newItemAdded(PermissionXmlDTO item)
Description copied from interface: RiceXmlListAdditionListener
This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.

Specified by:
newItemAdded in interface RiceXmlListAdditionListener<PermissionXmlDTO>
Parameters:
item - The unmarshalled element (or adapter-generated object) to be processed.

afterMarshal

void afterMarshal(Marshaller marshaller)

gettingNextItem

public PermissionXmlDTO gettingNextItem(Object nextItem,
                                        int index)
Description copied from interface: RiceXmlListGetterListener
A listener method that converts the given item into the one expected by the list. It is invoked whenever the associated list's "get" method is called.

Specified by:
gettingNextItem in interface RiceXmlListGetterListener<PermissionXmlDTO,Object>
Parameters:
nextItem - The item to convert.
index - The index being accessed on the RiceXmlExportList instance.
Returns:
The converted element that the list is expected to return.


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.