| org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase org.kuali.module.chart.rules.ObjectCodeRule
Method Summary | |
public boolean | consolidationTableDoesNotHave(String chartCode, String objectCode) | protected boolean | denied(List set, Object value) | protected boolean | isLegalBudgetAggregationCode(String budgetAggregationCode) | protected boolean | isLegalObjectCode(String objectCode) | public boolean | isValidYear(Integer year) | public boolean | nextYearObjectCodeDoesNotExistThisYear(Integer year, String chartCode, String objCode) | public boolean | objectLevelTableDoesNotHave(String chartCode, String objectCode) | protected boolean | permitted(Set set, Object value) This method is a null-safe wrapper around Set.contains(). | protected boolean | processCustomRouteDocumentBusinessRules(MaintenanceDocument document) | protected boolean | processCustomSaveDocumentBusinessRules(MaintenanceDocument document) | protected boolean | verifyObjectCode(Integer year, String chart, String objectCode) | protected boolean | verifyReportsToChartCode(Integer year, String chart, String objectCode, String reportsToChartCode, String reportsToObjectCode) |
ObjectCodeRule | public ObjectCodeRule()(Code) | | Constructs a ObjectCodeRule
Pseudo-injects some services as well as fills out the reports to chart hierarchy
|
consolidationTableDoesNotHave | public boolean consolidationTableDoesNotHave(String chartCode, String objectCode)(Code) | | This Check whether newly added object code already exists in Consolidation table
Parameters: chartCode - Parameters: objectCode - false if this object code already exists in the object consolidation table |
denied | protected boolean denied(List set, Object value)(Code) | | This method is a null-safe wrapper around Set.contains()
Parameters: set - Parameters: value - true if this value is not contained in the Set or Set is null |
isLegalBudgetAggregationCode | protected boolean isLegalBudgetAggregationCode(String budgetAggregationCode)(Code) | | Budget Aggregation Code (fobj_bdgt_aggr_cd) must have an institutionally specified value
Parameters: budgetAggregationCode - true if this is a legal budget aggregation code |
isLegalObjectCode | protected boolean isLegalObjectCode(String objectCode)(Code) | | Object code (fin_obj_code) must not have an institutionally specified illegal value
|
isValidYear | public boolean isValidYear(Integer year)(Code) | | This checks to make sure the fiscal year they are trying to assign is valid
Parameters: year - true if this is a valid year |
nextYearObjectCodeDoesNotExistThisYear | public boolean nextYearObjectCodeDoesNotExistThisYear(Integer year, String chartCode, String objCode)(Code) | | This checks to see if the next year object code already exists in the next fiscal year
Parameters: year - Parameters: chartCode - Parameters: objCode - false if this object code exists in the next fiscal year |
objectLevelTableDoesNotHave | public boolean objectLevelTableDoesNotHave(String chartCode, String objectCode)(Code) | | This method checks whether newly added object code already exists in Object Level table
Parameters: chartCode - Parameters: objectCode - false if this object code already exists in the object level table |
permitted | protected boolean permitted(Set set, Object value)(Code) | | This method is a null-safe wrapper around Set.contains().
Parameters: set - - methods returns false if the Set is null Parameters: value - to seek true iff Set exists and contains given value |
verifyObjectCode | protected boolean verifyObjectCode(Integer year, String chart, String objectCode)(Code) | | This checks to see if the object code already exists in the system
Parameters: year - Parameters: chart - Parameters: objectCode - true if it exists |
verifyReportsToChartCode | protected boolean verifyReportsToChartCode(Integer year, String chart, String objectCode, String reportsToChartCode, String reportsToObjectCode)(Code) | | This method checks When the value of reportsToChartCode does not have an institutional exception, the Reports to Object
(rpts_to_fin_obj_cd) fiscal year, and chart code must exist in the object code table
if the chart and object are the same, then skip the check
this assumes that the validity of the reports-to object code has already been tested (and corrected if necessary)
Parameters: year - Parameters: chart - Parameters: objectCode - Parameters: reportsToChartCode - Parameters: reportsToObjectCode - true if the object code's reports to chart and chart are the same and reports to object and object code are the sameor if the object code already exists |
Methods inherited from org.kuali.core.maintenance.rules.MaintenanceDocumentRuleBase | protected boolean apcRuleFails(String parameterNamespace, String parameterDetailTypeCode, String parameterName, String valueToTest)(Code)(Java Doc) protected boolean applyApcRule(String parameterNamespace, String parameterDetailTypeCode, String parameterName, String valueToTest)(Code)(Java Doc) protected boolean checkAuthorizationRestrictions(MaintenanceDocument document)(Code)(Java Doc) protected boolean checkEmptyBOField(String propertyName, Object valueToTest, String parameter)(Code)(Java Doc) protected boolean checkEmptyDocumentField(String propertyName, Object valueToTest, String parameter)(Code)(Java Doc) protected boolean checkEmptyValue(Object valueToTest)(Code)(Java Doc) protected boolean checkForPartiallyFilledOutReferenceForeignKeys(String referenceName)(Code)(Java Doc) protected void clearErrorPath()(Code)(Java Doc) protected boolean dataDictionaryValidate(MaintenanceDocument document)(Code)(Java Doc) final protected BusinessObjectDictionaryService getBoDictionaryService()(Code)(Java Doc) final protected BusinessObjectService getBoService()(Code)(Java Doc) final protected KualiConfigurationService getConfigService()(Code)(Java Doc) public DateTimeService getDateTimeService()(Code)(Java Doc) final protected DataDictionaryService getDdService()(Code)(Java Doc) final protected DictionaryValidationService getDictionaryValidationService()(Code)(Java Doc) final protected DocumentAuthorizationService getDocumentAuthorizationService()(Code)(Java Doc) protected String getFieldLabel(String fieldName)(Code)(Java Doc) protected String getFieldLabel(Class boClass, String fieldName)(Code)(Java Doc) final protected MaintenanceDocumentDictionaryService getMaintDocDictionaryService()(Code)(Java Doc) final protected PersistableBusinessObject getNewBo()(Code)(Java Doc) final protected PersistableBusinessObject getOldBo()(Code)(Java Doc) final protected PersistenceService getPersistenceService()(Code)(Java Doc) final protected PersistenceStructureService getPersistenceStructureService()(Code)(Java Doc) public UniversalUserService getUniversalUserService()(Code)(Java Doc) public WorkflowDocumentService getWorkflowDocumentService()(Code)(Java Doc) protected boolean isCorrectMaintenanceClass(MaintenanceDocument document, Class clazz)(Code)(Java Doc) protected boolean isDocumentValidForSave(MaintenanceDocument maintenanceDocument)(Code)(Java Doc) public boolean processAddCollectionLineBusinessRules(MaintenanceDocument document, String collectionName, PersistableBusinessObject bo)(Code)(Java Doc) public boolean processApproveDocument(ApproveDocumentEvent approveEvent)(Code)(Java Doc) public boolean processCustomAddCollectionLineBusinessRules(MaintenanceDocument document, String collectionName, PersistableBusinessObject line)(Code)(Java Doc) protected boolean processCustomApproveDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) protected boolean processCustomRouteDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) protected boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) protected boolean processGlobalApproveDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) protected boolean processGlobalRouteDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) protected boolean processGlobalSaveDocumentBusinessRules(MaintenanceDocument document)(Code)(Java Doc) public boolean processRouteDocument(Document document)(Code)(Java Doc) public boolean processSaveDocument(Document document)(Code)(Java Doc) protected void putDocumentError(String propertyName, String errorConstant, String parameter)(Code)(Java Doc) protected void putDocumentError(String propertyName, String errorConstant, String[] parameters)(Code)(Java Doc) protected void putFieldError(String propertyName, String errorConstant)(Code)(Java Doc) protected void putFieldError(String propertyName, String errorConstant, String parameter)(Code)(Java Doc) protected void putFieldError(String propertyName, String errorConstant, String[] parameters)(Code)(Java Doc) protected void putFieldErrorWithShortLabel(String propertyName, String errorConstant)(Code)(Java Doc) protected void putGlobalError(String errorConstant)(Code)(Java Doc) protected void putGlobalError(String errorConstant, String parameter)(Code)(Java Doc) protected void putGlobalError(String errorConstant, String[] parameters)(Code)(Java Doc) protected void putGlobalsError(String propertyName, String errorConstant)(Code)(Java Doc) protected void putGlobalsError(String propertyName, String errorConstant, String parameter)(Code)(Java Doc) protected void resumeErrorPath()(Code)(Java Doc) final public void setBoDictionaryService(BusinessObjectDictionaryService boDictionaryService)(Code)(Java Doc) final public void setBoService(BusinessObjectService boService)(Code)(Java Doc) final public void setConfigService(KualiConfigurationService configService)(Code)(Java Doc) final public void setDdService(DataDictionaryService ddService)(Code)(Java Doc) final public void setDictionaryValidationService(DictionaryValidationService dictionaryValidationService)(Code)(Java Doc) final public void setDocumentAuthorizationService(DocumentAuthorizationService documentAuthorizationService)(Code)(Java Doc) final public void setMaintDocDictionaryService(MaintenanceDocumentDictionaryService maintDocDictionaryService)(Code)(Java Doc) protected void setNewBo(PersistableBusinessObject newBo)(Code)(Java Doc) final public void setPersistenceService(PersistenceService persistenceService)(Code)(Java Doc) final public void setPersistenceStructureService(PersistenceStructureService persistenceStructureService)(Code)(Java Doc) public void setUniversalUserService(UniversalUserService universalUserService)(Code)(Java Doc) public void setWorkflowDocumentService(WorkflowDocumentService workflowDocumentService)(Code)(Java Doc) public void setupBaseConvenienceObjects(MaintenanceDocument document)(Code)(Java Doc) public void setupConvenienceObjects()(Code)(Java Doc) protected boolean validateDocumentStructure(Document document)(Code)(Java Doc) protected boolean validateGlobalBusinessObjectPersistable(MaintenanceDocument document)(Code)(Java Doc) protected boolean validateMaintenanceDocument(MaintenanceDocument maintenanceDocument)(Code)(Java Doc)
|
|
|