public interface ResearchAreasServiceBase
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkResearchAreaAndDescendantsNotReferenced(String researchAreaCode)
This method checks that neither the given research area nor any of its descendants are referenced by
any committee, committee member or protocol (current or past).
|
void |
deactivateResearchAreaAndDescendants(String researchAreaCode)
This method will deactivate the research area that has the given
researchAreaCode, and will also
recursively deactivate all of its descendant research areas as well. |
void |
deleteResearchAreaAndDescendants(String researchAreaCode)
This method will delete the research area that has the given
researchAreaCode and will also
recursively delete all of its descendant research areas as well. |
ResearchAreaCurrentReferencerHolderBase |
getAnyCurrentReferencerForResearchAreaOrDescendant(String researchAreaCode)
This method will return some current version of committee, committee member or protocol that references either the given research area or one of its (active) descendants.
|
CommitteeMembershipBase |
getCurrentCommitteeMembershipReferencingResearchArea(String researchAreaCode)
This method will return the instance of a current CommitteeMembershipBase BO, saved in the db, that references the research area with the given code.
|
CommitteeBase |
getCurrentCommitteeReferencingResearchArea(String researchAreaCode)
This method will return the instance of a current CommitteeBase BO, saved in the db, that references the research area with the given code.
|
ProtocolBase |
getCurrentProtocolReferencingResearchArea(String researchAreaCode)
This method will return the instance of a current ProtocolBase BO, saved in the db, that references the research area with the given code.
|
String |
getSubResearchAreasForTreeView(String researchAreaCode,
boolean activeOnly)
This method to get children research area codes of 'researchAreaCode'.
|
boolean |
isResearchAreaExist(String researchAreaCode,
String researchAreas)
This method is check whether the new research area code exist in DB.
|
void |
saveResearchAreas(String raChangeXML)
This method is updates the research area based on the raChangeXML.
|
String getSubResearchAreasForTreeView(String researchAreaCode, boolean activeOnly)
researchAreaCode - activeOnly - - if true show only active research areasboolean isResearchAreaExist(String researchAreaCode, String researchAreas)
researchAreaCode - : new research area coderesearchAreas - : list of research area codes that are being removed, but has not been removed from DB yet.boolean checkResearchAreaAndDescendantsNotReferenced(String researchAreaCode)
researchAreaCode - ResearchAreaCurrentReferencerHolderBase getAnyCurrentReferencerForResearchAreaOrDescendant(String researchAreaCode)
ResearchAreaCurrentReferencerHolder.NO_REFERENCER.
This method should be called and its return value should be checked to ensure that there are no current referencers before calling the method to
deactivate a research area (and its descendants).researchAreaCode - ProtocolBase getCurrentProtocolReferencingResearchArea(String researchAreaCode)
researchAreaCode - CommitteeBase getCurrentCommitteeReferencingResearchArea(String researchAreaCode)
researchAreaCode - CommitteeMembershipBase getCurrentCommitteeMembershipReferencingResearchArea(String researchAreaCode)
researchAreaCode - void deactivateResearchAreaAndDescendants(String researchAreaCode) throws Exception
researchAreaCode, and will also
recursively deactivate all of its descendant research areas as well.researchAreaCode - Exceptionvoid deleteResearchAreaAndDescendants(String researchAreaCode) throws Exception
researchAreaCode and will also
recursively delete all of its descendant research areas as well.researchAreaCode - Exceptionvoid saveResearchAreas(String raChangeXML) throws ParserConfigurationException, IOException, SAXException
raChangeXML - : XML formatted changes that were being performed on questionnaire page.ParserConfigurationExceptionIOExceptionSAXExceptionCopyright © 2013 The Kuali Foundation. All Rights Reserved.