Skip navigation links


com.essbase.eas.essbase.server
Class RulesObjectLogic

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


public class RulesObjectLogic
extends java.lang.Object

Constructor Summary
RulesObjectLogic()
           

 

Method Summary
 int applyDelimiter(EssSession session, short delimiterType, char delimiter, int colWidth, java.util.ArrayList dataRecordList)
           
 int applyFieldAttributes(EssSession session, java.util.LinkedList fieldAttributeInfoList, java.util.ArrayList dataRecordList)
           
 int applyRules(EssSession session, java.util.ArrayList rulesList, java.util.ArrayList dataRecordList)
           
 boolean copy(EssSession destSession, java.lang.String destApp, java.lang.String destDb, java.lang.String destRulesObject, EssSession srcSession, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcRulesObject)
           
 int freeLocalContext(long localContextHandle)
           
 int freeRulesFileContext(long context)
           
 java.util.List getDSNList(EssSession session)
           
 int getEncodingInfo(long context, EncodingInfo encodingInfo)
           
 java.util.List getList(EssSession session, java.lang.String appName, java.lang.String dbName)
           
 int lock(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjectName)
           
 int parseDBHeader(EssSession session, java.util.LinkedList fieldAttributeInfoList, java.util.ArrayList fieldList)
           
 boolean put(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String objName, java.lang.String localName, boolean lock)
           
 int readDataFile(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String dataFileName, short viewCount, int startRecord, int fileType, java.util.ArrayList recordList)
           
 java.lang.String readDBHeaderRecord(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String dataFileName, int dataFileExtension, short viewCount, int startRecord)
           
 java.lang.String readDLHeaderRecord(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String dataFileName, int dataFileExtension, short viewCount, int startRecord)
           
 java.lang.String readHeaderRecord(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String dataFileName, int dataFileExtension, short viewCount, int startRecord)
           
 boolean readRulesObject(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjectName, boolean lock, RulesObject rulesObject, java.util.Collection errors)
           
 int readSQLRecords(EssSession session, DPSqlConnectionInfo sqlConnectionInfo, int startRecord, short viewCount, java.util.ArrayList columnNameList, java.util.ArrayList recordList)
           
 boolean rename(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String newRulesObjectName, java.lang.String oldRulesObjectName)
           
 boolean saveRulesObject(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjectName, RulesObject rulesObject, java.util.ArrayList errorList)
           
 boolean unlock(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String rulesObjectName)
           
 int verify(EssSession session, java.lang.String appName, java.lang.String dbName, DPAssociatedObject associatedObj, java.util.ArrayList errorList)
           

 

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

 

Constructor Detail

RulesObjectLogic

public RulesObjectLogic()

Method Detail

getList

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

copy

public boolean copy(EssSession destSession,
                    java.lang.String destApp,
                    java.lang.String destDb,
                    java.lang.String destRulesObject,
                    EssSession srcSession,
                    java.lang.String srcApp,
                    java.lang.String srcDb,
                    java.lang.String srcRulesObject)

lock

public int lock(EssSession session,
                java.lang.String appName,
                java.lang.String dbName,
                java.lang.String rulesObjectName)

unlock

public boolean unlock(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.String rulesObjectName)

rename

public boolean rename(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.String newRulesObjectName,
                      java.lang.String oldRulesObjectName)

readRulesObject

public boolean readRulesObject(EssSession session,
                               java.lang.String appName,
                               java.lang.String dbName,
                               java.lang.String rulesObjectName,
                               boolean lock,
                               RulesObject rulesObject,
                               java.util.Collection errors)

readDataFile

public int readDataFile(EssSession session,
                        java.lang.String appName,
                        java.lang.String dbName,
                        java.lang.String dataFileName,
                        short viewCount,
                        int startRecord,
                        int fileType,
                        java.util.ArrayList recordList)

readHeaderRecord

public java.lang.String readHeaderRecord(EssSession session,
                                         java.lang.String appName,
                                         java.lang.String dbName,
                                         java.lang.String dataFileName,
                                         int dataFileExtension,
                                         short viewCount,
                                         int startRecord)

readDLHeaderRecord

public java.lang.String readDLHeaderRecord(EssSession session,
                                           java.lang.String appName,
                                           java.lang.String dbName,
                                           java.lang.String dataFileName,
                                           int dataFileExtension,
                                           short viewCount,
                                           int startRecord)

readDBHeaderRecord

public java.lang.String readDBHeaderRecord(EssSession session,
                                           java.lang.String appName,
                                           java.lang.String dbName,
                                           java.lang.String dataFileName,
                                           int dataFileExtension,
                                           short viewCount,
                                           int startRecord)

applyRules

public int applyRules(EssSession session,
                      java.util.ArrayList rulesList,
                      java.util.ArrayList dataRecordList)

applyDelimiter

public int applyDelimiter(EssSession session,
                          short delimiterType,
                          char delimiter,
                          int colWidth,
                          java.util.ArrayList dataRecordList)

applyFieldAttributes

public int applyFieldAttributes(EssSession session,
                                java.util.LinkedList fieldAttributeInfoList,
                                java.util.ArrayList dataRecordList)

parseDBHeader

public int parseDBHeader(EssSession session,
                         java.util.LinkedList fieldAttributeInfoList,
                         java.util.ArrayList fieldList)

verify

public int verify(EssSession session,
                  java.lang.String appName,
                  java.lang.String dbName,
                  DPAssociatedObject associatedObj,
                  java.util.ArrayList errorList)

saveRulesObject

public boolean saveRulesObject(EssSession session,
                               java.lang.String appName,
                               java.lang.String dbName,
                               java.lang.String rulesObjectName,
                               RulesObject rulesObject,
                               java.util.ArrayList errorList)

getDSNList

public java.util.List getDSNList(EssSession session)

readSQLRecords

public int readSQLRecords(EssSession session,
                          DPSqlConnectionInfo sqlConnectionInfo,
                          int startRecord,
                          short viewCount,
                          java.util.ArrayList columnNameList,
                          java.util.ArrayList recordList)

freeRulesFileContext

public int freeRulesFileContext(long context)

freeLocalContext

public int freeLocalContext(long localContextHandle)

getEncodingInfo

public int getEncodingInfo(long context,
                           EncodingInfo encodingInfo)

put

public boolean put(EssSession session,
                   java.lang.String appName,
                   java.lang.String dbName,
                   java.lang.String objName,
                   java.lang.String localName,
                   boolean lock)

Skip navigation links


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