| java.lang.Object org.kuali.core.maintenance.KualiMaintainableImpl
All known Subclasses: org.kuali.module.chart.maintenance.KualiDelegateMaintainableImpl, org.kuali.module.chart.maintenance.KualiAccountMaintainableImpl, org.kuali.module.purap.maintenance.PurchaseOrderQuoteLanguageMaintainableImpl, org.kuali.module.vendor.maintenance.VendorMaintainableImpl, org.kuali.module.cg.maintenance.AwardMaintainableImpl, org.kuali.module.purap.maintenance.PurchaseOrderContractLanguageMaintainableImpl, org.kuali.module.cg.maintenance.ProposalMaintainableImpl, org.kuali.module.pdp.document.maintenance.PayeeAchAccountMaintainable, org.kuali.module.chart.maintenance.KualiOrgMaintainable, org.kuali.core.maintenance.UniversalUserMaintainable, org.kuali.core.maintenance.KualiGlobalMaintainableImpl, org.kuali.module.chart.maintenance.OrganizationReversionMaintainableImpl,
KualiMaintainableImpl | public class KualiMaintainableImpl implements Maintainable,Serializable(Code) | | Base Maintainable class to hold things common to all maintainables.
|
Method Summary | |
public void | addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues) | public void | addNewLineToCollection(String collectionName) | protected Collection<String> | generateAllAffectedReferences(Class boClass, Map<String, String> fkToPkMappings, String nestedBOPrefix, String collectionPrefix) | public List<MaintenanceLock> | generateMaintenanceLocks() Note: as currently implemented, every key field for a given BusinessObject subclass must have a visible getter. | public Collection<String> | getAffectedReferencesFromLookup(BusinessObject baseBO, String attributeName, String collectionPrefix) | protected Collection<String> | getAllRefreshableReferences(Class boClass) | public Class | getBoClass() | public PersistableBusinessObject | getBusinessObject() | public List<Section> | getCoreSections(Maintainable oldMaintainable) Gets list of maintenance sections built from the data dictionary. | public String | getDocumentTitle(MaintenanceDocument document) This is a hook to allow the document to override the generic document title. | public List<String> | getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) This method is to retrieve a List of fields which are specified in the maintenance document
data dictionary as the duplicateIdentificationFields. | public Map<String, Boolean> | getInactiveRecordDisplay() | public String | getMaintainableTitle() | public String | getMaintenanceAction() | public List<String> | getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) | public PersistableBusinessObject | getNewCollectionLine(String collectionName) | public List | getSections(Maintainable oldMaintainable) Calls method to get all the core sections for the business object defined in the data dictionary. | public boolean | getShowInactiveRecords(String collectionName) | public void | handleRouteStatusChange(DocumentHeader documentHeader) | public boolean | hasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) | public PersistableBusinessObject | initNewCollectionLine(String collectionName) | public boolean | isBoNotesEnabled() | public boolean | isGenerateBlankRequiredValues() | public boolean | isGenerateDefaultValues() | protected boolean | isRelationshipRefreshable(Class boClass, String relationshipName) | public Map | populateBusinessObject(Map fieldValues) | public Map | populateNewCollectionLines(Map fieldValues) | protected Map | populateNewSubCollectionLines(MaintainableCollectionDefinition parentCollection, Map fieldValues) | public void | prepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, BusinessObject bo) | public void | prepareForSave() | public void | processAfterAddLine(String colName, Class colClass) | public void | processAfterCopy() | public void | processAfterEdit() | public void | processAfterRetrieve() | public void | refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document) | protected void | refreshReferences(String referencesToRefresh) | public void | saveBusinessObject() | public void | setBoClass(Class boClass) | public void | setBusinessObject(PersistableBusinessObject businessObject) | final public void | setDocumentNumber(String documentNumber) Sets the documentNumber attribute value. | public void | setGenerateBlankRequiredValues(boolean generateBlankRequiredValues) | public void | setGenerateDefaultValues(boolean generateDefaultValues) | public void | setMaintenanceAction(String maintenanceAction) | public void | setShowInactiveRecords(String collectionName, boolean showInactive) | public void | setupNewFromExisting() |
generateBlankRequiredValues | protected boolean generateBlankRequiredValues(Code) | | |
generateDefaultValues | protected boolean generateDefaultValues(Code) | | |
KualiMaintainableImpl | public KualiMaintainableImpl()(Code) | | Default empty constructor
|
KualiMaintainableImpl | public KualiMaintainableImpl(PersistableBusinessObject businessObject)(Code) | | Constructor which initializes the business object to be maintained.
Parameters: businessObject - |
addNewLineToCollection | public void addNewLineToCollection(String collectionName)(Code) | | |
generateMaintenanceLocks | public List<MaintenanceLock> generateMaintenanceLocks()(Code) | | Note: as currently implemented, every key field for a given BusinessObject subclass must have a visible getter.
String containing the business object class and key value pairs of the current instance that can be used as a uniquelocking representation. |
getBoClass | public Class getBoClass()(Code) | | Returns the boClass. |
getCoreSections | public List<Section> getCoreSections(Maintainable oldMaintainable)(Code) | | Gets list of maintenance sections built from the data dictionary. If the section contains maintenance fields, construct
Row/Field UI objects and place under Section UI. If section contains a maintenance collection, call method to build a Section
UI which contains rows of Container Fields.
List of org.kuali.ui.Section objects |
getDocumentTitle | public String getDocumentTitle(MaintenanceDocument document)(Code) | | This is a hook to allow the document to override the generic document title.
String document title |
getDuplicateIdentifierFieldsFromDataDictionary | public List<String> getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName)(Code) | | This method is to retrieve a List of fields which are specified in the maintenance document
data dictionary as the duplicateIdentificationFields. This List is used to determine whether
the new entry being added to the collection is a duplicate entry and if so, we should not
add the new entry to the existing collection
Parameters: docTypeName - Parameters: collectionName - |
getInactiveRecordDisplay | public Map<String, Boolean> getInactiveRecordDisplay()(Code) | | the inactiveRecordDisplay |
getMaintainableTitle | public String getMaintainableTitle()(Code) | | Retrieves title for maintenance document from data dictionary
|
getMaintenanceAction | public String getMaintenanceAction()(Code) | | Returns the maintenanceAction. |
getSections | public List getSections(Maintainable oldMaintainable)(Code) | | Calls method to get all the core sections for the business object defined in the data dictionary. Then determines if the bo
has custom attributes, if so builds a custom attribute section and adds to the section list.
List of org.kuali.ui.Section objects |
isBoNotesEnabled | public boolean isBoNotesEnabled()(Code) | | Retrieves the status of the boNotesEnabled
|
isGenerateBlankRequiredValues | public boolean isGenerateBlankRequiredValues()(Code) | | Returns the generateDefaultValues. |
isGenerateDefaultValues | public boolean isGenerateDefaultValues()(Code) | | Returns the generateDefaultValues. |
isRelationshipRefreshable | protected boolean isRelationshipRefreshable(Class boClass, String relationshipName)(Code) | | |
prepareBusinessObjectForAdditionFromMultipleValueLookup | public void prepareBusinessObjectForAdditionFromMultipleValueLookup(String collectionName, BusinessObject bo)(Code) | | |
processAfterAddLine | public void processAfterAddLine(String colName, Class colClass)(Code) | | |
refreshReferences | protected void refreshReferences(String referencesToRefresh)(Code) | | |
setBoClass | public void setBoClass(Class boClass)(Code) | | Parameters: boClass - The boClass to set. |
setBusinessObject | public void setBusinessObject(PersistableBusinessObject businessObject)(Code) | | Parameters: businessObject - Sets the instance of a business object that will be maintained. |
setDocumentNumber | final public void setDocumentNumber(String documentNumber)(Code) | | Sets the documentNumber attribute value.
Parameters: documentNumber - The documentNumber to set. |
setGenerateBlankRequiredValues | public void setGenerateBlankRequiredValues(boolean generateBlankRequiredValues)(Code) | | Parameters: generateDefaultValues - The generateDefaultValues to set. |
setGenerateDefaultValues | public void setGenerateDefaultValues(boolean generateDefaultValues)(Code) | | Parameters: generateDefaultValues - The generateDefaultValues to set. |
setMaintenanceAction | public void setMaintenanceAction(String maintenanceAction)(Code) | | Parameters: maintenanceAction - The maintenanceAction to set. |
setupNewFromExisting | public void setupNewFromExisting()(Code) | | |
|
|