Package org.kuali.rice.kim.impl.jaxb
Class PermissionsXmlDTO
- java.lang.Object
-
- 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
Constructors Constructor Description PermissionsXmlDTO()PermissionsXmlDTO(List<? extends Object> permissionsToExport)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<PermissionXmlDTO>getPermissions()PermissionXmlDTOgettingNextItem(Object nextItem, int index)A listener method that converts the given item into the one expected by the list.voidnewItemAdded(PermissionXmlDTO item)This method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.voidsetPermissions(List<PermissionXmlDTO> permissions)
-
-
-
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:RiceXmlListAdditionListenerThis method is invoked whenever the associated RiceXmlStreamingList instance receives a newly-unmarshalled child element.- Specified by:
newItemAddedin interfaceRiceXmlListAdditionListener<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:RiceXmlListGetterListenerA 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:
gettingNextItemin interfaceRiceXmlListGetterListener<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.
-
-