public class PermissionsXmlDTO extends Object implements RiceXmlListAdditionListener<PermissionXmlDTO>, RiceXmlListGetterListener<PermissionXmlDTO,Object>, Serializable
Constructor and Description |
---|
PermissionsXmlDTO() |
PermissionsXmlDTO(List<? extends Object> permissionsToExport) |
Modifier and Type | Method and Description |
---|---|
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) |
public PermissionsXmlDTO()
public PermissionsXmlDTO(List<? extends Object> permissionsToExport)
public List<PermissionXmlDTO> getPermissions()
public void setPermissions(List<PermissionXmlDTO> permissions)
permissions
- the permissions to setpublic void newItemAdded(PermissionXmlDTO item)
RiceXmlListAdditionListener
newItemAdded
in interface RiceXmlListAdditionListener<PermissionXmlDTO>
item
- The unmarshalled element (or adapter-generated object) to be processed.public PermissionXmlDTO gettingNextItem(Object nextItem, int index)
RiceXmlListGetterListener
gettingNextItem
in interface RiceXmlListGetterListener<PermissionXmlDTO,Object>
nextItem
- The item to convert.index
- The index being accessed on the RiceXmlExportList instance.Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.