Skip navigation links


com.essbase.eas.essbase.server
Class LoadRulePrimitives

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


public final class LoadRulePrimitives
extends java.lang.Object

This class provides the primitive operations for an Essbase Load Rule. In the current implementation, no instances of this class should ever be instantiated. The current version of this class only moves the load rule to and from Essbase.

Methods that need to be implemented

  1. many methods
Version:
1.00, 08/13/2000
Author:
Brian Litofsky
See Also:
EssSession, EssSessionMessage

Method Summary
static boolean delete(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String objName)
          deletes a load rule
static boolean get(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String localName, boolean lock)
          gets a load rule
static java.util.List getList(EssSession session, java.lang.String application, java.lang.String database)
          Creates a list of load rules that belong to a specific server.
static boolean put(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String localName, boolean lock)
          puts a load rule

 

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

 

Method Detail

getList

public static java.util.List getList(EssSession session,
                                     java.lang.String application,
                                     java.lang.String database)
Creates a list of load rules that belong to a specific server. Creates the list for a specific application and database.
Parameters:
session - object for this Essbase session.
application - to restrict request within.
database - to restrict request within
Returns:
a list collection containing strings with the calc script names.

get

public static boolean get(EssSession session,
                          java.lang.String appName,
                          java.lang.String dbName,
                          java.lang.String objName,
                          java.lang.String localName,
                          boolean lock)
gets a load rule
Parameters:
session - - session object for this command.
appName - - name of application.
dbName - - name of database.
objName - - name of the object.
localName - - name of the file to create
Returns:
true if the delete succeeds. What do we do about messages if the call fails?

put

public static boolean put(EssSession session,
                          java.lang.String appName,
                          java.lang.String dbName,
                          java.lang.String objName,
                          java.lang.String localName,
                          boolean lock)
puts a load rule
Parameters:
session - - session object for this command.
appName - - name of application.
dbName - - name of database.
objName - - name of the object.
Returns:
true if the delete succeeds. What do we do about messages if the call fails?

delete

public static boolean delete(EssSession session,
                             java.lang.String appName,
                             java.lang.String dbName,
                             java.lang.String objName)
deletes a load rule
Parameters:
session - - session object for this command.
appName - - name of application.
dbName - - name of database.
objName - - name of the object.
Returns:
true if the delete succeeds. What do we do about messages if the call fails?

Skip navigation links


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