|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.kuali.rice.krad.uif.service.impl.ViewHelperServiceImpl
org.kuali.rice.krad.maintenance.MaintainableImpl
org.kuali.rice.krms.impl.ui.TermSpecificationMaintainable
public class TermSpecificationMaintainable
Maintainable for the AgendaEditor
| Constructor Summary | |
|---|---|
TermSpecificationMaintainable()
|
|
| Method Summary | |
|---|---|
Class |
getDataObjectClass()
Returns the class for the data object being maintained |
void |
prepareForSave()
Overrides the parent method to additionaly clear the contexts list, which is needed for serialization performance & space. |
void |
processAfterAddLine(ViewModel viewModel,
Object addLine,
String collectionId,
String collectionPath,
boolean isValidLine)
For context addition, adds the item to the persisted contextValidTerms collection on the data object. |
void |
processAfterCopy(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a copy action |
void |
processAfterEdit(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a edit action |
void |
processAfterNew(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Hook for performing any custom processing after the maintenance object has been setup for a new action |
void |
processAfterRetrieve()
Recreate the contexts from the contextIDs (needed due to serialization) |
void |
processCollectionDeleteLine(ViewModel viewModel,
String collectionId,
String collectionPath,
int lineIndex)
For context removal, removes the given item from the persisted contextValidTerms collection on the data object. |
Object |
retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
Called during setupMaintenanceObject to retrieve the original dataObject that is being edited or copied. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TermSpecificationMaintainable()
| Method Detail |
|---|
public Object retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
Maintainable
retrieveObjectForEditOrCopy in interface MaintainableretrieveObjectForEditOrCopy in class MaintainableImpldocument - document instance for the maintenance objectdataObjectKeys - Map of keys for the requested object
Maintainable.retrieveObjectForEditOrCopy(MaintenanceDocument, java.util.Map)
public void processAfterNew(MaintenanceDocument document,
Map<String,String[]> requestParameters)
processAfterNew in interface MaintainableprocessAfterNew in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterNew(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map)
public void processAfterEdit(MaintenanceDocument document,
Map<String,String[]> requestParameters)
processAfterEdit in interface MaintainableprocessAfterEdit in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterEdit(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map)
public void processAfterCopy(MaintenanceDocument document,
Map<String,String[]> requestParameters)
Maintainable
processAfterCopy in interface MaintainableprocessAfterCopy in class MaintainableImpldocument - - maintenance document instance this maintainable belong torequestParameters - - map of request parameters sent for the copy requestMaintainable.processAfterCopy(org.kuali.rice.krad.maintenance.MaintenanceDocument, java.util.Map) public void prepareForSave()
prepareForSave in interface MaintainableprepareForSave in class MaintainableImplMaintainable.prepareForSave()
public void processAfterAddLine(ViewModel viewModel,
Object addLine,
String collectionId,
String collectionPath,
boolean isValidLine)
Without this step, the context is only added to a transient collection and the relationship will never be persisted.
processAfterAddLine in interface ViewHelperServiceprocessAfterAddLine in class MaintainableImplviewModel - 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 valid
public void processCollectionDeleteLine(ViewModel viewModel,
String collectionId,
String collectionPath,
int lineIndex)
Without this step, the context is only removed from a transient collection and the severed relationship will never be persisted.
processCollectionDeleteLine in interface ViewHelperServiceprocessCollectionDeleteLine in class ViewHelperServiceImplviewModel - 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 removalpublic Class getDataObjectClass()
Maintainable
getDataObjectClass in interface MaintainablegetDataObjectClass in class MaintainableImplMaintainable.getDataObjectClass()public void processAfterRetrieve()
processAfterRetrieve in interface MaintainableprocessAfterRetrieve in class MaintainableImplMaintainable.processAfterRetrieve()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||