public class CognosManager
extends java.lang.Object
| Constructor and Description |
|---|
CognosManager(java.lang.String url,
java.lang.String namespaeId,
java.lang.String userName,
java.lang.String password)
This constructor is responsible for:
1. |
CognosManager(java.lang.String url,
java.lang.String namespaceId,
java.lang.String userName,
java.lang.String token,
java.lang.String tokenurl)
This constructor is responsible for:
1. |
| Modifier and Type | Method and Description |
|---|---|
void |
closeModel(java.lang.String projectLocation)
This method is responsible for closing the framework manager located in the specified location.
|
void |
createModel(java.lang.String projectLocation)
This method is responsible for creating a new framework manager model on the specified location on the Cognos
server.
|
void |
executeTransaction(java.lang.String projectLocation,
java.lang.String transaction)
This method is responsible for executing a transaction on a framework manager project located in the specified
location.
|
void |
executeTransientCreateAction(java.lang.String projectLocation,
java.lang.String transaction)
This method is responsible for creating a new framework manager model on the specified location
on the Cognos server and executing a transaction.
|
void |
openModel(java.lang.String projectLocation)
This method is responsible for opening the framework manager located in the specified location.
|
void |
saveModel(java.lang.String projectLocation)
This method is responsible for saving the framework manager located in the specified location.
|
public CognosManager(java.lang.String url,
java.lang.String namespaeId,
java.lang.String userName,
java.lang.String password)
url - the url of the Cognos Server, it is the value provided in the "IBM Cognos Configuration" tool: in
Local Configuration -> Environment -> Dispatcher URI for external applicationsnamespaeId - the namespace for the authentication provider configured on Cognos Server. It is the value provided in
the "IBM Cognos Configuration" tool: in Local Configuration -> Security -> Authentication -> userName - the username of the Cognos userpassword - the password og the Cognos userpublic CognosManager(java.lang.String url,
java.lang.String namespaceId,
java.lang.String userName,
java.lang.String token,
java.lang.String tokenurl)
url - the url of the Cognos Server, it is the value provided in the "IBM Cognos Configuration" tool: in
Local Configuration -> Environment -> Dispatcher URI for external applicationsnamespaeId - the namespace for the authentication provider configured on Cognos Server. It is the value provided in
the "IBM Cognos Configuration" tool: in Local Configuration -> Security -> Authentication -> userName - the username of the Cognos usertoken - the token of the Cognos usertokenurl - the authentication url used by MXCSP for token authenticationpublic void executeTransientCreateAction(java.lang.String projectLocation,
java.lang.String transaction)
throws CognosHandlerException
projectLocation - the location where the framework manager project will be createdtransaction - the transaction to be executed on the Cognos serverCognosHandlerException - if exception occurred during creating the project or executing the transactionpublic void createModel(java.lang.String projectLocation)
throws CognosHandlerException
projectLocation - the location where the framework manager project will be createdCognosHandlerException - if exception occurred during creating the projectpublic void openModel(java.lang.String projectLocation)
throws CognosHandlerException
projectLocation - the location for the framework manager project to be openedCognosHandlerException - if exception occurred during opening the projectpublic void saveModel(java.lang.String projectLocation)
throws CognosHandlerException
projectLocation - the location for the framework manager project to be savedCognosHandlerException - if exception occurred during saving the projectpublic void closeModel(java.lang.String projectLocation)
throws CognosHandlerException
projectLocation - the location for the framework manager project to be closedCognosHandlerException - if exception occurred during closing the projectpublic void executeTransaction(java.lang.String projectLocation,
java.lang.String transaction)
throws CognosHandlerException
projectLocation - the location for the framework manager projecttransaction - the transaction to be executed on the Cognos serverCognosHandlerException - if exception occurred during executing the transaction