public interface JobControlProvider
Modifier and Type | Method and Description |
---|---|
java.util.Map<String,Setting> |
getAllJobSettings()
Retrieve all settings and their attributes.
|
java.util.Map<String,String> |
getAllJobSettingValues()
Retrieves all of the printer's setting values.
|
String |
getJobSettingRange(String settingId)
Retrieves the allowable range for a setting.
|
java.util.Set<String> |
getJobSettings()
Retrieve all of the setting identifiers for a printer.
|
java.util.Map<String,String> |
getJobSettingsValues(java.util.List<String> listOfSettings)
Retrieves the printer's setting values for a list of setting IDs.
|
String |
getJobSettingType(String settingId)
Returns the data type of the setting.
|
String |
getJobSettingValue(String settingId)
Retrieves the printer's setting value for a specific setting ID.
|
boolean |
isJobSettingReadOnly(String settingId)
Returns true if the setting's value is read only for the given setting.
|
boolean |
isJobSettingValid(String settingId,
String value)
Returns true if the setting's value is valid for the given setting.
|
boolean |
isJobSettingWriteOnly(String settingId)
Returns true if the setting's value is write only for the given setting.
|
void |
setJobSetting(String settingId,
String value)
Sets the printer's setting to the given value.
|
void |
setJobSettings(java.util.Map<String,String> settingValuePairs)
Sets a set of the printer's settings to their given values.
|
java.util.Set<String> getJobSettings() throws SettingsException
SettingsException
- if the setting IDs could not be loaded.String getJobSettingValue(String settingId) throws SettingsException
settingId
- the setting ID for the setting you want to retrieve.SettingsException
- if the setting could not be retrieved or there is an error communicating with the printer.java.util.Map<String,String> getJobSettingsValues(java.util.List<String> listOfSettings) throws SettingsException
listOfSettings
- a list of setting IDs for the settings you want to retrieve.SettingsException
- if the settings could not be retrieved or there is an error communicating with the printer.java.util.Map<String,String> getAllJobSettingValues() throws SettingsException
SettingsException
- if the settings could not be retrieved or there is an error communicating with the printer.java.util.Map<String,Setting> getAllJobSettings() throws SettingsException
SettingsException
- if the settings could not be retrieved.void setJobSetting(String settingId, String value) throws SettingsException
settingId
- the setting id of the setting you wish to update.value
- the setting's value.SettingsException
- - If the setting is read only, does not exist, or if the setting could not be set.void setJobSettings(java.util.Map<String,String> settingValuePairs) throws SettingsException
settingValuePairs
- a Map containing the setting's ID and the new value for the setting.
SettingsException
- if any of the settings are read only, do not exist, or could not be set.String getJobSettingRange(String settingId) throws SettingsException
settingId
- the setting id for the setting you wish to retrieve the range for.SettingsException
- if the setting does not exist or the setting's range could not be retrieved.boolean isJobSettingValid(String settingId, String value) throws SettingsException
settingId
- the setting id of the setting you wish to validate.value
- the setting's value.SettingsException
- if the setting does not exist.boolean isJobSettingReadOnly(String settingId) throws SettingsException
settingId
- the setting id of the setting you wish to validate.SettingsException
- if the setting does not exist.boolean isJobSettingWriteOnly(String settingId) throws SettingsException
settingId
- the setting id of the setting you wish to validate.SettingsException
- if the setting does not exist.String getJobSettingType(String settingId) throws SettingsException
settingId
- the setting id.SettingsException
- if the setting does not exist.
© 2016 ZIH Corp. All Rights Reserved.