|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ProposalService
Method Summary | |
---|---|
ProposalInfo |
createProposal(String proposalTypeKey,
ProposalInfo proposalInfo)
Creates a new Proposal |
StatusInfo |
deleteProposal(String proposalId)
Deletes an existing Proposal |
ProposalInfo |
getProposal(String proposalId)
Retrieves the details of a single Proposal by proposalId |
ProposalInfo |
getProposalByWorkflowId(String workflowId)
|
List<ProposalInfo> |
getProposalsByIdList(List<String> proposalIdList)
Retrieves the list of Proposals for the supplied list of proposalIds |
List<ProposalInfo> |
getProposalsByProposalType(String proposalTypeKey)
Retrieves the list of Proposals for the supplied Proposal Type |
List<ProposalInfo> |
getProposalsByReference(String referenceTypeKey,
String referenceId)
Retrieves the list of Proposals for the specified Reference Type and Reference Id |
List<ProposalInfo> |
getProposalsByState(String proposalState,
String proposalTypeKey)
Retrieves the list of Proposals for the specified proposal type and state |
ProposalTypeInfo |
getProposalType(String proposalTypeKey)
Retrieves information about a particular proposal type |
List<ProposalTypeInfo> |
getProposalTypes()
Retrieves the list of proposal types known by this service |
List<ProposalTypeInfo> |
getProposalTypesForReferenceType(String referenceTypeKey)
Retrieves the list of proposal types that are defined for a particular Reference Type |
List<ReferenceTypeInfo> |
getReferenceTypes()
Retrieves the list of types which can be referenced by a proposal. |
ProposalInfo |
updateProposal(String proposalId,
ProposalInfo proposalInfo)
Updates an existing CLU |
List<ValidationResultInfo> |
validateProposal(String validationType,
ProposalInfo proposalInfo)
Validates a proposal. |
Methods inherited from interface org.kuali.student.common.dictionary.service.DictionaryService |
---|
getObjectStructure, getObjectTypes |
Methods inherited from interface org.kuali.student.common.search.service.SearchService |
---|
getSearchCriteriaType, getSearchCriteriaTypes, getSearchResultType, getSearchResultTypes, getSearchType, getSearchTypes, getSearchTypesByCriteria, getSearchTypesByResult, search |
Method Detail |
---|
List<ProposalTypeInfo> getProposalTypes() throws OperationFailedException
OperationFailedException
- unable to complete requestProposalTypeInfo getProposalType(String proposalTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
proposalTypeKey
- proposal type identifier
DoesNotExistException
- specified proposal type not found
InvalidParameterException
- invalid proposalTypeKey
MissingParameterException
- proposalTypeKey not specified
OperationFailedException
- unable to complete requestList<ReferenceTypeInfo> getReferenceTypes() throws OperationFailedException
OperationFailedException
- unable to complete requestList<ProposalTypeInfo> getProposalTypesForReferenceType(String referenceTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
referenceTypeKey
- referenceTypeKey
DoesNotExistException
- specified referenceTypeKey not found
InvalidParameterException
- invalid referenceTypeKey
MissingParameterException
- referenceTypeKey not specified
OperationFailedException
- unable to complete requestList<ValidationResultInfo> validateProposal(String validationType, ProposalInfo proposalInfo) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
validationType
- Identifier of the extent of validationproposalInfo
- The proposal information to be tested.
DoesNotExistException
- validationTypeKey not found
InvalidParameterException
- invalid validationTypeKey, proposalInfo
MissingParameterException
- missing validationTypeKey, proposalInfo
OperationFailedException
- unable to complete requestProposalInfo getProposal(String proposalId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
proposalId
- Unique id of the Proposal to be retrieved
DoesNotExistException
- proposalId not found
InvalidParameterException
- invalid proposalId
MissingParameterException
- invalid proposalId
OperationFailedException
- unable to complete requestList<ProposalInfo> getProposalsByIdList(List<String> proposalIdList) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
proposalIdList
- list of proposal identifiers
DoesNotExistException
- One or more proposalIds not found
InvalidParameterException
- One or more invalid proposalId
MissingParameterException
- missing proposalIdList
OperationFailedException
- unable to complete requestList<ProposalInfo> getProposalsByProposalType(String proposalTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
proposalTypeKey
- key of the proposal type
DoesNotExistException
- proposalTypeKey not found
InvalidParameterException
- invalid proposalTypeKey
MissingParameterException
- missing proposalTypeKey
OperationFailedException
- unable to complete requestList<ProposalInfo> getProposalsByReference(String referenceTypeKey, String referenceId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
referenceTypeKey
- Key of the Reference TypereferenceId
- Identifier of the reference
DoesNotExistException
- referenceTypeKey or referenceId not found
InvalidParameterException
- invalid referenceTypeKey or referenceId
MissingParameterException
- missing referenceTypeKey or referenceId
OperationFailedException
- unable to complete requestList<ProposalInfo> getProposalsByState(String proposalState, String proposalTypeKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
proposalState
- Proposal StateproposalTypeKey
- Proposal Type.
DoesNotExistException
- proposalTypeKey not found
InvalidParameterException
- invalid proposalState or proposalTypeKey
MissingParameterException
- missing proposalState or proposalTypeKey
OperationFailedException
- unable to complete requestProposalInfo getProposalByWorkflowId(String workflowId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
workflowId
- Workflow id
DoesNotExistException
- workflowId not found
InvalidParameterException
- invalid workflowId
MissingParameterException
- missing workflowId
OperationFailedException
- unable to complete requestProposalInfo createProposal(String proposalTypeKey, ProposalInfo proposalInfo) throws AlreadyExistsException, DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
proposalTypeKey
- identifier of the Proposal Type for the Proposal being createdproposalInfo
- information about the Proposal being created
AlreadyExistsException
- Proposal already exists
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- proposalTypeKey not found
InvalidParameterException
- invalid proposalTypeKey, proposalInfo
MissingParameterException
- missing proposalTypeKey, proposalInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureProposalInfo updateProposal(String proposalId, ProposalInfo proposalInfo) throws DataValidationErrorException, DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException, VersionMismatchException
proposalId
- identifier for the Proposal to be updatedproposalInfo
- updated information about the Proposal
DataValidationErrorException
- One or more values invalid for this operation
DoesNotExistException
- proposalId not found
InvalidParameterException
- invalid proposalId, proposalInfo
MissingParameterException
- missing proposalId, proposalInfo
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
VersionMismatchException
- The action was attempted on an out of date version.StatusInfo deleteProposal(String proposalId) throws DoesNotExistException, InvalidParameterException, MissingParameterException, DependentObjectsExistException, OperationFailedException, PermissionDeniedException
proposalId
- identifier for the Proposal to be deleted
DoesNotExistException
- proposalId not found
InvalidParameterException
- invalid proposalId
MissingParameterException
- missing proposalId
DependentObjectsExistException
- delete would leave orphaned objects or violate integrity constraints
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |