public class PeopleFlowMaintainableImpl extends MaintainableImpl
Constructor and Description |
---|
PeopleFlowMaintainableImpl() |
Modifier and Type | Method and Description |
---|---|
protected int |
addLine(Collection<Object> collection,
Object addLine,
boolean insertFirst)
sort
PeopleFlowMemberBo s by stop number (priority), and clean
out the actionRequestPolicyCode for non-ROLE members. |
void |
prepareForSave()
Set the attribute bo list from the map of attribute key/value pairs.
|
void |
processAfterAddLine(ViewModel model,
Object addLine,
String collectionId,
String collectionPath,
boolean isValidLine)
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.
|
void |
processAfterDeleteLine(ViewModel model,
String collectionId,
String collectionPath,
int lineIndex)
In the case of edit maintenance deleted the item on the old side.
|
void |
processAfterRetrieve()
Set the map of attribute key/value pairs list from the attribute bo list and update the members.
|
void |
processCollectionDeleteLine(ViewModel model,
String collectionId,
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()
Calls
PeopleFlowService to save the people flow instance |
deleteDataObject, doRouteStatusChange, generateMaintenanceLocks, generateMaintenanceLocks, getCustomLockDescriptor, getDataObject, getDataObjectAuthorizationService, getDataObjectClass, getDataObjectService, getDocumentDictionaryService, getDocumentNumber, getDocumentTitle, getDocumentTypeName, getEncryptionService, getKualiRuleService, getLegacyDataAdapter, getLockingDocumentId, getMaintenanceAction, getMaintenanceDocumentService, getPersistableBusinessObject, getWorkflowEngineDocumentIdsToLock, isExternalBusinessObject, isLockable, isNotesEnabled, isOldDataObjectInDocument, performAddLineValidation, performCustomApplyModel, performCustomFinalize, performCustomViewFinalize, prepareExternalBusinessObject, processAfterCopy, processAfterEdit, processAfterNew, processAfterPost, retrieveObjectForEditOrCopy, setDataObject, setDataObjectAuthorizationService, setDataObjectClass, setDocumentDictionaryService, setDocumentNumber, setEncryptionService, setKualiRuleService, setLegacyDataAdapter, setMaintenanceAction, setMaintenanceDocumentService, setupNewFromExisting, useCustomLockDescriptors
addCustomContainerComponents, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, containsDuplicateLine, extractNewValuesAndAssign, extractSingleValue, filterByReturnedFieldConversions, getConfigurationService, getDataDictionaryService, getDefaultValueForField, getExpressionEvaluatorFactory, getViewDictionaryService, isDuplicateLine, linkAddedLine, logAndThrowRuntime, performCustomInitialization, performCustomViewInitialization, performDeleteLineValidation, populateDefaultValueForField, populateViewFromRequestParameters, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setConfigurationService, setDataDictionaryService, setDataObjectService, setElementContext, setExpressionEvaluatorFactory, setViewContext, setViewDictionaryService
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addCustomContainerComponents, applyDefaultValues, applyDefaultValuesForCollectionLine, buildGrowlScript, buildInquiryLink, getDefaultValueForField, getExpressionEvaluatorFactory, performCustomInitialization, performCustomViewInitialization, populateDefaultValueForField, populateViewFromRequestParameters, processAfterEditLine, processAfterSaveLine, processAndAddLineObject, processBeforeAddLine, processBeforeEditLine, processBeforeSaveLine, processCollectionAddBlankLine, processCollectionAddLine, processCollectionCloseEditLineDialog, processCollectionEditLine, processCollectionRetrieveEditLineDialog, processCollectionSaveLine, processMultipleValueLookupResults, refreshReference, refreshReferences, retrieveEditModesAndActionFlags, setElementContext, setViewContext
public PeopleFlowMaintainableImpl()
protected int addLine(Collection<Object> collection, Object addLine, boolean insertFirst)
PeopleFlowMemberBo
s by stop number (priority), and clean
out the actionRequestPolicyCode for non-ROLE members.addLine
in class ViewHelperServiceImpl
collection
- - the Collection to add the given addLine toaddLine
- - the line to add to the given collectioninsertFirst
- - indicates if the item should be inserted as the first itempublic List<RemotableAttributeField> retrieveTypeAttributes(View view, Object model, Container container)
KewTypeRepositoryService
to retrieve the remotable
field definitions for the attributes associated with the selected typeview
- - view instancemodel
- - object containing the form data, from which the selected type will be pulledcontainer
- - container that holds the remotable fieldspublic void prepareForSave()
prepareForSave
in interface Maintainable
prepareForSave
in class MaintainableImpl
Maintainable.prepareForSave()
public void processAfterRetrieve()
processAfterRetrieve
in interface Maintainable
processAfterRetrieve
in class MaintainableImpl
Maintainable.processAfterRetrieve()
public void saveDataObject()
PeopleFlowService
to save the people flow instancesaveDataObject
in interface Maintainable
saveDataObject
in class MaintainableImpl
Maintainable.saveDataObject()
public void processAfterAddLine(ViewModel model, Object addLine, String collectionId, String collectionPath, boolean isValidLine)
processAfterAddLine
in interface ViewHelperService
processAfterAddLine
in class MaintainableImpl
model
- object instance that contain's the views dataaddLine
- the new line that was addedcollectionId
- the id of the collection being added tocollectionPath
- the path to the collection being modifiedisValidLine
- indicates if the line is validorg.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl#processAfterAddLine(org.kuali.rice.krad.uif.view.View,
org.kuali.rice.krad.uif.container.CollectionGroup, Object, Object, boolean)
public void processCollectionDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex)
processCollectionDeleteLine
in interface ViewHelperService
processCollectionDeleteLine
in class ViewHelperServiceImpl
model
- Top level object containing the view data including the collectioncollectionId
- the id of the collection being added tocollectionPath
- the path to the collection being modifiedlineIndex
- index of the collection line that was selected for removalorg.kuali.rice.krad.uif.service.ViewHelperService#processCollectionDeleteLine(org.kuali.rice.krad.uif.view.View,
java.lang.Object, java.lang.String, int)
public void processAfterDeleteLine(ViewModel model, String collectionId, String collectionPath, int lineIndex)
processAfterDeleteLine
in interface ViewHelperService
processAfterDeleteLine
in class MaintainableImpl
model
- object instance that contains the views datacollectionId
- the id of the collection being added tocollectionPath
- the path to the collection being modifiedlineIndex
- index of the line that was deletedorg.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl#processAfterDeleteLine(View,
org.kuali.rice.krad.uif.container.CollectionGroup, java.lang.Object, int)
Copyright © 2005–2014 The Kuali Foundation. All rights reserved.