public interface PDFGConfigService
Modifier and Type | Method and Description |
---|---|
String |
getActionTaggedXML(String sName,
String jName,
String fName,
int timeout,
boolean skipValidation)
This method returns the text for Action Tagged XML.
|
Map<String,Map> |
getAllSettingsMapWithDefault()
This method returns all filetypes settings, Adobe PDF Settings & security Settings.
|
Map |
getAllValidUsersAccounts()
This method returns a map containing all valid user accounts.
|
String |
getClearText(String enc)
This method returns clear text from cipher text.
|
List<List<String>> |
getColorProfiles()
This method returns a list containing three lists of gray,rbb,cmy profiles
|
String |
getConfigurationSetting(String key)
This method returns the specified configuration setting.
|
Map |
getConfigurationSettingsMap()
This method returns a map of configuration settings.
|
String |
getConfigurationXML()
This method returns the text for configuration XML.
|
String |
getConfigurationXML(String sName,
String jName,
String fName)
This method returns the text for configuration XML with the names of
security setting, filetype setting and job options as specified by the
arguments.
|
List<List<String>> |
getCSFAndEmbeddedProfiles(String noneLocalized)
This method returns a list containing two List objects.
|
Map |
getDefaultSettingsNames()
This method returns a map containing names of default job options,
security settings and filetype settings.
|
Map |
getFiletypeSettingByName(String fsname)
This method returns a map of named filetype settings.
|
Map |
getFiletypeSettingsMap()
This method returns a map of filetype settings.
|
List |
getFontFolders()
This method returns a list of all font folders.
|
List |
getFontsInFolder(String folderPath)
This method returns a list of all fonts in the specified folder.
|
Map<String,String[]> |
getGeneralConfigMap()
This API returns the map of general configuration of PDFG.
|
Map |
getJobOptionMapByName(String jname)
This method returns a map of named job options.
|
Map |
getJobOptionsMap()
This method returns a map of job options.
|
String |
getJobOptionStringByName(String jname)
This method returns the raw data for job options string with the name
as specified by the argument.
|
Map<String,List<String>> |
getOSAndUsers()
This API has been added specifically for LCM user screen.
|
String |
getPDFExportXML(String exportFormat,
int timeout)
This method returns the text for PDF Export XML.
|
Map |
getPDFGProductInfo()
This method returns the text for PDF Generator product info.
|
List<File> |
getPDFGTempFolders()
This API return the temporary PDF Folders list which needs to be cleaned up.
|
Map |
getPrologue()
This method returns the a map containing prologue and epilogue files.
|
Map |
getSecuritySettingByName(String sname)
This method returns a map of named security settings.
|
Map |
getSecuritySettingsMap()
This method returns a map of security Settings.
|
Map<String,String> |
getUserAccountsMap()
This API returns the map of all the user accounts present.
|
void |
importConfigurationXML(String configXML)
Imports a given configuration XML into the JCR.
|
void |
removeFiletypeSettings(List fnames)
Removes an array of all the filetype settings(if present) that are passed by the user
|
void |
removeJobOptionSettings(List jobOptNames)
Removes an array of all the job option settings(if present) that are passed by the user
|
void |
removeSecuritySettings(List secSettNames)
Removes an array of all the security settings(if present) that are passed by the user
|
void |
removeUserAccounts(List users)
Removes an array of all the user accounts(if present) that are passed by the user
|
void |
resetConfigurationToDefault()
Resets configuration to default configuration shipped with PDF Generator.
|
void |
setDefaultSettings(String sname,
String jname,
String aname)
Sets the settings with specified names as default settings.
|
void |
setJobOptionsByName(String jobName,
String jobOptionData)
Sets an array of all the job options that are passed by the user
|
void |
setPrologue(Map pmap)
Sets the map containing prologue and epilogue files
|
void |
updateFiletypeSettings(Map fsMap,
boolean createNew)
Sets an array of all the filetype settings that are passed by the user.
|
void |
updateGeneralConfig(Map<String,String[]> generalConfig)
This API updates the map of general configuration of PDFG.
|
void |
updateJobOptions(Map jobOptionsMap,
boolean createNew)
Sets an array of all the job options that are passed by the user
|
void |
updateSecuritySetting(String settingName,
String openPassword,
String permPassword)
Updates the named security setting passed by the user
|
void |
updateSecuritySettings(Map ssMap,
boolean createNew)
Sets an array of all the security settings that are passed by the user.
|
void |
updateUserAccountsSettings(Map userInfoMap,
boolean createNew)
Sets an user account setting that is passed by the user
|
Map |
validateAllUsersCredentials()
This method validates all user credentials and returns map containing the
user-name : valid/invalid status.
|
boolean |
validateUserCredentials(String userName,
String domainName,
String password)
This method validates the supplied user credentials and returns true if they are correct.
|
Map getJobOptionsMap() throws ConfigException
ConfigLockException
ConfigLoadException
ConfigException
Map getSecuritySettingsMap() throws ConfigException
ConfigException
Map getFiletypeSettingsMap() throws ConfigException
ConfigException
String getClearText(String enc) throws ConfigException
ConfigException
Map getJobOptionMapByName(String jname) throws ConfigException
jname
- ConfigException
String getJobOptionStringByName(String jname) throws ConfigException
ConfigException
Map getSecuritySettingByName(String sname) throws ConfigException
sname
- ConfigException
Map getFiletypeSettingByName(String fsname) throws ConfigException
fsname
- ConfigException
String getConfigurationXML() throws ConfigException
ConfigException
String getConfigurationXML(String sName, String jName, String fName) throws ConfigException, ConversionException
sName
- jName
- fName
- ConfigException
ConversionException
String getPDFExportXML(String exportFormat, int timeout) throws ConfigException, ConversionException
exportFormat
- timeout
- ConfigException
ConversionException
String getActionTaggedXML(String sName, String jName, String fName, int timeout, boolean skipValidation) throws ConfigException, ConversionException
sName
- jName
- fName
- ConfigException
ConversionException
Map getDefaultSettingsNames() throws ConfigException
ConfigException
Map getPDFGProductInfo() throws ConfigException
ConfigException
Map getPrologue() throws ConfigException
ConfigException
void setPrologue(Map pmap) throws ConfigException
pmap
- ConfigException
List getFontFolders() throws ConfigException
ConfigException
List getFontsInFolder(String folderPath) throws ConfigException
folderPath
- ConfigException
void updateJobOptions(Map jobOptionsMap, boolean createNew) throws ConfigException
jobOptionsMap
- The JobOptions Map to be updated/created in the configurationcreateNew
- Specifies whether new job options will be added into configuration or not.
If false, no new job options will be added into configurationConfigException
void setJobOptionsByName(String jobName, String jobOptionData) throws ConfigException
jobName
- jobOptionData
- ConfigException
void updateSecuritySetting(String settingName, String openPassword, String permPassword) throws ConfigException
settingName
- The security setting to be updatedopenPassword
- The Document Open password. Leave unchanged if null, remove if blank.permPassword
- The Permissions password. Leave unchanged if null, remove if blank.ConfigException
void updateSecuritySettings(Map ssMap, boolean createNew) throws ConfigException
ssMap
- The SecuritySettings objects to be updated/created in the configurationcreateNew
- Specifies whether new security settings will be added into configuration or not.
If false, no new security settings will be added into configurationConfigException
void updateFiletypeSettings(Map fsMap, boolean createNew) throws ConfigException
fsMap
- createNew
- ConfigException
void removeSecuritySettings(List secSettNames) throws ConfigException
secSettNames
- The names of the security settings to removeConfigException
void removeFiletypeSettings(List fnames) throws ConfigException
fnames
- ConfigException
void removeJobOptionSettings(List jobOptNames) throws ConfigException
jobOptNames
- The names of the job option (settings) to removeConfigException
void setDefaultSettings(String sname, String jname, String aname) throws ConfigException, ConversionException
sname
- jname
- aname
- ConfigException
ConversionException
void importConfigurationXML(String configXML) throws ConfigException
configXML
- ConfigException
void resetConfigurationToDefault() throws ConfigException
ConfigException
Map getConfigurationSettingsMap()
String getConfigurationSetting(String key)
key
- List<List<String>> getCSFAndEmbeddedProfiles(String noneLocalized) throws ConfigException
ConfigException
List<List<String>> getColorProfiles() throws ConfigException
ConfigException
Map<String,Map> getAllSettingsMapWithDefault() throws ConfigException
ConfigException
void updateUserAccountsSettings(Map userInfoMap, boolean createNew) throws ConfigException
userInfoMap
- The userInfo object to be updated/created in the configurationcreateNew
- Specifies whether new user account settings will be added into configuration or not.
If false, no new user account settings will be added into configurationConfigException
Map<String,String[]> getGeneralConfigMap() throws ConfigException
ConfigException
void updateGeneralConfig(Map<String,String[]> generalConfig) throws ConfigException
generalConfig
- Map of general configurationConfigException
Map<String,String> getUserAccountsMap() throws ConfigException
ConfigException
void removeUserAccounts(List users) throws ConfigException
users
- The names of the users to removeConfigException
boolean validateUserCredentials(String userName, String domainName, String password) throws ConfigException
userName
- domainName
- password
- ConfigException
Map validateAllUsersCredentials() throws ConfigException
ConfigException
Map<String,List<String>> getOSAndUsers() throws ConfigException
ConfigException
List<File> getPDFGTempFolders() throws ConfigException
ConfigException
Map getAllValidUsersAccounts() throws ConfigException
ConfigException
Copyright © 1982–2022 Adobe Systems Inc.. All rights reserved.