|
||||||||||
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.krms.impl.ui.AgendaEditorMaintainable
public class AgendaEditorMaintainable
Maintainable
for the AgendaEditor
Field Summary | |
---|---|
static String |
NEW_AGENDA_EDITOR_DOCUMENT_TEXT
|
Constructor Summary | |
---|---|
AgendaEditorMaintainable()
|
Method Summary | |
---|---|
BusinessObjectService |
getBoService()
|
Class |
getDataObjectClass()
Returns the class for the data object being maintained |
PersistableBusinessObject |
getPersistableBusinessObject()
Returns the data object if its persistable, null otherwise |
boolean |
isLockable()
Persistable business objects are lockable |
boolean |
isOldDataObjectInDocument()
Checks whether the data object is not null and has its primary key values populated |
void |
prepareForSave()
Hook for performing any custom processing before the maintenance object is saved |
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 |
protected void |
processBeforeAddLine(View view,
CollectionGroup collectionGroup,
Object model,
Object addLine)
Hook for service overrides to process the new collection line before it is added to the collection |
List<RemotableAttributeField> |
retrieveAgendaCustomAttributes(View view,
Object model,
Container container)
|
Object |
retrieveObjectForEditOrCopy(MaintenanceDocument document,
Map<String,String> dataObjectKeys)
Called during setupMaintenanceObject to retrieve the original dataObject that is being edited or copied. |
List<RemotableAttributeField> |
retrieveRuleActionCustomAttributes(View view,
Object model,
Container container)
|
List<RemotableAttributeField> |
retrieveRuleCustomAttributes(View view,
Object model,
Container container)
This only supports a single action within a rule. |
List<RemotableAttributeField> |
retrieveTermParameters(View view,
Object model,
Container container)
Retrieve a list of RemotableAttributeField s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit. |
void |
saveDataObject()
Invoked to persist changes to the data object being maintained |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NEW_AGENDA_EDITOR_DOCUMENT_TEXT
Constructor Detail |
---|
public AgendaEditorMaintainable()
Method Detail |
---|
public BusinessObjectService getBoService()
public List<RemotableAttributeField> retrieveAgendaCustomAttributes(View view, Object model, Container container)
public List<RemotableAttributeField> retrieveTermParameters(View view, Object model, Container container)
RemotableAttributeField
s for the parameters (if any) required by the resolver for
the selected term in the proposition that is under edit.
public List<RemotableAttributeField> retrieveRuleActionCustomAttributes(View view, Object model, Container container)
public List<RemotableAttributeField> retrieveRuleCustomAttributes(View view, Object model, Container container)
public Object retrieveObjectForEditOrCopy(MaintenanceDocument document, Map<String,String> dataObjectKeys)
Maintainable
retrieveObjectForEditOrCopy
in interface Maintainable
retrieveObjectForEditOrCopy
in class MaintainableImpl
document
- 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 Maintainable
processAfterNew
in class MaintainableImpl
document
- - 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)
Maintainable
processAfterEdit
in interface Maintainable
processAfterEdit
in class MaintainableImpl
document
- - 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 prepareForSave()
Maintainable
prepareForSave
in interface Maintainable
prepareForSave
in class MaintainableImpl
Maintainable.prepareForSave()
public void saveDataObject()
Maintainable
Called after the maintenance document has become final indicating the changes should be applied
saveDataObject
in interface Maintainable
saveDataObject
in class MaintainableImpl
Maintainable.saveDataObject()
public boolean isOldDataObjectInDocument()
MaintainableImpl
isOldDataObjectInDocument
in interface Maintainable
isOldDataObjectInDocument
in class MaintainableImpl
MaintainableImpl.isOldDataObjectInDocument()
public Class getDataObjectClass()
Maintainable
getDataObjectClass
in interface Maintainable
getDataObjectClass
in class MaintainableImpl
Maintainable.getDataObjectClass()
public boolean isLockable()
MaintainableImpl
isLockable
in interface Maintainable
isLockable
in class MaintainableImpl
Maintainable.isLockable()
public PersistableBusinessObject getPersistableBusinessObject()
MaintainableImpl
getPersistableBusinessObject
in interface Maintainable
getPersistableBusinessObject
in class MaintainableImpl
Maintainable.getPersistableBusinessObject()
protected void processBeforeAddLine(View view, CollectionGroup collectionGroup, Object model, Object addLine)
ViewHelperServiceImpl
processBeforeAddLine
in class ViewHelperServiceImpl
view
- - view instance that is being presented (the action was taken
on)collectionGroup
- - collection group component for the collection the line will
be added tomodel
- - object instance that contain's the views dataaddLine
- - the new line instance to be processed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |