Skip navigation links


com.essbase.eas.essbase.server
Class ApplicationLogic

java.lang.Object
  extended by com.essbase.eas.essbase.server.ApplicationLogic


public class ApplicationLogic
extends java.lang.Object

Field Summary
static short APP_ALL_READY_STARTED
           
static short APP_FAILED_TO_START
           
static short APP_STARTED
           

 

Constructor Summary
ApplicationLogic()
           

 

Method Summary
 boolean copy(EssSession destSession, java.lang.String destApp, EssSession srcSession, java.lang.String srcApp)
          Copy with migration options set.
 boolean copy(EssSession destSession, java.lang.String destApp, EssSession srcSession, java.lang.String srcApp, AppMigration migration)
          Copy from one application to another application of the same application type Block Storage application can be copied to Block Storage application, whereas Aggregate storage application can be copied to Aggregate Storage application
 java.util.List copyProperties(EssSession srcSession, java.lang.String srcApp, EssSession destSession, java.lang.String destApp)
          Copy the properties of one application into another application
 boolean copyRequest(EssSession session, StoreService store, ServiceContext theContext)
           
 boolean create(EssSession session, java.lang.String newAppName, boolean unicode, boolean replace, short appType)
           
 boolean create(EssSession session, java.lang.String newAppName, boolean replace, short appStorageType)
           
 boolean delete(EssSession session, java.lang.String appName)
          Deletes an application session object for this command.
 boolean delete(EssSession session, java.lang.String appName, short appType)
          Deletes an application session object for this command.
 void enableUnicodeMode(ISession session, java.lang.String appName, java.util.List errors)
           
 java.lang.String getApplicationID(EssSession session, java.lang.String appName)
           
 java.lang.Short getFrontEndAppType(EssSession session, java.lang.String appName)
           
 java.util.List getList(EssSession session)
           
 ApplicationProperties getProperties(EssSession session, java.lang.String appName)
           
 short getStatus(EssSession session, java.lang.String appName)
           
 TableSpaceInfo getTableSpaceInfo(EssSession session, java.lang.String appName, java.lang.String tbName, short appStatus)
           
 UnicodeInfo getUnicodeInfo(EssSession session, java.lang.String appName)
           
 java.util.List getUserGroupList(EssSession session, java.lang.String appName)
           
 java.util.List migrate(EssSession srcSession, EssSession destSession, AppMigration migration)
          Copy the properties of one application into another application
 java.util.List migrateFAF(java.lang.String processId, EssSession srcSession, EssSession destSession, AppMigration migration)
          Copy the properties of one application into another application
 boolean rename(EssSession session, java.lang.String newName, java.lang.String oldName)
           
 boolean reregister(EssSession session, java.lang.String appName)
           
 java.util.List setProperties(EssSession session, java.lang.String appName, ApplicationProperties appProps)
           
 boolean setTableSpaceInfo(EssSession session, java.lang.String appName, TableSpaceCommand tbCommand)
           
 short start(EssSession session, java.lang.String appName)
          starts an application
 short start(EssSession session, java.lang.String appName, short appType)
          starts an application.
 boolean stop(EssSession session, java.lang.String appName)
          stops an application.
 boolean stop(EssSession session, java.lang.String appName, short appType)
          stops an application.

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

APP_ALL_READY_STARTED

public static final short APP_ALL_READY_STARTED
See Also:
Constant Field Values

APP_FAILED_TO_START

public static final short APP_FAILED_TO_START
See Also:
Constant Field Values

APP_STARTED

public static final short APP_STARTED
See Also:
Constant Field Values

Constructor Detail

ApplicationLogic

public ApplicationLogic()

Method Detail

getList

public java.util.List getList(EssSession session)

getTableSpaceInfo

public TableSpaceInfo getTableSpaceInfo(EssSession session,
                                        java.lang.String appName,
                                        java.lang.String tbName,
                                        short appStatus)

setTableSpaceInfo

public boolean setTableSpaceInfo(EssSession session,
                                 java.lang.String appName,
                                 TableSpaceCommand tbCommand)

create

public boolean create(EssSession session,
                      java.lang.String newAppName,
                      boolean unicode,
                      boolean replace,
                      short appType)

create

public boolean create(EssSession session,
                      java.lang.String newAppName,
                      boolean replace,
                      short appStorageType)

