|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl org.kuali.rice.krad.maintenance.MaintainableImpl org.kuali.rice.kew.impl.peopleflow.PeopleFlowMaintainableImpl
public class PeopleFlowMaintainableImpl
Custom view helper for the people flow maintenance document to retrieve the type attribute remotable fields
Constructor Summary | |
---|---|
PeopleFlowMaintainableImpl()
|
Method Summary | |
---|---|
protected void |
addLine(Collection<Object> collection,
Object addLine)
sort PeopleFlowMemberBo s by stop number (priority) |
protected void |
processAfterAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine,
String collectionPath)
In the case of edit maintenance adds a new blank line to the old side This method is intended to override the method in MaintainableImpl but has a different set of parameters, so it is not actually an override. |
protected void |
processAfterDeleteLine(View view,
String collectionPath,
Object model,
int lineIndex)
In the case of edit maintenance deleted the item on the old side. |
void |
processCollectionDeleteLine(View view,
Object model,
String collectionPath,
int lineIndex)
This method is an override of ViewHelperService.processCollectionDeleteLine(). |
List<RemotableAttributeField> |
retrieveTypeAttributes(View view,
Object model,
Container container)
Invokes the KewTypeRepositoryService to retrieve the remotable
field definitions for the attributes associated with the selected type |
void |
saveDataObject()
Set the attribute bo list from the map of attribute key/value pairs and then calls PeopleFlowService to save the people flow instance |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.kuali.rice.krad.uif.service.ViewHelperService |
---|
applyDefaultValuesForCollectionLine, buildInquiryLink, cleanViewAfterRender, performApplyModel, performComponentInitialization, performComponentLifecycle, performFinalize, performInitialization, populateViewFromRequestParameters, processCollectionAddLine, processMultipleValueLookupResults |
Constructor Detail |
---|
public PeopleFlowMaintainableImpl()
Method Detail |
---|
protected void addLine(Collection<Object> collection, Object addLine)
PeopleFlowMemberBo
s by stop number (priority)
addLine
in class ViewHelperServiceImpl
collection
- - the Collection to add the given addLine toaddLine
- - the line to add to the given collectionpublic List<RemotableAttributeField> retrieveTypeAttributes(View view, Object model, Container container)
KewTypeRepositoryService
to retrieve the remotable
field definitions for the attributes associated with the selected type
view
- - view instancemodel
- - object containing the form data, from which the selected type will be pulledcontainer
- - container that holds the remotable fields
public void saveDataObject()
PeopleFlowService
to save the people flow instance
saveDataObject
in interface Maintainable
saveDataObject
in class MaintainableImpl
Maintainable.saveDataObject()
protected void processAfterAddLine(View view, CollectionGroup collectionGroup, Object model, Object addLine, String collectionPath)
ViewHelperServiceImpl.processAfterAddLine(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.uif.container.CollectionGroup, java.lang.Object,
java.lang.Object)
public void processCollectionDeleteLine(View view, Object model, String collectionPath, int lineIndex)
processCollectionDeleteLine
in interface ViewHelperService
processCollectionDeleteLine
in class ViewHelperServiceImpl
view
- - view instance that is being presented (the action was taken
on)model
- - Top level object containing the view data including the
collectioncollectionPath
- - full path to the collection on the modellineIndex
- - index of the collection line that was selected for removalViewHelperService.processCollectionDeleteLine(org.kuali.rice.krad.uif.view.View,
java.lang.Object, java.lang.String, int)
protected void processAfterDeleteLine(View view, String collectionPath, Object model, int lineIndex)
ViewHelperServiceImpl.processAfterDeleteLine(View,
org.kuali.rice.krad.uif.container.CollectionGroup, java.lang.Object, int)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |