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

Constructor Summary
PermissionsXmlDTO()
           
PermissionsXmlDTO(List<? extends Object> permissionsToExport)
           
 
Method Summary
 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
 

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

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.

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 © 2005-2012 The Kuali Foundation. All Rights Reserved.