|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.rice.krad.rules.DocumentRuleBase org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase org.kuali.rice.krms.impl.rule.AgendaEditorBusRule
public class AgendaEditorBusRule
This class contains the rules for the AgendaEditor.
Field Summary |
---|
Fields inherited from class org.kuali.rice.krad.rules.MaintenanceDocumentRuleBase |
---|
DOCUMENT_ERROR_PREFIX, LOG, MAINTAINABLE_ERROR_PATH, MAINTAINABLE_ERROR_PREFIX, priorErrorPath |
Constructor Summary | |
---|---|
AgendaEditorBusRule()
|
Method Summary | |
---|---|
ActionTypeService |
getActionTypeService(String serviceName)
|
AgendaAuthorizationService |
getAgendaAuthorizationService()
|
AgendaBoService |
getAgendaBoService()
|
ContextBoService |
getContextBoService()
|
KrmsTypeRepositoryService |
getKrmsTypeRepositoryService()
|
RuleBoService |
getRuleBoService()
|
protected boolean |
primaryKeyCheck(MaintenanceDocument document)
This method checks the two major cases that may violate primary key integrity. |
boolean |
processAgendaItemBusinessRules(MaintenanceDocument document)
Check if a agenda item is valid. |
protected boolean |
processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
This method should be overridden to provide custom rules for processing document saving |
boolean |
validAgendaName(AgendaEditor agendaEditor)
Check if an agenda with that name exists already in the context. |
boolean |
validContext(AgendaEditor agendaEditor)
Check if the context exists and if user has authorization to edit agendas under this context. |
boolean |
validContextAgendaNamespace(AgendaEditor agendaEditor)
Check if for namespace. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgendaEditorBusRule()
Method Detail |
---|
protected boolean primaryKeyCheck(MaintenanceDocument document)
MaintenanceDocumentRuleBase
primaryKeyCheck
in class MaintenanceDocumentRuleBase
document
- - The Maintenance Document being tested.
protected boolean processCustomSaveDocumentBusinessRules(MaintenanceDocument document)
MaintenanceDocumentRuleBase
processCustomSaveDocumentBusinessRules
in class MaintenanceDocumentRuleBase
public boolean validContext(AgendaEditor agendaEditor)
agendaEditor
-
public boolean validContextAgendaNamespace(AgendaEditor agendaEditor)
agendaEditor
-
public boolean validAgendaName(AgendaEditor agendaEditor)
agendaEditor
-
public boolean processAgendaItemBusinessRules(MaintenanceDocument document)
document,
- the Agenda document of the added/edited agenda item
public ContextBoService getContextBoService()
public AgendaBoService getAgendaBoService()
public RuleBoService getRuleBoService()
public KrmsTypeRepositoryService getKrmsTypeRepositoryService()
public ActionTypeService getActionTypeService(String serviceName)
public AgendaAuthorizationService getAgendaAuthorizationService()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |