Interface PreferencesServiceLocal
-
public interface PreferencesServiceLocalLocal interface for the Preferences service from the Planner API
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PreferencegetPreferenceByName(java.lang.String name)Returns the preference at the specified namejava.util.List<Preference>getPreferences(java.lang.String type)Returns preferences fulfilling the search criteriaPreferencesetPreference(Preference preference)Modifies value for existing preference
-
-
-
Method Detail
-
getPreferenceByName
Preference getPreferenceByName(java.lang.String name) throws PubServerException
Returns the preference at the specified name- Parameters:
name- Preference Name- Returns:
- the preference
- Throws:
PubServerException- See Also:
Preference
-
getPreferences
java.util.List<Preference> getPreferences(java.lang.String type) throws PubServerException
Returns preferences fulfilling the search criteria- Parameters:
type- {cometserver | renderingserver}- Returns:
- the list of preferences
- Throws:
PubServerException- See Also:
Preference
-
setPreference
Preference setPreference(Preference preference) throws PubServerException
Modifies value for existing preference- Parameters:
preference- a preference to change- Returns:
- modified preference
- Throws:
PubServerException- See Also:
Preference
-
-