|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EnumerationManagementService
Method Summary | |
---|---|
EnumeratedValueInfo |
addEnumeratedValue(String enumerationKey,
EnumeratedValueInfo enumeratedValue)
Adds an value to a particular Enumeration. |
List<EnumeratedValueInfo> |
getEnumeratedValues(String enumerationKey,
String contextKey,
String contextValue,
Date contextDate)
Retrieves the list of values for a particular enumeration with a certain context for a particular date. |
EnumerationInfo |
getEnumeration(String enumerationKey)
Retrieves meta information for a particular Enumeration. |
List<EnumerationInfo> |
getEnumerations()
Retrieves the list of meta information for the enumerations supported by this service. |
StatusInfo |
removeEnumeratedValue(String enumerationKey,
String code)
Removes a value from a particular Enumeration. |
EnumeratedValueInfo |
updateEnumeratedValue(String enumerationKey,
String code,
EnumeratedValueInfo enumeratedValue)
Updates a value in a particular Enumeration. |
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<EnumerationInfo> getEnumerations() throws OperationFailedException
OperationFailedException
- unable to complete requestEnumerationInfo getEnumeration(String enumerationKey) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
enumerationKey
- Identifier for the Enumeration
DoesNotExistException
- enumerationKey not found
InvalidParameterException
- invalid enumerationKey
MissingParameterException
- missing enumerationKey
OperationFailedException
- unable to complete requestList<EnumeratedValueInfo> getEnumeratedValues(String enumerationKey, String contextKey, String contextValue, Date contextDate) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException
enumerationKey
- Identifier for the EnumerationcontextType
- Identifier for the enumeration context typecontextValue
- Value for the enumeration contextcontextDate
- date and time to get the enumeration for
DoesNotExistException
- enumerationKey not found
InvalidParameterException
- invalid enumerationKey, contextKey, contextValue, contextDate
MissingParameterException
- missing enumerationKey, contextKey, contextValue, contextDate
OperationFailedException
- unable to complete requestEnumeratedValueInfo addEnumeratedValue(String enumerationKey, EnumeratedValueInfo enumeratedValue) throws AlreadyExistsException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
enumerationKey
- Identifier for the EnumerationenumeratedValue
- Value to be added
AlreadyExistsException
- enumerated value already exists
InvalidParameterException
- invalid enumerationKey, code, enumeratedValue
MissingParameterException
- missing enumerationKey, code, enumeratedValue
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureEnumeratedValueInfo updateEnumeratedValue(String enumerationKey, String code, EnumeratedValueInfo enumeratedValue) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
enumerationKey
- Identifier for the Enumerationcode
- code identifying the value to be updatedenumeratedValue
- updated information on the value
DoesNotExistException
- enumerationKey, code not found
InvalidParameterException
- invalid enumerationKey, enumeratedValue
MissingParameterException
- missing enumerationKey, enumeratedValue
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failureStatusInfo removeEnumeratedValue(String enumerationKey, String code) throws DoesNotExistException, InvalidParameterException, MissingParameterException, OperationFailedException, PermissionDeniedException
enumerationKey
- Identifier for the Enumerationcode
- code identifying the value to be removed
DoesNotExistException
- enumerationKey, code not found
InvalidParameterException
- invalid enumerationKey, enumeratedValue
MissingParameterException
- missing enumerationKey, enumeratedValue
OperationFailedException
- unable to complete request
PermissionDeniedException
- authorization failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |