com.adobe.icc.dbforms.util
Class DBConstants

java.lang.Object
  extended by com.adobe.icc.dbforms.util.DBConstants

public final class DBConstants
extends Object

Global constants for the Asset Composer Building Block, referenced by the services and render libraries.


Field Summary
static String BASIC_LOGIN
          Spring BASIC Login mode.
static String BULLET_REGEX
          Regular Expression for our bullet/number chacracter syntax.
Match --
<*>, <#> for first level bullet and number respectively;
<*[any combinations of * and #]> for nested bullets;
<#[any combinations of * and #]> for nested numbers;
<#[any combinations of * and #], [number syntax]> for a custom number syntax;
<#[any combinations of * and #], *[number syntax]> for a custom number syntax, with compounding
<*[any combinations of * and #], [number syntax]> for a custom number syntax;
<*[any combinations of * and #], *[number syntax]> for a custom number syntax, with compounding
static String BULLET_STYLE_SEPARATOR
          Separator of bullet with its style.
static String BULLET_UNICODE
          Unicode for a bullet character.
static int CATEGORY_LOWER
          Identifier for Subcategory.
static String CATEGORY_NONE_ID
          Identifier for undefined Category.
static String CATEGORY_NONE_NAME
          Name for undefined Category.
static int CATEGORY_NONE_TYPE
          Type for undefined Category.
static int CATEGORY_UPPER
          Identifier for Category.
static String CFG_KEY_TEMP_FOLDER
          Key for temporary folder path.
static String DD_NAME_SEPARATOR
          Data Dictionary name separator from the Data Dictionary Element name.
static String DDE_SEPARATOR
          Separator of DD name and the DDE name.
static String DEFAULT_SEPARATOR
          Default separator string for a repeatable item, if a custom one is not specified.
static String DEFAULT_TMP_FOLDER
          Default temporary folder taken from java system properties.
static boolean enablePush
          Flag determining whether LCDS push functionality is to be enabled.
static String EXPRESSION_ATTR
          String syntax for specifying the separator of a repeatable item.
static String INITIAL_URL
          Constant for the Initial URL session attribute.
static String INITIAL_URL_PARAMS
          Constant for the Initial URL parameters session attribute.
static int INITIAL_VERSION
          Initial version number for assets.
static String messageBrokerId
          Bean ID of the configured Message Broker.
static int OBJ_TYPE_CTBX
          Object type id for a ConditionalDataModule.
static int OBJ_TYPE_DOCUMENT
          Object type id for PortfolioDocument.
static int OBJ_TYPE_FORM
          Object type id for a Form.
static int OBJ_TYPE_IMAGE
          Object type id for ImageModule.
static int OBJ_TYPE_LETTER
          Object type id for a Letter.
static int OBJ_TYPE_LIST
          Object type id for a ListDataModule.
static int OBJ_TYPE_PORTFOLIO
          Object type id for Portfolio.
static int OBJ_TYPE_TBX
          Object type id for a TextModule.
static String PROTECTED_VARIABLE_POSTFIX
          Identifier postfix for a protected Variable.
static String PROTECTED_VARIABLE_PREFIX
          Identifier prefix for a protected Variable.
static String REPEAT_BEGIN
          String syntax that marks the beginning of a repeatable element.
static String REPEAT_END
          String syntax that marks the end of a repeatable element.
static String SEPARATOR_ATTR
          String syntax for specifying the separator of a repeatable item.
static String SEPARATOR_END
          String syntax for end of the separator of a repeatable item.
static String SSO_LOGIN
          SSO Login mode.
static int STATE_ACTIVE
          Identifier for ACTIVE asset state.
static int STATE_ARCHIVE
          Identifier for ARCHIVE asset state.
static int STATE_TEST
          Identifier for INACTIVE a.k.a TEST asset state.
static String SYSTEM_USER
          User to represent system.
static String TEXTMODULE_FLASHHTML_NODE_XPATH
          XPATH to the <flashRichText> node in the TextModule XML content.
static String TEXTMODULE_TLFTEXT_NODE_XPATH
          XPATH to the <tlfText> node in the TextModule XML content.
static String TEXTMODULE_XHTML_NODE_XPATH
          XPATH to the XFA XHTML <body> node in the TextModule XML content.
static String UNPROTECTED_VARIABLE_POSTFIX
          Identifier postfix for an unprotected Variable.
static String UNPROTECTED_VARIABLE_PREFIX
          Identifier prefix for an unprotected Variable.
 
Constructor Summary
DBConstants()
           
 
Method Summary
 void setEnablePush(boolean enablePushParam)
          Sets whether push functionality is to be enabled.
 void setMessageBrokerId(String messageBroker)
          Sets the Message Broker Bean ID.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SSO_LOGIN

public static final String SSO_LOGIN
SSO Login mode.

See Also:
Constant Field Values

BASIC_LOGIN

public static final String BASIC_LOGIN
Spring BASIC Login mode.

See Also:
Constant Field Values

INITIAL_URL

public static final String INITIAL_URL
Constant for the Initial URL session attribute.

See Also:
Constant Field Values

INITIAL_URL_PARAMS

public static final String INITIAL_URL_PARAMS
Constant for the Initial URL parameters session attribute.

See Also:
Constant Field Values

REPEAT_END

public static final String REPEAT_END
String syntax that marks the end of a repeatable element.

See Also:
Constant Field Values

REPEAT_BEGIN

public static final String REPEAT_BEGIN
String syntax that marks the beginning of a repeatable element. Note that we have left out the ending '>' from the tag, since there may be a separator attribute specified. In that case, the tag may be something like '{
See Also:
Constant Field Values

SEPARATOR_ATTR

public static final String SEPARATOR_ATTR
String syntax for specifying the separator of a repeatable item.

See Also:
Constant Field Values

EXPRESSION_ATTR

public static final String EXPRESSION_ATTR
String syntax for specifying the separator of a repeatable item.

See Also:
Constant Field Values

SEPARATOR_END

public static final String SEPARATOR_END
String syntax for end of the separator of a repeatable item.

See Also:
Constant Field Values

DEFAULT_SEPARATOR

public static final String DEFAULT_SEPARATOR
Default separator string for a repeatable item, if a custom one is not specified.

See Also:
Constant Field Values

BULLET_REGEX

public static final String BULLET_REGEX
Regular Expression for our bullet/number chacracter syntax.
Match --
<*>, <#> for first level bullet and number respectively;
<*[any combinations of * and #]> for nested bullets;
<#[any combinations of * and #]> for nested numbers;
<#[any combinations of * and #], [number syntax]> for a custom number syntax;
<#[any combinations of * and #], *[number syntax]> for a custom number syntax, with compounding
<*[any combinations of * and #], [number syntax]> for a custom number syntax;
<*[any combinations of * and #], *[number syntax]> for a custom number syntax, with compounding

See Also:
Constant Field Values

BULLET_STYLE_SEPARATOR

public static final String BULLET_STYLE_SEPARATOR
Separator of bullet with its style.

See Also:
Constant Field Values

BULLET_UNICODE

public static final String BULLET_UNICODE
Unicode for a bullet character.

See Also:
Constant Field Values

DD_NAME_SEPARATOR

public static final String DD_NAME_SEPARATOR
Data Dictionary name separator from the Data Dictionary Element name. E.g. "someDDName:ddRoot.child1.child2"

See Also:
Constant Field Values

DDE_SEPARATOR

public static final String DDE_SEPARATOR
Separator of DD name and the DDE name.

See Also:
Constant Field Values

PROTECTED_VARIABLE_PREFIX

public static final String PROTECTED_VARIABLE_PREFIX
Identifier prefix for a protected Variable.

See Also:
Constant Field Values

PROTECTED_VARIABLE_POSTFIX

public static final String PROTECTED_VARIABLE_POSTFIX
Identifier postfix for a protected Variable.

See Also:
Constant Field Values

UNPROTECTED_VARIABLE_PREFIX

public static final String UNPROTECTED_VARIABLE_PREFIX
Identifier prefix for an unprotected Variable.

See Also:
Constant Field Values

UNPROTECTED_VARIABLE_POSTFIX

public static final String UNPROTECTED_VARIABLE_POSTFIX
Identifier postfix for an unprotected Variable.

See Also:
Constant Field Values

TEXTMODULE_XHTML_NODE_XPATH

public static final String TEXTMODULE_XHTML_NODE_XPATH
XPATH to the XFA XHTML <body> node in the TextModule XML content.

See Also:
Constant Field Values

TEXTMODULE_FLASHHTML_NODE_XPATH

public static final String TEXTMODULE_FLASHHTML_NODE_XPATH
XPATH to the <flashRichText> node in the TextModule XML content.

See Also:
Constant Field Values

TEXTMODULE_TLFTEXT_NODE_XPATH

public static final String TEXTMODULE_TLFTEXT_NODE_XPATH
XPATH to the <tlfText> node in the TextModule XML content.

See Also:
Constant Field Values

SYSTEM_USER

public static String SYSTEM_USER
User to represent system. Will be used to track actions that are done by system.


CATEGORY_UPPER

public static final int CATEGORY_UPPER
Identifier for Category.

See Also:
Constant Field Values

CATEGORY_LOWER

public static final int CATEGORY_LOWER
Identifier for Subcategory.

See Also:
Constant Field Values

CATEGORY_NONE_NAME

public static final String CATEGORY_NONE_NAME
Name for undefined Category.

See Also:
Constant Field Values

CATEGORY_NONE_ID

public static final String CATEGORY_NONE_ID
Identifier for undefined Category.

See Also:
Constant Field Values

CATEGORY_NONE_TYPE

public static final int CATEGORY_NONE_TYPE
Type for undefined Category.

See Also:
Constant Field Values

INITIAL_VERSION

public static final int INITIAL_VERSION
Initial version number for assets.

See Also:
Constant Field Values

OBJ_TYPE_LETTER

public static final int OBJ_TYPE_LETTER
Object type id for a Letter.

See Also:
Constant Field Values

OBJ_TYPE_FORM

public static final int OBJ_TYPE_FORM
Object type id for a Form.

See Also:
Constant Field Values

OBJ_TYPE_TBX

public static final int OBJ_TYPE_TBX
Object type id for a TextModule.

See Also:
Constant Field Values

OBJ_TYPE_CTBX

public static final int OBJ_TYPE_CTBX
Object type id for a ConditionalDataModule.

See Also:
Constant Field Values

OBJ_TYPE_LIST

public static final int OBJ_TYPE_LIST
Object type id for a ListDataModule.

See Also:
Constant Field Values

OBJ_TYPE_PORTFOLIO

public static final int OBJ_TYPE_PORTFOLIO
Object type id for Portfolio.

See Also:
Constant Field Values

OBJ_TYPE_IMAGE

public static final int OBJ_TYPE_IMAGE
Object type id for ImageModule.

See Also:
Constant Field Values

OBJ_TYPE_DOCUMENT

public static final int OBJ_TYPE_DOCUMENT
Object type id for PortfolioDocument.

See Also:
Constant Field Values

STATE_ACTIVE

public static final int STATE_ACTIVE
Identifier for ACTIVE asset state.

See Also:
Constant Field Values

STATE_TEST

public static final int STATE_TEST
Identifier for INACTIVE a.k.a TEST asset state.

See Also:
Constant Field Values

STATE_ARCHIVE

public static final int STATE_ARCHIVE
Identifier for ARCHIVE asset state.

See Also:
Constant Field Values

DEFAULT_TMP_FOLDER

public static final String DEFAULT_TMP_FOLDER
Default temporary folder taken from java system properties.


CFG_KEY_TEMP_FOLDER

public static final String CFG_KEY_TEMP_FOLDER
Key for temporary folder path.

See Also:
Constant Field Values

messageBrokerId

public static String messageBrokerId
Bean ID of the configured Message Broker.


enablePush

public static boolean enablePush
Flag determining whether LCDS push functionality is to be enabled.

Constructor Detail

DBConstants

public DBConstants()
Method Detail

setMessageBrokerId

public void setMessageBrokerId(String messageBroker)
Sets the Message Broker Bean ID.

Parameters:
messageBroker - The Message Broker Bean ID.

setEnablePush

public void setEnablePush(boolean enablePushParam)
Sets whether push functionality is to be enabled.

Parameters:
enablePushParam - Whether push functionality is to be enabled.


[an error occurred while processing this directive] [an error occurred while processing this directive]