Interface ParamDropDownValuesServiceLocal
-
public interface ParamDropDownValuesServiceLocalLocal interface for the ParamDropDownValues service from the Planner API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intaddParameterDropDownValue(java.lang.Integer paramDropDownListID, ParamDropDownValue value)Add a parameter drop down value for specified paramDropDownListIDjava.util.List<ParamDropDownValue>addParameterDropDownValues(java.lang.Integer paramDropDownListID, java.util.List<ParamDropDownValue> values)Add a parameter drop down values for specified paramDropDownListIDServiceResultdeleteParameterDropDownValue(int id)Deletes parameter drop down value at the specified IDParamDropDownValuegetParameterDropDownValueById(int id)Returns the parameter drop down value at the specified IDjava.util.List<ParamDropDownValue>getParameterDropDownValues(ParameterDropDownValueFilter filter)Returns parameter drop down values fulfilling the search criteriaParamDropDownValuesetParameterDropDownValue(ParamDropDownValue value)Set a parameter drop down value for specified paramDropDownListIDjava.util.List<ParamDropDownValue>setParameterDropDownValues(java.util.List<ParamDropDownValue> values)Set a parameter drop down valuesjava.util.List<ParamDropDownValue>setParameterDropDownValuesSortOrder(java.lang.Integer paramDropDownListID, java.util.List<ParamDropDownValue> values)set a sort of parameter drop down values for specified paramDropDownListID
-
-
-
Method Detail
-
getParameterDropDownValueById
ParamDropDownValue getParameterDropDownValueById(int id) throws PubServerException
Returns the parameter drop down value at the specified ID- Parameters:
id- dropdown value ID- Returns:
- the DropDownValue
- Throws:
PubServerException- See Also:
ParamDropDownValue
-
getParameterDropDownValues
java.util.List<ParamDropDownValue> getParameterDropDownValues(ParameterDropDownValueFilter filter) throws ServiceException
Returns parameter drop down values fulfilling the search criteria- Parameters:
filter- search criteria in the ParameterDropDownValueFilter object- Returns:
- the list of DropDown values
- Throws:
ServiceException- See Also:
ParameterDropDownValueFilter,ParamDropDownValue
-
addParameterDropDownValues
java.util.List<ParamDropDownValue> addParameterDropDownValues(java.lang.Integer paramDropDownListID, java.util.List<ParamDropDownValue> values) throws PubServerException
Add a parameter drop down values for specified paramDropDownListID- Parameters:
paramDropDownListID- ID of the dropdown value listvalues- List of ParamDropDownValue to Add- Returns:
- Added List of ParamDropDownValue
- Throws:
ServiceExceptionPubServerException- See Also:
ParamDropDownValue
-
addParameterDropDownValue
int addParameterDropDownValue(java.lang.Integer paramDropDownListID, ParamDropDownValue value) throws PubServerExceptionAdd a parameter drop down value for specified paramDropDownListID- Parameters:
paramDropDownListID- ID of the dropdown value listvalue- ParamDropDownValue to Add- Returns:
- Added ParamDropDownValue ID
- Throws:
ServiceExceptionPubServerException- See Also:
ParamDropDownValue
-
setParameterDropDownValuesSortOrder
java.util.List<ParamDropDownValue> setParameterDropDownValuesSortOrder(java.lang.Integer paramDropDownListID, java.util.List<ParamDropDownValue> values) throws PubServerException
set a sort of parameter drop down values for specified paramDropDownListID- Parameters:
paramDropDownListID-values- List of ParamDropDownValue (in new order), should contain all ParamDropDownValues which are children of paramDropDownListID- Returns:
- sorted List of ParamDropDownValue
- Throws:
PubServerException- See Also:
ParamDropDownValue
-
deleteParameterDropDownValue
ServiceResult deleteParameterDropDownValue(int id) throws ServiceException
Deletes parameter drop down value at the specified ID- Parameters:
id- ID of parameter drop down value- Returns:
- Default result class
- Throws:
ServiceException- See Also:
ServiceResult
-
setParameterDropDownValues
java.util.List<ParamDropDownValue> setParameterDropDownValues(java.util.List<ParamDropDownValue> values) throws ServiceException
Set a parameter drop down values- Parameters:
values- List of ParamDropDownValue to set- Returns:
- List of ParamDropDownValue
- Throws:
ServiceException- See Also:
ParamDropDownValue
-
setParameterDropDownValue
ParamDropDownValue setParameterDropDownValue(ParamDropDownValue value) throws ServiceException
Set a parameter drop down value for specified paramDropDownListID- Parameters:
value- ParamDropDownValue to set- Returns:
- List of ParamDropDownValue
- Throws:
ServiceException- See Also:
ParamDropDownValue
-
-