Package com.avoka.fc.core.entity
Class ServiceDefinition
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._ServiceDefinition
-
- com.avoka.fc.core.entity.ServiceDefinition
-
- All Implemented Interfaces:
IEntity
,Auditable
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
@CacheGroups("CONFIG") public class ServiceDefinition extends _ServiceDefinition implements Auditable
Provides an entity describing a service definition. Service definitions provide functionality described by an interface. Multiple implementations (or multiple copies of the same implementation) may exist as service definitions, and can be configured at runtime.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static List<String>
CORE_SERVICE_TYPES
Collection of all service types used in FC core For a full list of all service types, please useServiceDefinitionDao.getAllServiceTypes()
static String
CREATION_METHOD_JAVA_CLASSNAME
The Definition Java Classname CREATION_METHOD_JAVA_CLASSNAME.static String
CREATION_METHOD_SPRING_BEAN
The Definition spring bean name CREATION_METHOD_SPRING_BEAN.static List<String>
GLOBAL_CORE_SERVICE_TYPES
The list of global core service types.static List<String>
GROOVY_SERVICE_TYPES
Collection of Groovy service types.static String
NAME_AND_VERSION_STRING_PROPERTY
An auxiliary property for displaying both name and version numberstatic List<String>
SERVICE_CREATION_METHODS
The Constant SERVICE_CREATION_METHODS String array.static String
SERVICE_TYPE_ABANDONED_DELIVERY_PROCESS
The service type for services delivering abandoned submissions to an Adobe LiveCycle processstatic String
SERVICE_TYPE_DATA_RETENTION_MANAGEMENT
The service type for services purging data and logsstatic String
SERVICE_TYPE_DELIVERY_FUNCTION
The service type for Delivery Functions.static String
SERVICE_TYPE_DELIVERY_PROCESS
The service type for services delivering submissions to an Adobe LiveCycle processstatic String
SERVICE_TYPE_DWH_TRANSACTION_HISTORY_PUBLISH
The service type for transaction history publishing services.static String
SERVICE_TYPE_DYNAMIC_DATA
The service type for services providing lookup data requested by forms, based on parameters provided by the formstatic String
SERVICE_TYPE_EMAIL_QUEUE
The service type for services managing an email queuestatic String
SERVICE_TYPE_EMAIL_SERVICE
The service type for generic Email Servicestatic String
SERVICE_TYPE_FIND_DELIVERY_PROCESS_ID
The service type for services finding the delivery process IDstatic String
SERVICE_TYPE_FLUENT_FUNCTION
The service type for Fluent Functions.static String
SERVICE_TYPE_FORM_META_DATA
The service type for services providing formatted meta datastatic String
SERVICE_TYPE_FORM_PDF_PRE_RENDER
The service type for services pre-rendering PDF forms.static String
SERVICE_TYPE_FORM_PREFILL
The service type for form prefill servicesstatic String
SERVICE_TYPE_FORM_SAVED_PROCESSOR
The service type for form saved processor servicesstatic String
SERVICE_TYPE_FORM_SECURITY_FILTER
The service type for form security filter servicesstatic String
SERVICE_TYPE_FORM_SUBMISSION_ACCESS_CONTROLLER
The service type for services selecting the appropriate version of a form to render at request timestatic String
SERVICE_TYPE_FORM_VERSION_SELECTOR
The service type for services selecting the appropriate version of a form to render at request timestatic String
SERVICE_TYPE_GROOVY_SERVICE
The service type for generic Groovy Servicestatic String
SERVICE_TYPE_JOB_ACTION
The service type for Job Action servicestatic String
SERVICE_TYPE_JOB_ACTION_WAIT
The service type for Job Action servicestatic String
SERVICE_TYPE_JOB_CONTROLLER
The service type for Job Controller servicestatic String
SERVICE_TYPE_JOB_DELIVERY
The service type for Job Delivery Wait servicestatic String
SERVICE_TYPE_JOB_DELIVERY_WAIT
The service type for Job Delivery Wait servicestatic String
SERVICE_TYPE_JOB_EXPIRY
The service type for Job Expiry servicestatic String
SERVICE_TYPE_JOB_FORM_START
The service type for Job Form Start servicestatic String
SERVICE_TYPE_JOB_PROCESS_MESSAGE
The service type for Job Process Message servicestatic String
SERVICE_TYPE_JOB_RECEIPT_WAIT
The service type for Job Receipt Wait servicestatic String
SERVICE_TYPE_JOB_TASK_ASSIGN
The service type for Job Task Assign servicestatic String
SERVICE_TYPE_JOB_TASK_WAIT
The service type for Job Task Wait servicestatic String
SERVICE_TYPE_LIVECYCLE_SERVICE
The service type for a arbitrary LiveCycle servicestatic String
SERVICE_TYPE_MEDIA_TYPE_SCAN
The service type for media type scan servicesstatic String
SERVICE_TYPE_PAYMENT_GATEWAY
The service type for payment gateway servicesstatic String
SERVICE_TYPE_PAYMENT_REMINDER_ALERT
The service type for services payment reminder alertstatic String
SERVICE_TYPE_RECEIPT_NUMBER
The service type for services assigning receipt numbers to submissionsstatic String
SERVICE_TYPE_RENDER_COMPOSER_HTML_FORM
The service type for Composer HTML form rendering servicesstatic String
SERVICE_TYPE_RENDER_OFFLINE_SUBMISSION_FORM
The service type for services rendering offline submission formsstatic String
SERVICE_TYPE_RENDER_RECEIPT
The service type for receipt rendering servicesstatic String
SERVICE_TYPE_REPOSITORY_PUBLISH
The service type for form template publishing servicesstatic String
SERVICE_TYPE_REPOSITORY_SYNCHRONIZE
The service type for template synchronization servicesstatic String
SERVICE_TYPE_SALESFORCE_CLIENT
The service type for SalesForce Client servicestatic String
SERVICE_TYPE_SCHEDULED_SERVICE
The service type for scheduled servicestatic String
SERVICE_TYPE_SUBMISSION_COMPLETED_PROCESSOR
The service type for submission completed processor servicesstatic String
SERVICE_TYPE_SUBMISSION_DATA_EXTRACTION
The service type for services extracting XML data from submitted formsstatic String
SERVICE_TYPE_SUBMISSION_DATA_STORAGE
The service type for submission data storage services.static String
SERVICE_TYPE_SUBMISSION_DATA_VALIDATOR
The service type for submission data validator services.static String
SERVICE_TYPE_SUBMISSION_DELIVERY_CONTROLLER
The service type for delivery controller servicesstatic String
SERVICE_TYPE_SUBMISSION_EMAIL_VERIFICATION
The service type for submission email verification servicesstatic String
SERVICE_TYPE_SUBMISSION_PREPROCESSOR
The service type for submission preprocessor servicesstatic String
SERVICE_TYPE_SUBMISSION_RECEIPT
The service type for submission receipt processing servicesstatic String
SERVICE_TYPE_SUBMISSION_SERVICE
The service type for submission servicestatic String
SERVICE_TYPE_SYSTEM_EVENT_PUBLISHER
The service type for system event publisherstatic String
SERVICE_TYPE_TASK_EXPIRY_PROCESS
The service type for Task Expiry Process servicesstatic String
SERVICE_TYPE_TEST_SUITE
The service type for unit test suitestatic String
SERVICE_TYPE_TRACKING_NUMBER
The service type for services generating transaction tracking numbersstatic String
SERVICE_TYPE_TRANSACTION_HISTORY_PUBLISHER
The service type for transaction history publishing services.static String
SERVICE_TYPE_TRANSACTION_PROCESSOR
The service type for services doing transaction processing (expiry, abandonment, receipting, delivery).static String
SERVICE_TYPE_TWO_FACTOR_AUTHENTICATION
The service type for services performing two authenticationstatic String
SERVICE_TYPE_VIRUS_SCAN
The service type for virus scan servicesstatic List<String>
SERVICE_TYPES_FOR_FORM_DEVELOPERS
Collection of service types used in FC core that should be accessible to form developersstatic List<String>
SERVICE_TYPES_FOR_FORMS
Collection of form service typesstatic List<String>
SERVICE_TYPES_FOR_JOBS
Collection of Job service types used in FC core that should be accessible to form developersstatic List<String>
SERVICE_TYPES_FUNCTIONS
The set of Fluent Function Types.static List<String>
SERVICE_TYPES_NO_USAGE
The set of service types for which showing usage doesn't make sense (mostly because TM always uses the default service but also including service types such as Groovy Service and Scheduled Service for which usage calculation is difficult)-
Fields inherited from class com.avoka.fc.core.entity.auto._ServiceDefinition
ACTION_JOB_ACTIONS, ACTION_JOB_ACTIONS_PROPERTY, ACTIVE_FLAG, ACTIVE_FLAG_PROPERTY, APPLICATION_SERVICES, APPLICATION_SERVICES_PROPERTY, CLASSNAME_BEANNAME, CLASSNAME_BEANNAME_PROPERTY, CLIENT, CLIENT_PROPERTY, COMPLETED_PROCESSOR_TEMPLATES, COMPLETED_PROCESSOR_TEMPLATES_PROPERTY, CONNECTION, CONNECTION_PROPERTY, CREATED_AT, CREATED_AT_PROPERTY, CREATED_BY, CREATED_BY_PROPERTY, CURRENT_VERSION_FLAG, CURRENT_VERSION_FLAG_PROPERTY, DELIVERY_DETAILS, DELIVERY_DETAILS_PROPERTY, DELIVERY_FUNCTIONS, DELIVERY_FUNCTIONS_PROPERTY, DESCRIPTION, DESCRIPTION_PROPERTY, EMAIL_CLIENTS, EMAIL_CLIENTS_PROPERTY, EMAIL_VERSIONS, EMAIL_VERSIONS_PROPERTY, EXPIRY_JOB_STEPS, EXPIRY_JOB_STEPS_PROPERTY, EXPIRY_PROCESS_TEMPLATES, EXPIRY_PROCESS_TEMPLATES_PROPERTY, FORM_FUNCTIONS, FORM_FUNCTIONS_PROPERTY, FORM_PREFILL_TEMPLATES, FORM_PREFILL_TEMPLATES_PROPERTY, FORMS, FORMS_PROPERTY, GROOVY_SERVICE_LOG, GROOVY_SERVICE_LOG_PROPERTY, JOB_CONTROLLER_VERSIONS, JOB_CONTROLLER_VERSIONS_PROPERTY, JOB_TEMPLATE_FLAG, JOB_TEMPLATE_FLAG_PROPERTY, JOBS, JOBS_PROPERTY, LAST_MODIFIED_AT, LAST_MODIFIED_AT_PROPERTY, LAST_MODIFIED_BY, LAST_MODIFIED_BY_PROPERTY, PARAMETERS, PARAMETERS_PROPERTY, PAYMENT_CLIENTS, PAYMENT_CLIENTS_PROPERTY, PREPROCESSOR_TEMPLATE_VERSIONS, PREPROCESSOR_TEMPLATE_VERSIONS_PROPERTY, RECEIPT_RENDER_SERVICE, RECEIPT_RENDER_SERVICE_PROPERTY, SAVED_PROCESSOR_VERSIONS, SAVED_PROCESSOR_VERSIONS_PROPERTY, SECURITY_FILTER_VERSIONS, SECURITY_FILTER_VERSIONS_PROPERTY, SERVER_NODE, SERVER_NODE_PROPERTY, SERVICE_CREATION_METHOD, SERVICE_CREATION_METHOD_PROPERTY, SERVICE_NAME, SERVICE_NAME_PROPERTY, SERVICE_OID_PK_COLUMN, SERVICE_TYPE, SERVICE_TYPE_DEFAULT_FLAG, SERVICE_TYPE_DEFAULT_FLAG_PROPERTY, SERVICE_TYPE_PROPERTY, STORAGE_CLIENTS, STORAGE_CLIENTS_PROPERTY, SUBMISSION_LIST, SUBMISSION_LIST_PROPERTY, TEST_PANEL_CLASSNAME, TEST_PANEL_CLASSNAME_PROPERTY, TM_MIN_VERSION, TM_MIN_VERSION_PROPERTY, TRACKING_NUMBER_FORMS, TRACKING_NUMBER_FORMS_PROPERTY, TWO_FACTOR_AUTHENTICATION_SECURITY_MANAGERS, TWO_FACTOR_AUTHENTICATION_SECURITY_MANAGERS_PROPERTY, UNIT_TEST_ENABLED_FLAG, UNIT_TEST_ENABLED_FLAG_PROPERTY, VALIDATOR_TEMPLATES, VALIDATOR_TEMPLATES_PROPERTY, VERSION_NUMBER, VERSION_NUMBER_PROPERTY, VERSION_SELECTOR_FORMS, VERSION_SELECTOR_FORMS_PROPERTY
-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description ServiceDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
getNameAndVersionString()
Return a string uniquely identifying the service by combining service name with version number.String
getNameVersionClientString()
Return a string uniquely identifying the service by combining service name with version number.String
getSecurityContext()
ServiceParameter
getServiceParameter(String name)
Return the service parameter for the given name.Map<String,String>
getServiceParameterMap()
Return a map of service parameter values keyed on service parameter name.Properties
getServiceParameterProperties(String serviceParameterName)
Return the Java properties for the specified service parameter name.Map<String,String>
getServiceParameterTypes()
Return a map of service parameter types keyed on service parameter name.List<Submission>
getSubmissionList()
Deprecated.Map<String,String>
getUnitTestServiceParameterMap()
Return a map of unit test service parameter values keyed on service parameter name.boolean
hasFormPropertyEditorDefinitionParameter()
boolean
isCoreServiceType()
Return true if a core service type.boolean
isDefaultType()
Return whether the service definition is the default for its type (alias for_ServiceDefinition.isServiceTypeDefaultFlag()
boolean
isFluentApiService()
boolean
isFormDevAccessible()
Return whether this service definition is accessible to form developers (users who have the permissionPermission#PERMISSION_FORM_SERVICE_EDIT
but notPermission#PERMISSION_SERVICE_EDIT
) Note that this decision is based on service type.boolean
isSpringBeanService()
-
Methods inherited from class com.avoka.fc.core.entity.auto._ServiceDefinition
addToActionJobActions, addToApplicationServices, addToCompletedProcessorTemplates, addToDeliveryDetails, addToDeliveryFunctions, addToEmailClients, addToEmailVersions, addToExpiryJobSteps, addToExpiryProcessTemplates, addToFormFunctions, addToFormPrefillTemplates, addToForms, addToGroovyServiceLog, addToJobControllerVersions, addToJobs, addToParameters, addToPaymentClients, addToPreprocessorTemplateVersions, addToReceiptRenderService, addToSavedProcessorVersions, addToSecurityFilterVersions, addToStorageClients, addToSubmissionList, addToTrackingNumberForms, addToTwoFactorAuthenticationSecurityManagers, addToValidatorTemplates, addToVersionSelectorForms, getActionJobActions, getApplicationServices, getClassnameBeanname, getClient, getCompletedProcessorTemplates, getConnection, getCreatedAt, getCreatedBy, getDeliveryDetails, getDeliveryFunctions, getDescription, getEmailClients, getEmailVersions, getExpiryJobSteps, getExpiryProcessTemplates, getFormFunctions, getFormPrefillTemplates, getForms, getGroovyServiceLog, getJobControllerVersions, getJobs, getLastModifiedAt, getLastModifiedBy, getParameters, getPaymentClients, getPreprocessorTemplateVersions, getReceiptRenderService, getSavedProcessorVersions, getSecurityFilterVersions, getServerNode, getServiceCreationMethod, getServiceName, getServiceType, getStorageClients, getTestPanelClassname, getTmMinVersion, getTrackingNumberForms, getTwoFactorAuthenticationSecurityManagers, getValidatorTemplates, getVersionNumber, getVersionSelectorForms, isActiveFlag, isCurrentVersionFlag, isJobTemplateFlag, isServiceTypeDefaultFlag, isUnitTestEnabledFlag, removeFromActionJobActions, removeFromApplicationServices, removeFromCompletedProcessorTemplates, removeFromDeliveryDetails, removeFromDeliveryFunctions, removeFromEmailClients, removeFromEmailVersions, removeFromExpiryJobSteps, removeFromExpiryProcessTemplates, removeFromFormFunctions, removeFromFormPrefillTemplates, removeFromForms, removeFromGroovyServiceLog, removeFromJobControllerVersions, removeFromJobs, removeFromParameters, removeFromPaymentClients, removeFromPreprocessorTemplateVersions, removeFromReceiptRenderService, removeFromSavedProcessorVersions, removeFromSecurityFilterVersions, removeFromStorageClients, removeFromSubmissionList, removeFromTrackingNumberForms, removeFromTwoFactorAuthenticationSecurityManagers, removeFromValidatorTemplates, removeFromVersionSelectorForms, setActiveFlag, setClassnameBeanname, setClient, setConnection, setCreatedAt, setCreatedBy, setCurrentVersionFlag, setDescription, setJobTemplateFlag, setLastModifiedAt, setLastModifiedBy, setServerNode, setServiceCreationMethod, setServiceName, setServiceType, setServiceTypeDefaultFlag, setTestPanelClassname, setTmMinVersion, setUnitTestEnabledFlag, setVersionNumber
-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.avoka.fc.core.entity.Auditable
getId, getValuesMap
-
-
-
-
Field Detail
-
NAME_AND_VERSION_STRING_PROPERTY
public static final String NAME_AND_VERSION_STRING_PROPERTY
An auxiliary property for displaying both name and version number- See Also:
- Constant Field Values
-
SERVICE_TYPE_ABANDONED_DELIVERY_PROCESS
public static final String SERVICE_TYPE_ABANDONED_DELIVERY_PROCESS
The service type for services delivering abandoned submissions to an Adobe LiveCycle process- See Also:
- Constant Field Values
-
SERVICE_TYPE_DATA_RETENTION_MANAGEMENT
public static final String SERVICE_TYPE_DATA_RETENTION_MANAGEMENT
The service type for services purging data and logs- See Also:
- Constant Field Values
-
SERVICE_TYPE_DELIVERY_FUNCTION
public static final String SERVICE_TYPE_DELIVERY_FUNCTION
The service type for Delivery Functions.- See Also:
- Constant Field Values
-
SERVICE_TYPE_DELIVERY_PROCESS
public static final String SERVICE_TYPE_DELIVERY_PROCESS
The service type for services delivering submissions to an Adobe LiveCycle process- See Also:
- Constant Field Values
-
SERVICE_TYPE_DYNAMIC_DATA
public static final String SERVICE_TYPE_DYNAMIC_DATA
The service type for services providing lookup data requested by forms, based on parameters provided by the form- See Also:
- Constant Field Values
-
SERVICE_TYPE_EMAIL_QUEUE
public static final String SERVICE_TYPE_EMAIL_QUEUE
The service type for services managing an email queue- See Also:
- Constant Field Values
-
SERVICE_TYPE_FIND_DELIVERY_PROCESS_ID
public static final String SERVICE_TYPE_FIND_DELIVERY_PROCESS_ID
The service type for services finding the delivery process ID- See Also:
- Constant Field Values
-
SERVICE_TYPE_FLUENT_FUNCTION
public static final String SERVICE_TYPE_FLUENT_FUNCTION
The service type for Fluent Functions.- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_META_DATA
public static final String SERVICE_TYPE_FORM_META_DATA
The service type for services providing formatted meta data- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_PDF_PRE_RENDER
public static final String SERVICE_TYPE_FORM_PDF_PRE_RENDER
The service type for services pre-rendering PDF forms.- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_PREFILL
public static final String SERVICE_TYPE_FORM_PREFILL
The service type for form prefill services- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_SAVED_PROCESSOR
public static final String SERVICE_TYPE_FORM_SAVED_PROCESSOR
The service type for form saved processor services- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_SECURITY_FILTER
public static final String SERVICE_TYPE_FORM_SECURITY_FILTER
The service type for form security filter services- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_VERSION_SELECTOR
public static final String SERVICE_TYPE_FORM_VERSION_SELECTOR
The service type for services selecting the appropriate version of a form to render at request time- See Also:
- Constant Field Values
-
SERVICE_TYPE_FORM_SUBMISSION_ACCESS_CONTROLLER
public static final String SERVICE_TYPE_FORM_SUBMISSION_ACCESS_CONTROLLER
The service type for services selecting the appropriate version of a form to render at request time- See Also:
- Constant Field Values
-
SERVICE_TYPE_EMAIL_SERVICE
public static final String SERVICE_TYPE_EMAIL_SERVICE
The service type for generic Email Service- See Also:
- Constant Field Values
-
SERVICE_TYPE_GROOVY_SERVICE
public static final String SERVICE_TYPE_GROOVY_SERVICE
The service type for generic Groovy Service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_ACTION
public static final String SERVICE_TYPE_JOB_ACTION
The service type for Job Action service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_ACTION_WAIT
public static final String SERVICE_TYPE_JOB_ACTION_WAIT
The service type for Job Action service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_CONTROLLER
public static final String SERVICE_TYPE_JOB_CONTROLLER
The service type for Job Controller service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_DELIVERY
public static final String SERVICE_TYPE_JOB_DELIVERY
The service type for Job Delivery Wait service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_DELIVERY_WAIT
public static final String SERVICE_TYPE_JOB_DELIVERY_WAIT
The service type for Job Delivery Wait service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_EXPIRY
public static final String SERVICE_TYPE_JOB_EXPIRY
The service type for Job Expiry service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_FORM_START
public static final String SERVICE_TYPE_JOB_FORM_START
The service type for Job Form Start service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_PROCESS_MESSAGE
public static final String SERVICE_TYPE_JOB_PROCESS_MESSAGE
The service type for Job Process Message service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_RECEIPT_WAIT
public static final String SERVICE_TYPE_JOB_RECEIPT_WAIT
The service type for Job Receipt Wait service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_TASK_ASSIGN
public static final String SERVICE_TYPE_JOB_TASK_ASSIGN
The service type for Job Task Assign service- See Also:
- Constant Field Values
-
SERVICE_TYPE_JOB_TASK_WAIT
public static final String SERVICE_TYPE_JOB_TASK_WAIT
The service type for Job Task Wait service- See Also:
- Constant Field Values
-
SERVICE_TYPE_LIVECYCLE_SERVICE
public static final String SERVICE_TYPE_LIVECYCLE_SERVICE
The service type for a arbitrary LiveCycle service- See Also:
- Constant Field Values
-
SERVICE_TYPE_MEDIA_TYPE_SCAN
public static final String SERVICE_TYPE_MEDIA_TYPE_SCAN
The service type for media type scan services- See Also:
- Constant Field Values
-
SERVICE_TYPE_TWO_FACTOR_AUTHENTICATION
public static final String SERVICE_TYPE_TWO_FACTOR_AUTHENTICATION
The service type for services performing two authentication- See Also:
- Constant Field Values
-
SERVICE_TYPE_PAYMENT_GATEWAY
public static final String SERVICE_TYPE_PAYMENT_GATEWAY
The service type for payment gateway services- See Also:
- Constant Field Values
-
SERVICE_TYPE_PAYMENT_REMINDER_ALERT
public static final String SERVICE_TYPE_PAYMENT_REMINDER_ALERT
The service type for services payment reminder alert- See Also:
- Constant Field Values
-
SERVICE_TYPE_RECEIPT_NUMBER
public static final String SERVICE_TYPE_RECEIPT_NUMBER
The service type for services assigning receipt numbers to submissions- See Also:
- Constant Field Values
-
SERVICE_TYPE_RENDER_COMPOSER_HTML_FORM
public static final String SERVICE_TYPE_RENDER_COMPOSER_HTML_FORM
The service type for Composer HTML form rendering services- See Also:
- Constant Field Values
-
SERVICE_TYPE_RENDER_OFFLINE_SUBMISSION_FORM
public static final String SERVICE_TYPE_RENDER_OFFLINE_SUBMISSION_FORM
The service type for services rendering offline submission forms- See Also:
- Constant Field Values
-
SERVICE_TYPE_RENDER_RECEIPT
public static final String SERVICE_TYPE_RENDER_RECEIPT
The service type for receipt rendering services- See Also:
- Constant Field Values
-
SERVICE_TYPE_REPOSITORY_PUBLISH
public static final String SERVICE_TYPE_REPOSITORY_PUBLISH
The service type for form template publishing services- See Also:
- Constant Field Values
-
SERVICE_TYPE_REPOSITORY_SYNCHRONIZE
public static final String SERVICE_TYPE_REPOSITORY_SYNCHRONIZE
The service type for template synchronization services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SALESFORCE_CLIENT
public static final String SERVICE_TYPE_SALESFORCE_CLIENT
The service type for SalesForce Client service- See Also:
- Constant Field Values
-
SERVICE_TYPE_SCHEDULED_SERVICE
public static final String SERVICE_TYPE_SCHEDULED_SERVICE
The service type for scheduled service- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_COMPLETED_PROCESSOR
public static final String SERVICE_TYPE_SUBMISSION_COMPLETED_PROCESSOR
The service type for submission completed processor services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_DATA_EXTRACTION
public static final String SERVICE_TYPE_SUBMISSION_DATA_EXTRACTION
The service type for services extracting XML data from submitted forms- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_DATA_STORAGE
public static final String SERVICE_TYPE_SUBMISSION_DATA_STORAGE
The service type for submission data storage services.- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_DATA_VALIDATOR
public static final String SERVICE_TYPE_SUBMISSION_DATA_VALIDATOR
The service type for submission data validator services.- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_DELIVERY_CONTROLLER
public static final String SERVICE_TYPE_SUBMISSION_DELIVERY_CONTROLLER
The service type for delivery controller services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_EMAIL_VERIFICATION
public static final String SERVICE_TYPE_SUBMISSION_EMAIL_VERIFICATION
The service type for submission email verification services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_PREPROCESSOR
public static final String SERVICE_TYPE_SUBMISSION_PREPROCESSOR
The service type for submission preprocessor services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_RECEIPT
public static final String SERVICE_TYPE_SUBMISSION_RECEIPT
The service type for submission receipt processing services- See Also:
- Constant Field Values
-
SERVICE_TYPE_SUBMISSION_SERVICE
public static final String SERVICE_TYPE_SUBMISSION_SERVICE
The service type for submission service- See Also:
- Constant Field Values
-
SERVICE_TYPE_SYSTEM_EVENT_PUBLISHER
public static final String SERVICE_TYPE_SYSTEM_EVENT_PUBLISHER
The service type for system event publisher- See Also:
- Constant Field Values
-
SERVICE_TYPE_TASK_EXPIRY_PROCESS
public static final String SERVICE_TYPE_TASK_EXPIRY_PROCESS
The service type for Task Expiry Process services- See Also:
- Constant Field Values
-
SERVICE_TYPE_TEST_SUITE
public static final String SERVICE_TYPE_TEST_SUITE
The service type for unit test suite- See Also:
- Constant Field Values
-
SERVICE_TYPE_TRACKING_NUMBER
public static final String SERVICE_TYPE_TRACKING_NUMBER
The service type for services generating transaction tracking numbers- See Also:
- Constant Field Values
-
SERVICE_TYPE_DWH_TRANSACTION_HISTORY_PUBLISH
public static final String SERVICE_TYPE_DWH_TRANSACTION_HISTORY_PUBLISH
The service type for transaction history publishing services.- See Also:
- Constant Field Values
-
SERVICE_TYPE_TRANSACTION_HISTORY_PUBLISHER
public static final String SERVICE_TYPE_TRANSACTION_HISTORY_PUBLISHER
The service type for transaction history publishing services.- See Also:
- Constant Field Values
-
SERVICE_TYPE_TRANSACTION_PROCESSOR
public static final String SERVICE_TYPE_TRANSACTION_PROCESSOR
The service type for services doing transaction processing (expiry, abandonment, receipting, delivery).- See Also:
- Constant Field Values
-
SERVICE_TYPE_VIRUS_SCAN
public static final String SERVICE_TYPE_VIRUS_SCAN
The service type for virus scan services- See Also:
- Constant Field Values
-
CREATION_METHOD_JAVA_CLASSNAME
public static final String CREATION_METHOD_JAVA_CLASSNAME
The Definition Java Classname CREATION_METHOD_JAVA_CLASSNAME.- See Also:
- Constant Field Values
-
CREATION_METHOD_SPRING_BEAN
public static final String CREATION_METHOD_SPRING_BEAN
The Definition spring bean name CREATION_METHOD_SPRING_BEAN.- See Also:
- Constant Field Values
-
CORE_SERVICE_TYPES
public static final List<String> CORE_SERVICE_TYPES
Collection of all service types used in FC core For a full list of all service types, please useServiceDefinitionDao.getAllServiceTypes()
-
GLOBAL_CORE_SERVICE_TYPES
public static final List<String> GLOBAL_CORE_SERVICE_TYPES
The list of global core service types.
-
GROOVY_SERVICE_TYPES
public static final List<String> GROOVY_SERVICE_TYPES
Collection of Groovy service types.
-
SERVICE_TYPES_FOR_FORM_DEVELOPERS
public static final List<String> SERVICE_TYPES_FOR_FORM_DEVELOPERS
Collection of service types used in FC core that should be accessible to form developers
-
SERVICE_TYPES_FOR_FORMS
public static final List<String> SERVICE_TYPES_FOR_FORMS
Collection of form service types
-
SERVICE_TYPES_FOR_JOBS
public static final List<String> SERVICE_TYPES_FOR_JOBS
Collection of Job service types used in FC core that should be accessible to form developers
-
SERVICE_TYPES_NO_USAGE
public static final List<String> SERVICE_TYPES_NO_USAGE
The set of service types for which showing usage doesn't make sense (mostly because TM always uses the default service but also including service types such as Groovy Service and Scheduled Service for which usage calculation is difficult)
-
SERVICE_TYPES_FUNCTIONS
public static final List<String> SERVICE_TYPES_FUNCTIONS
The set of Fluent Function Types.
-
-
Method Detail
-
isSpringBeanService
public boolean isSpringBeanService()
- Returns:
- Return true if the service creation method is 'Spring Bean'
-
isDefaultType
public boolean isDefaultType()
Return whether the service definition is the default for its type (alias for_ServiceDefinition.isServiceTypeDefaultFlag()
- Returns:
- true if the service definition is the default
-
isCoreServiceType
public boolean isCoreServiceType()
Return true if a core service type.- Returns:
- true if a core service type
- Since:
- 4.2.0
-
getServiceParameter
public ServiceParameter getServiceParameter(String name)
Return the service parameter for the given name.- Parameters:
name
- the name of the service parameter- Returns:
- the service parameter for the given name
-
getServiceParameterProperties
public Properties getServiceParameterProperties(String serviceParameterName)
Return the Java properties for the specified service parameter name.- Parameters:
serviceParameterName
- the service parameter name- Returns:
- Properties the Java properties for the service parameter
-
getServiceParameterMap
public Map<String,String> getServiceParameterMap()
Return a map of service parameter values keyed on service parameter name. Service parameters which are test case parameters are not included.- Returns:
- map of service parameter values keyed on service parameter name.
-
getUnitTestServiceParameterMap
public Map<String,String> getUnitTestServiceParameterMap()
Return a map of unit test service parameter values keyed on service parameter name.- Returns:
- a map of unit test service parameter values keyed on service parameter name.
- Since:
- 4.3.0
-
getServiceParameterTypes
public Map<String,String> getServiceParameterTypes()
Return a map of service parameter types keyed on service parameter name.- Returns:
- map of service parameter types keyed on service parameter name.
- Since:
- 4.0.0
-
isFormDevAccessible
public boolean isFormDevAccessible()
Return whether this service definition is accessible to form developers (users who have the permissionPermission#PERMISSION_FORM_SERVICE_EDIT
but notPermission#PERMISSION_SERVICE_EDIT
) Note that this decision is based on service type.- Returns:
- true if this service definition is accessible to form developers
-
hasFormPropertyEditorDefinitionParameter
public boolean hasFormPropertyEditorDefinitionParameter()
- Returns:
- true if the service has as 'Form Property Editor Definition' property.
- Since:
- 4.2.0
-
getNameAndVersionString
public String getNameAndVersionString()
Return a string uniquely identifying the service by combining service name with version number.- Returns:
- a string combining name with version number
- Since:
- 4.3.0
-
getNameVersionClientString
public String getNameVersionClientString()
Return a string uniquely identifying the service by combining service name with version number. If the service belongs to an organization, the organization code is also added.- Returns:
- a string combining name with version number and client code (if applicable)
- Since:
- 17.10.0
-
getSubmissionList
@Deprecated public List<Submission> getSubmissionList()
Deprecated.Do not call this method.- Overrides:
getSubmissionList
in class_ServiceDefinition
- Returns:
- an empty list
- Since:
- 4.3.4
-
isFluentApiService
public boolean isFluentApiService()
- Returns:
- true if a Fluent API Service class.
- Since:
- 5.0.0
-
getSecurityContext
public String getSecurityContext()
- Returns:
- the security execution context
- Since:
- 17.10.0
-
-