filenet.vw.api
Class VWProcessStoreInitStruct
- java.lang.Object
-
- filenet.vw.api.VWProcessStoreInitStruct
-
- All Implemented Interfaces:
- java.io.Serializable
public final class VWProcessStoreInitStruct extends java.lang.Object implements java.io.SerializableThis class is used to bootstrap a Workflow System (which will also create a new isolated region) or add a new isolated region to an existing Workflow System.- Since:
- PE 5.2.0.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description VWProcessStoreInitStruct()Constructs an empty object.VWProcessStoreInitStruct(java.util.Properties theProperties)Creates an instance of this class initialized with the information from the specifiedPropertiesobject.VWProcessStoreInitStruct(java.lang.String propertyFileName)Creates an instance of this class initialized with the information from the specified property file.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidcommit(java.lang.String domain, java.lang.String userName, java.lang.String password, java.lang.String bootstrapCEURI)Commits this object's information to the server.java.lang.StringgetConnectionPointName()Gets the connection point name.java.lang.StringgetDatabaseSchemaName()Gets the name of the schema that should be used by the isolated region.java.lang.StringgetDataSourceName()Gets the database connection's local data source name.java.lang.StringgetDateTimeMask()Gets the date/time mask.java.lang.StringgetDBConnectionName()Gets the database connection name.java.lang.StringgetDefaultLocale()Gets the default locale.booleangetEnableRegionForBackup()Gets the region backup flag value.java.lang.BooleangetForceCaseInSensitive()Gets the bIsForceCaseInSensitive property value.intgetIsolatedRegionNumber()Gets the isolated region number.java.lang.StringgetProcessStoreBlobTableSpace()Gets the workflow system blob table space (or file group) name.java.lang.StringgetProcessStoreDataTableSpace()Gets the workflow system data table space (or file group) name.java.lang.StringgetProcessStoreIndexTableSpace()Gets the workflow system index table space (or file group) name.java.util.PropertiesgetProperties()Gets the current set of properties.java.lang.StringgetRegionDisplayName()Gets the isolated region display name.VWRDBObjectDefinition[]getRegionTableSpaceList()Gets the list of RDB objects that should be used by the isolated region.java.lang.StringgetSiteName()Gets the database connection's site name.java.lang.StringgetSysAdminGroupName()Gets the workflow system administrator LDAP group name.java.lang.StringgetSysConfigGroupName()Gets the workflow system configuration LDAP group name.java.lang.StringgetXADataSourceName()Gets the database connection's XA data source name.voidsetConnectionPointName(java.lang.String theConnectionPointName)Sets the connection point name.voidsetDatabaseSchemaName(java.lang.String theDatabaseSchemaName)Sets the name of the schema that should be used by the isolated region.voidsetDataSourceName(java.lang.String theDataSourceName)Sets the database connection's data source name.voidsetDateTimeMask(java.lang.String theDateTimeMask)Sets the date/time mask (example: "mm/dd/yyyy hh:tt:ss")voidsetDBConnectionName(java.lang.String theDBConnectionName)Sets the database connection name.voidsetDefaultLocale(java.lang.String theDefaultLocale)Sets the default locale, which is a valid ISO Language Code (e.g.voidsetEnableRegionForBackup(boolean enableRegionForBackup)(Optional) Sets the region backup flag value.voidsetForceCaseInSensitive(java.lang.Boolean bIsForceCaseInSensitive)Sets the bIsForceCaseInSensitive property value.voidsetIsolatedRegionNumber(int theIsolatedRegionNumber)Sets the isolated region number.voidsetProcessStoreBlobTableSpace(java.lang.String theProcessStoreBlobTableSpace)(Optional) Sets the workflow system blob table space (or file group) name.voidsetProcessStoreDataTableSpace(java.lang.String theProcessStoreDataTableSpace)Sets the workflow system data table space (or file group) name.voidsetProcessStoreIndexTableSpace(java.lang.String theProcessStoreIndexTableSpace)(Optional) Sets the workflow system index table space (or file group) name.voidsetRegionBlobTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation)(Optional) Set blob table space information for the isolated region.voidsetRegionDataTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation)(Optional) Set data table space information for the isolated region.voidsetRegionDisplayName(java.lang.String theRegionDisplayName)Sets the isolated region display name.voidsetRegionIndexTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation)(Optional) Set index table space information for the isolated region.voidsetSiteName(java.lang.String theSiteName)(Optional) Sets the database connection's site name.voidsetSysAdminGroupName(java.lang.String theSysAdminGroupName)Sets the workflow system administrator LDAP group name.voidsetSysConfigGroupName(java.lang.String theSysConfigGroupName)(Optional) Sets the workflow system configuration LDAP group name.voidsetXADataSourceName(java.lang.String theXADataSourceName)Sets the database connection's XA data source name.
-
-
-
Constructor Detail
-
VWProcessStoreInitStruct
public VWProcessStoreInitStruct() throws VWExceptionConstructs an empty object.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
VWProcessStoreInitStruct
public VWProcessStoreInitStruct(java.lang.String propertyFileName) throws VWExceptionCreates an instance of this class initialized with the information from the specified property file.- Parameters:
propertyFileName- The file name (and path) of the property file.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
VWProcessStoreInitStruct
public VWProcessStoreInitStruct(java.util.Properties theProperties) throws VWExceptionCreates an instance of this class initialized with the information from the specifiedPropertiesobject.- Parameters:
theProperties- A validPropertiesobject.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
-
Method Detail
-
getProperties
public java.util.Properties getProperties() throws VWExceptionGets the current set of properties.- Returns:
- A
Propertiesobject containing the current set of properties. - Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
commit
public void commit(java.lang.String domain, java.lang.String userName, java.lang.String password, java.lang.String bootstrapCEURI) throws VWExceptionCommits this object's information to the server. If the userName and password parameters are null, then a valid JAAS context is required.- Parameters:
domain- A valid domain name. (this parameter can be null)userName- A valid user name. (this parameter can be null)password- A valid password. (this parameter can be null)bootstrapCEURI- a "normalized" CE URI. (this parameter can be null)- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getDBConnectionName
public java.lang.String getDBConnectionName() throws VWExceptionGets the database connection name.- Returns:
- The database connection name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setConnectionPointName(String)
-
setDBConnectionName
public void setDBConnectionName(java.lang.String theDBConnectionName) throws VWExceptionSets the database connection name.- Parameters:
theDBConnectionName- The new database connection name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getDataSourceName
public java.lang.String getDataSourceName() throws VWExceptionGets the database connection's local data source name.- Returns:
- the database connection's local data source name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setDataSourceName(String)
-
setDataSourceName
public void setDataSourceName(java.lang.String theDataSourceName) throws VWExceptionSets the database connection's data source name. Not required if the database connection already exists in the GCD and you are only adding a new isolated region.- Parameters:
theDataSourceName- The local data source name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getXADataSourceName
public java.lang.String getXADataSourceName() throws VWExceptionGets the database connection's XA data source name.- Returns:
- the database connection's XA data source name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setXADataSourceName(String)
-
setXADataSourceName
public void setXADataSourceName(java.lang.String theXADataSourceName) throws VWExceptionSets the database connection's XA data source name. Not required if the database connection already exists in the GCD and you are only adding a new isolated region.- Parameters:
theXADataSourceName- The XA data source name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getSiteName
public java.lang.String getSiteName() throws VWExceptionGets the database connection's site name.- Returns:
- the database connection's site name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setSiteName(String)
-
setSiteName
public void setSiteName(java.lang.String theSiteName) throws VWException(Optional) Sets the database connection's site name. Not required if the default site should be used or the database connection already exists and you are only adding a new isolated region.- Parameters:
theSiteName- The name of an existing site in the GCD. Ifnullis specified, then the default site is used.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getDateTimeMask
public java.lang.String getDateTimeMask() throws VWExceptionGets the date/time mask.- Returns:
- The date/time mask
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setDateTimeMask(String)
-
setDateTimeMask
public void setDateTimeMask(java.lang.String theDateTimeMask) throws VWExceptionSets the date/time mask (example: "mm/dd/yyyy hh:tt:ss")Refer to the "Guidelines for DateTime Mask Entries" help topic in the InfoCenter for additional information.
- Parameters:
theDateTimeMask- A string containing the date/time mask. This will be validated by the server when this information is committed.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getDefaultLocale
public java.lang.String getDefaultLocale() throws VWExceptionGets the default locale.- Returns:
- the default locale
- Throws:
VWException- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setDefaultLocale(String)
-
setDefaultLocale
public void setDefaultLocale(java.lang.String theDefaultLocale) throws VWExceptionSets the default locale, which is a valid ISO Language Code (e.g. "en") A valid ISO Country Code can also be specified as part of the string (e.g. "en_US")- Parameters:
theDefaultLocale- The locale string. This must be one of the supported locales.- Throws:
VWException- Thrown for various causes, including an unsupported locale.- Since:
- PE 5.2.0.0
- See Also:
Locale
-
getSysAdminGroupName
public java.lang.String getSysAdminGroupName() throws VWExceptionGets the workflow system administrator LDAP group name.- Returns:
- The workflow system administrator LDAP group name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setSysAdminGroupName(String)
-
setSysAdminGroupName
public void setSysAdminGroupName(java.lang.String theSysAdminGroupName) throws VWExceptionSets the workflow system administrator LDAP group name.- Parameters:
theSysAdminGroupName- The workflow system administrator LDAP group name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getSysConfigGroupName
public java.lang.String getSysConfigGroupName() throws VWExceptionGets the workflow system configuration LDAP group name.- Returns:
- The workflow system configuration LDAP group name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setSysConfigGroupName(String)
-
setSysConfigGroupName
public void setSysConfigGroupName(java.lang.String theSysConfigGroupName) throws VWException(Optional) Sets the workflow system configuration LDAP group name.- Parameters:
theSysConfigGroupName- The workflow system configuration LDAP group name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getProcessStoreDataTableSpace
public java.lang.String getProcessStoreDataTableSpace() throws VWExceptionGets the workflow system data table space (or file group) name.- Returns:
- The table space (or file group) used for workflow system table data.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setProcessStoreDataTableSpace(String)
-
setProcessStoreDataTableSpace
public void setProcessStoreDataTableSpace(java.lang.String theProcessStoreDataTableSpace) throws VWExceptionSets the workflow system data table space (or file group) name.- Parameters:
theProcessStoreDataTableSpace- The data table space (or file group) name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getProcessStoreIndexTableSpace
public java.lang.String getProcessStoreIndexTableSpace() throws VWExceptionGets the workflow system index table space (or file group) name.- Returns:
- The table space (or file group) used for workflow system table indexes
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setProcessStoreIndexTableSpace(String)
-
setProcessStoreIndexTableSpace
public void setProcessStoreIndexTableSpace(java.lang.String theProcessStoreIndexTableSpace) throws VWException(Optional) Sets the workflow system index table space (or file group) name.- Parameters:
theProcessStoreIndexTableSpace- The index table space (or file group) name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getProcessStoreBlobTableSpace
public java.lang.String getProcessStoreBlobTableSpace() throws VWExceptionGets the workflow system blob table space (or file group) name.- Returns:
- The table space (or file group) used for workflow system blob columns.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setProcessStoreBlobTableSpace(String)
-
setProcessStoreBlobTableSpace
public void setProcessStoreBlobTableSpace(java.lang.String theProcessStoreBlobTableSpace) throws VWException(Optional) Sets the workflow system blob table space (or file group) name.- Parameters:
theProcessStoreBlobTableSpace- The blob table space (or file group) name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getRegionDisplayName
public java.lang.String getRegionDisplayName() throws VWExceptionGets the isolated region display name.- Returns:
- The isolated region display name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setRegionDisplayName(String)
-
setRegionDisplayName
public void setRegionDisplayName(java.lang.String theRegionDisplayName) throws VWExceptionSets the isolated region display name.- Parameters:
theRegionDisplayName- The isolated region display name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getIsolatedRegionNumber
public int getIsolatedRegionNumber() throws VWExceptionGets the isolated region number.- Returns:
- The isolated region number, or -1 if this property has not been set.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setIsolatedRegionNumber(int)
-
setIsolatedRegionNumber
public void setIsolatedRegionNumber(int theIsolatedRegionNumber) throws VWExceptionSets the isolated region number.- Parameters:
theIsolatedRegionNumber- The isolated region number. This value must be within 1 and 999.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getDatabaseSchemaName
public java.lang.String getDatabaseSchemaName() throws VWExceptionGets the name of the schema that should be used by the isolated region.- Returns:
- The database schema name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setDatabaseSchemaName(String)
-
setDatabaseSchemaName
public void setDatabaseSchemaName(java.lang.String theDatabaseSchemaName) throws VWExceptionSets the name of the schema that should be used by the isolated region.- Parameters:
theDatabaseSchemaName- The database schema name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getRegionTableSpaceList
public VWRDBObjectDefinition[] getRegionTableSpaceList() throws VWException
Gets the list of RDB objects that should be used by the isolated region.- Returns:
- An array of RDB objects used by the isolated region
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setRegionDataTableSpace(String, String, String, String),VWProcessStoreInitStruct.setRegionIndexTableSpace(String, String, String, String),VWProcessStoreInitStruct.setRegionBlobTableSpace(String, String, String, String),VWRDBObjectDefinition
-
setRegionDataTableSpace
public void setRegionDataTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation) throws VWException(Optional) Set data table space information for the isolated region.- Parameters:
theType- AStringcorresponding to one of the following:theLogicalTableName- The logical table name. This value can benull.theLogicalIndexName- The logical index name. This value can benull.theLocation- The name of the table space or file group.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWRDBObjectDefinition
-
setRegionIndexTableSpace
public void setRegionIndexTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation) throws VWException(Optional) Set index table space information for the isolated region.- Parameters:
theType- AStringcorresponding to one of the following:theLogicalTableName- The logical table name. This value can benull.theLogicalIndexName- The logical index name. This value can benull.theLocation- The name of the table space or file group.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWRDBObjectDefinition
-
setRegionBlobTableSpace
public void setRegionBlobTableSpace(java.lang.String theType, java.lang.String theLogicalTableName, java.lang.String theLogicalIndexName, java.lang.String theLocation) throws VWException(Optional) Set blob table space information for the isolated region.- Parameters:
theType- AStringcorresponding to one of the following:theLogicalTableName- The logical table name. This value can benull.theLogicalIndexName- The logical index name. This value can benull.theLocation- The name of the table space or file group.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWRDBObjectDefinition
-
getEnableRegionForBackup
public boolean getEnableRegionForBackup() throws VWExceptionGets the region backup flag value.- Returns:
trueIf region backup should be enabled.falseotherwise.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setEnableRegionForBackup(boolean)
-
setEnableRegionForBackup
public void setEnableRegionForBackup(boolean enableRegionForBackup) throws VWException(Optional) Sets the region backup flag value. If true, this isolated region's table spaces (or file groups) cannot be used by another isolated region (or the workflow system).- Parameters:
enableRegionForBackup- Specifytrueto enable region backup.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getConnectionPointName
public java.lang.String getConnectionPointName() throws VWExceptionGets the connection point name.- Returns:
- The connection point name.
- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
- See Also:
VWProcessStoreInitStruct.setConnectionPointName(String)
-
setConnectionPointName
public void setConnectionPointName(java.lang.String theConnectionPointName) throws VWExceptionSets the connection point name.- Parameters:
theConnectionPointName- The connection point name.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.0.0
-
getForceCaseInSensitive
public java.lang.Boolean getForceCaseInSensitive() throws VWExceptionGets the bIsForceCaseInSensitive property value.- Returns:
nullif the case insensitive property should be inherited from the containing object store.trueif case insensitivity should be enabled for the isolated region,falseotherwise.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.1.0
- See Also:
VWProcessStoreInitStruct.setForceCaseInSensitive(Boolean)
-
setForceCaseInSensitive
public void setForceCaseInSensitive(java.lang.Boolean bIsForceCaseInSensitive) throws VWExceptionSets the bIsForceCaseInSensitive property value.- Parameters:
bIsForceCaseInSensitive- Specifynullif the case insensitive property should be inherited from the containing object store.trueif case insensitivity should be enabled for the isolated region,falseotherwise.- Throws:
VWException- Thrown for various causes.- Since:
- PE 5.2.1.0
- See Also:
VWProcessStoreInitStruct.getForceCaseInSensitive()
-
-