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
ConfigLockExceptionConfigLoadExceptionConfigExceptionMap getSecuritySettingsMap() throws ConfigException
ConfigExceptionMap getFiletypeSettingsMap() throws ConfigException
ConfigExceptionString getClearText(String enc) throws ConfigException
ConfigExceptionMap getJobOptionMapByName(String jname) throws ConfigException
jname - ConfigExceptionString getJobOptionStringByName(String jname) throws ConfigException
ConfigExceptionMap getSecuritySettingByName(String sname) throws ConfigException
sname - ConfigExceptionMap getFiletypeSettingByName(String fsname) throws ConfigException
fsname - ConfigExceptionString getConfigurationXML() throws ConfigException
ConfigExceptionString getConfigurationXML(String sName, String jName, String fName) throws ConfigException, ConversionException
sName - jName - fName - ConfigExceptionConversionExceptionString getPDFExportXML(String exportFormat, int timeout) throws ConfigException, ConversionException
exportFormat - timeout - ConfigExceptionConversionExceptionString getActionTaggedXML(String sName, String jName, String fName, int timeout, boolean skipValidation) throws ConfigException, ConversionException
sName - jName - fName - ConfigExceptionConversionExceptionMap getDefaultSettingsNames() throws ConfigException
ConfigExceptionMap getPDFGProductInfo() throws ConfigException
ConfigExceptionMap getPrologue() throws ConfigException
ConfigExceptionvoid setPrologue(Map pmap) throws ConfigException
pmap - ConfigExceptionList getFontFolders() throws ConfigException
ConfigExceptionList getFontsInFolder(String folderPath) throws ConfigException
folderPath - ConfigExceptionvoid 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 configurationConfigExceptionvoid setJobOptionsByName(String jobName, String jobOptionData) throws ConfigException
jobName - jobOptionData - ConfigExceptionvoid 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.ConfigExceptionvoid 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 configurationConfigExceptionvoid updateFiletypeSettings(Map fsMap, boolean createNew) throws ConfigException
fsMap - createNew - ConfigExceptionvoid removeSecuritySettings(List secSettNames) throws ConfigException
secSettNames - The names of the security settings to removeConfigExceptionvoid removeFiletypeSettings(List fnames) throws ConfigException
fnames - ConfigExceptionvoid removeJobOptionSettings(List jobOptNames) throws ConfigException
jobOptNames - The names of the job option (settings) to removeConfigExceptionvoid setDefaultSettings(String sname, String jname, String aname) throws ConfigException, ConversionException
sname - jname - aname - ConfigExceptionConversionExceptionvoid importConfigurationXML(String configXML) throws ConfigException
configXML - ConfigExceptionvoid resetConfigurationToDefault()
throws ConfigException
ConfigExceptionMap getConfigurationSettingsMap()
String getConfigurationSetting(String key)
key - List<List<String>> getCSFAndEmbeddedProfiles(String noneLocalized) throws ConfigException
ConfigExceptionList<List<String>> getColorProfiles() throws ConfigException
ConfigExceptionMap<String,Map> getAllSettingsMapWithDefault() throws ConfigException
ConfigExceptionvoid 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 configurationConfigExceptionMap<String,String[]> getGeneralConfigMap() throws ConfigException
ConfigExceptionvoid updateGeneralConfig(Map<String,String[]> generalConfig) throws ConfigException
generalConfig - Map of general configurationConfigExceptionMap<String,String> getUserAccountsMap() throws ConfigException
ConfigExceptionvoid removeUserAccounts(List users) throws ConfigException
users - The names of the users to removeConfigExceptionboolean validateUserCredentials(String userName, String domainName, String password) throws ConfigException
userName - domainName - password - ConfigExceptionMap validateAllUsersCredentials() throws ConfigException
ConfigExceptionMap<String,List<String>> getOSAndUsers() throws ConfigException
ConfigExceptionList<File> getPDFGTempFolders() throws ConfigException
ConfigExceptionMap getAllValidUsersAccounts() throws ConfigException
ConfigExceptionCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.