copy

public boolean copy(EssSession destSession,
                    java.lang.String destApp,
                    EssSession srcSession,
                    java.lang.String srcApp)
Copy with migration options set.
Parameters:
destSession -
destApp -
srcSession -
srcApp -
Returns:

copy

public boolean copy(EssSession destSession,
                    java.lang.String destApp,
                    EssSession srcSession,
                    java.lang.String srcApp,
                    AppMigration migration)
Copy from one application to another application of the same application type Block Storage application can be copied to Block Storage application, whereas Aggregate storage application can be copied to Aggregate Storage application
Parameters:
destSession -
destApp -
srcSession -
srcApp -
Returns:
boolean -- true if Success, otherwise false

delete

public boolean delete(EssSession session,
                      java.lang.String appName)
Deletes an application session object for this command.
Parameters:
appName - - name of application to delete.
Returns:
status - boolean (success/failure)

delete

public boolean delete(EssSession session,
                      java.lang.String appName,
                      short appType)
Deletes an application session object for this command.
Parameters:
appName - - name of application to delete.
appType - -- type of the application (currently un-utilized)
Returns:
status - boolean (success/failure)

rename

public boolean rename(EssSession session,
                      java.lang.String newName,
                      java.lang.String oldName)

reregister

public boolean reregister(EssSession session,
                          java.lang.String appName)

getApplicationID

public java.lang.String getApplicationID(EssSession session,
                                         java.lang.String appName)

start

public short start(EssSession session,
                   java.lang.String appName)
starts an application
Parameters:
session - - session object for this command.
appName - - name of application to start.
Returns:
status - APP_STARTED/APP_FAILED_TO_START

start

public short start(EssSession session,
                   java.lang.String appName,
                   short appType)
starts an application.
Parameters:
session - - session object for this command.
appName - - name of application to start.
appType - - type of application to start.
Returns:
status - APP_STARTED/APP_FAILED_TO_START

getUnicodeInfo

public UnicodeInfo getUnicodeInfo(EssSession session,
                                  java.lang.String appName)

getFrontEndAppType

public java.lang.Short getFrontEndAppType(EssSession session,
                                          java.lang.String appName)

stop

public boolean stop(EssSession session,
                    java.lang.String appName)
stops an application.
Parameters:
session - - session object for this command.
appName - - name of application to start.
Returns:
status - boolean (true/false)

stop

public boolean stop(EssSession session,
                    java.lang.String appName,
                    short appType)
stops an application.
Parameters:
session - - session object for this command.
appName - - name of application to start.
appType - - type of application to start.
Returns:
status - boolean (true/false)

copyRequest

public boolean copyRequest(EssSession session,
                           StoreService store,
                           ServiceContext theContext)

getProperties

public ApplicationProperties getProperties(EssSession session,
                                           java.lang.String appName)

getStatus

public short getStatus(EssSession session,
                       java.lang.String appName)

setProperties

public java.util.List setProperties(EssSession session,
                                    java.lang.String appName,
                                    ApplicationProperties appProps)

getUserGroupList

public java.util.List getUserGroupList(EssSession session,
                                       java.lang.String appName)

copyProperties

public java.util.List copyProperties(EssSession srcSession,
                                     java.lang.String srcApp,
                                     EssSession destSession,
                                     java.lang.String destApp)
Copy the properties of one application into another application
Parameters:
srcSession -
srcApp -
destSession -
destApp -
Returns:
List

migrate

public java.util.List migrate(EssSession srcSession,
                              EssSession destSession,
                              AppMigration migration)
Copy the properties of one application into another application
Parameters:
srcSession - the information for connecting to the src server
destSession - the information for connecting to the target server
Returns:
List contains the list of errors encountered

migrateFAF

public java.util.List migrateFAF(java.lang.String processId,
                                 EssSession srcSession,
                                 EssSession destSession,
                                 AppMigration migration)
                          throws java.lang.Exception
Copy the properties of one application into another application
Parameters:
srcSession - the information for connecting to the src server
destSession - the information for connecting to the target server
Returns:
List contains the list of errors encountered
Throws:
java.lang.Exception

enableUnicodeMode

public void enableUnicodeMode(ISession session,
                              java.lang.String appName,
                              java.util.List errors)

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.