Interface ParametersServiceLocal
public interface ParametersServiceLocal
Local interface for the Parameters service from the Planner API
-
Method Summary
Modifier and TypeMethodDescriptiongetParameterById(int id) Returns the parameter at the specified IDgetParameters(ParametersFilter filter) Returns parameters fulfilling the search criteriasetDocumentParameters(String documentID, List<Parameter> parameters) Modifies parameters to the specified documentsetParameter(Parameter parameter) Modifies an existing parametersetParameters(List<Parameter> parameters) Modifies parameterssetPublicationParameters(String publicationID, List<Parameter> parameters) Modifies parameters to the specified document
-
Method Details
-
getParameterById
Returns the parameter at the specified ID- Parameters:
id- Parameter ID- Returns:
- the parameter
- Throws:
PubServerException- See Also:
-
getParameters
Returns parameters fulfilling the search criteria- Parameters:
filter- search criteria in the ParametersFilter object- Returns:
- the list of parameters
- Throws:
ServiceException- See Also:
-
setParameter
Modifies an existing parameterOnly fields: Value,Value2,Value3, ParamDropDownValueID, EntityID, EntityModel, RecordstringID can be changed.
- Parameters:
parameter- a parameter to change- Returns:
- modified parameter
- Throws:
PubServerException- See Also:
-
setDocumentParameters
List<Parameter> setDocumentParameters(String documentID, List<Parameter> parameters) throws PubServerException Modifies parameters to the specified documentOnly fields: Value,Value2,Value3, ParamDropDownValueID, EntityID, EntityModel, RecordstringID can be changed.
- Parameters:
documentID- document IDparameters- the list of parameters to assign- Returns:
- List of processed parameters. Each Parameter object from the list contains status code of the operation
- Throws:
PubServerException- See Also:
-
setPublicationParameters
List<Parameter> setPublicationParameters(String publicationID, List<Parameter> parameters) throws ServiceException Modifies parameters to the specified documentOnly fields: Value,Value2,Value3, ParamDropDownValueID, EntityID, EntityModel, RecordstringID can be changed.
- Parameters:
publicationID- publication IDparameters- the list of parameters to assign- Returns:
- the list of processed parameters. Each Parameter object from the list contains status code of the operation
- Throws:
ServiceException- See Also:
-
setParameters
Modifies parametersOnly fields: Value,Value2,Value3, ParamDropDownValueID, EntityID, EntityModel, RecordstringID can be changed.
- Parameters:
parameters- List of parameters to modify- Returns:
- the list of processed parameters. Each Parameter object from the list contains status code of the operation
- Throws:
ServiceException- See Also:
-