public class ActionLogBuilder
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DATA_SOURCE_VIEW_NAMESPACE |
Constructor and Description |
---|
ActionLogBuilder() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
build(ActionLogInfo actionLogInfo)
This method is responsible for building an action log script based on a maximo xml input.
|
static void |
build(ActionLogInfo actionLogInfo,
java.io.Reader in,
java.io.Writer writer) |
static void |
build(java.io.Reader in,
java.io.Writer writer,
java.lang.String databaseType,
java.lang.String databaseSchema,
java.lang.String databaseName,
java.lang.String dataSourceName,
java.lang.String contentStorePackageLocation)
This method is responsible for building an action log script based on a maximo xml input reader.
|
static void |
build(java.io.Reader in,
java.io.Writer writer,
java.lang.String databaseType,
java.lang.String databaseSchema,
java.lang.String databaseName,
java.lang.String dataSourceName,
java.lang.String contentStorePackageLocation,
boolean isMultiserver)
This method is responsible for building an action log script based on a maximo xml input reader.
|
static java.lang.String |
build(java.lang.String inputModel,
java.lang.String databaseType,
java.lang.String databaseSchema,
java.lang.String databaseName,
java.lang.String dataSourceName,
java.lang.String contentStorePackageLocation)
This method is responsible for building an action log script based on a maximo xml input
|
static java.lang.String |
build(java.lang.String inputModel,
java.lang.String databaseType,
java.lang.String databaseSchema,
java.lang.String databaseName,
java.lang.String dataSourceName,
java.lang.String contentStorePackageLocation,
boolean isMultiserver)
This method is responsible for building an action log script based on a maximo xml input.
|
public static final java.lang.String DATA_SOURCE_VIEW_NAMESPACE
public static java.lang.String build(java.lang.String inputModel, java.lang.String databaseType, java.lang.String databaseSchema, java.lang.String databaseName, java.lang.String dataSourceName, java.lang.String contentStorePackageLocation) throws CognosTransformationException
This method is responsible for building an action log script based on a maximo xml input
The method does the following steps:
1. Generate the project initialization actions: set Default local, set project name, set model name,...
2. Generate the data source view source query subjects.
3. Generate the relationships between the data source view query subjects.
4. Generate the business logic view model query subjects, query items and hide non-business query items.
5. Generate the create and publish package actions.
inputModel
- the maximo xml representing the integration object <MAXINTOBJECT>databaseType
- the database type DB2, Oracle ("OR") or SQL-Server ("SS")databaseSchema
- the Maximo database schema namedatabaseName
- the Maximo database name, required only if the type is "SS"dataSourceName
- the Cognos data source name connecting to the Maximo databasecontentStorePackageLocation
- the location where the Cognos package will be published in the content storeCognosTransformationException
- if exception occurred while generating the action log scriptpublic static java.lang.String build(java.lang.String inputModel, java.lang.String databaseType, java.lang.String databaseSchema, java.lang.String databaseName, java.lang.String dataSourceName, java.lang.String contentStorePackageLocation, boolean isMultiserver) throws CognosTransformationException
This method is responsible for building an action log script based on a maximo xml input.
The method does the following steps:
1. Generate the project initialization actions: set Default local, set project name, set model name,...
2. Generate the data source view source query subjects.
3. Generate the relationships between the data source view query subjects.
4. Generate the business logic view model query subjects, query items and hide non-business query items.
5. Generate the create and publish package actions.
inputModel
- the maximo xml representing the integration object <MAXINTOBJECT>databaseType
- the database type DB2, Oracle ("OR") or SQL-Server ("SS")databaseSchema
- the Maximo database schema namedatabaseName
- the Maximo database name, required only if the type is "SS"dataSourceName
- the Cognos data source name connecting to the Maximo databasecontentStorePackageLocation
- the location where the Cognos package will be published in the content storeisMultiserver
- is the Cognos server configured in multiserver mode?CognosTransformationException
- if exception occurred while generating the action log scriptpublic static java.lang.String build(ActionLogInfo actionLogInfo) throws CognosTransformationException
This method is responsible for building an action log script based on a maximo xml input.
The method does the following steps:
1. Generate the project initialization actions: set Default local, set project name, set model name,...
2. Generate the data source view source query subjects.
3. Generate the relationships between the data source view query subjects.
4. Generate the business logic view model query subjects, query items and hide non-business query items.
5. Generate the create and publish package actions.
actionLogInfo
- information required to create the action logCognosTransformationException
- if exception occurred while generating the action log scriptpublic static void build(java.io.Reader in, java.io.Writer writer, java.lang.String databaseType, java.lang.String databaseSchema, java.lang.String databaseName, java.lang.String dataSourceName, java.lang.String contentStorePackageLocation) throws CognosTransformationException
This method is responsible for building an action log script based on a maximo xml input reader.
The method does the following steps:
1. Generate the project initialization actions: set Default local, set project name, set model name,...
2. Generate the data source view source query subjects.
3. Generate the relationships between the data source view query subjects.
4. Generate the business logic view model query subjects, query items and hide non-business query items.
5. Generate the create and publish package actions.
in
- the maximo xml reader representing the integration object <MAXINTOBJECT>writer
- the writer to write the generated action log script on itdatabaseType
- the database type DB2, Oracle ("OR") or SQL-Server ("SS")databaseSchema
- the Maximo database schema namedatabaseName
- the Maximo database name, required only if the type is "SS"dataSourceName
- the Cognos data source name connecting to the Maximo databasecontentStorePackageLocation
- the location where the Cognos package will be published in the content storeCognosTransformationException
- if exception occurred while generating the action log scriptpublic static void build(java.io.Reader in, java.io.Writer writer, java.lang.String databaseType, java.lang.String databaseSchema, java.lang.String databaseName, java.lang.String dataSourceName, java.lang.String contentStorePackageLocation, boolean isMultiserver) throws CognosTransformationException
This method is responsible for building an action log script based on a maximo xml input reader.
The method does the following steps:
1. Generate the project initialization actions: set Default local, set project name, set model name,...
2. Generate the data source view source query subjects.
3. Generate the relationships between the data source view query subjects.
4. Generate the business logic view model query subjects, query items and hide non-business query items.
5. Generate the create and publish package actions.
in
- the maximo xml reader representing the integration object <MAXINTOBJECT>writer
- the writer to write the generated action log script on itdatabaseType
- the database type DB2, Oracle ("OR") or SQL-Server ("SS")databaseSchema
- the Maximo database schema namedatabaseName
- the Maximo database name, required only if the type is "SS"dataSourceName
- the Cognos data source name connecting to the Maximo databasecontentStorePackageLocation
- the location where the Cognos package will be published in the content storeisMultiserver
- is the Cognos server configured in multiserver mode?CognosTransformationException
- if exception occurred while generating the action log scriptpublic static void build(ActionLogInfo actionLogInfo, java.io.Reader in, java.io.Writer writer) throws CognosTransformationException
CognosTransformationException