Skip navigation links


com.essbase.eas.essbase.ui
Class PartitionFunctionHelper

java.lang.Object
  extended by com.essbase.eas.essbase.ui.PartitionFunctionHelper


public class PartitionFunctionHelper
extends java.lang.Object

Title: Description: Copyright: Copyright (c) 2001 Company: Hyperion Solutions Corporation

Version:
1.0
Author:
Sree Menon

Field Summary
static int ERRORS
           
static int SUCCESS
           
static int WARNINGS
           

 

Constructor Summary
PartitionFunctionHelper()
           

 

Method Summary
static boolean appDeleted(Application app)
           
static boolean canEditPartition(Database database)
           
static boolean canEditPartition(DefaultPartition partition)
           
static boolean canEditSourcePartition(DefaultPartition partition)
           
static boolean canEditTargetPartition(DefaultPartition partition)
           
static boolean changeSourceApplication(DefaultPartition partition, java.lang.String application, boolean both)
           
static boolean changeSourceDatabase(DefaultPartition partition, java.lang.String database)
           
static boolean changeSourceServer(DefaultPartition partition, java.lang.String chgServer, boolean both)
           
static boolean changeSourceUser(DefaultPartition partition, Server server, java.lang.String user, java.lang.String password)
           
static boolean changeTargetApplication(DefaultPartition partition, java.lang.String application, boolean both)
           
static boolean changeTargetDatabase(DefaultPartition partition, java.lang.String database)
           
static boolean changeTargetServer(DefaultPartition partition, java.lang.String server, boolean both)
           
static boolean changeTargetUser(java.lang.String servername, DefaultPartition partition, java.lang.String user, java.lang.String password)
           
static boolean checkPartitionUser(DefaultPartition partition)
           
static void checkTargetCommentEnabled(DefaultPartition part)
           
static boolean copyPartition(DefaultPartition part)
           
static boolean createPartition(DefaultPartition partition)
           
static void createPartitionFrame(Database database)
           
static void createPartitionFrame(Database db, DefaultPartition partition)
           
static void createPartitionFrame(DefaultPartition partition)
           
static void deleteAllPartitions(Database database)
           
static boolean dropOrphanPartition(Database database, DefaultPartition partition, boolean bConfirm)
           
static boolean dropPartition(DefaultPartition partition)
           
static boolean dropPartition(DefaultPartition partition, boolean bConfirm)
           
static void editPartitionFrame(DefaultPartition partition)
           
static boolean executeCommand(java.lang.String server, java.lang.String cmd)
           
static boolean executeCommand(java.lang.String server, java.lang.String cmd, boolean displayError)
           
static boolean executePartitionCommand(Server server, DefaultPartition partition, MaxLCommand maxl, java.lang.String cmd)
           
static Database existsSourceDatabase(DefaultPartition partition)
           
static Database existsTargetDatabase(DefaultPartition partition)
           
static boolean exportPartition(DefaultPartition partition)
           
static java.lang.String getLocatedServerName(java.lang.String server, java.lang.String host, java.lang.String ip)
           
static DefaultPartition[] getPartitions(Database database, javax.swing.table.TableModel model)
           
static DefaultPartition[] getPartitionsEx(Database database, javax.swing.table.TableModel model)
           
static boolean haveCircularLoop(DefaultPartition partition)
           
static void importPartitionFromFile(Database db)
           
static void importPartitionFromXML(EASObject partObject)
           
static void importPartitionFromXML(java.lang.String xmlPart)
           
static boolean isDangling(DefaultPartition part)
           
static boolean isRepairEnabled(Database database)
           
static boolean isRepairEnabled(Server server)
           
static boolean isSourceDangling(DefaultPartition part)
           
static boolean isTargetDangling(DefaultPartition part)
           
static Database locateSourceDatabase(DefaultPartition partition)
           
static Server locateSourceServer(DefaultPartition partition)
           
static Database locateTargetDatabase(DefaultPartition partition)
           
static Server locateTargetServer(DefaultPartition partition)
           
static void lockPartition(DefaultPartition part)
           
static void lockPartition(DefaultPartition part, boolean bStatus)
           
static boolean refreshPartition(DefaultPartition part)
           
static void refreshPartitions(Database database)
           
static void removeAllPartitions(Database database)
           
static void removePartitionsNotIn(Database database, DefaultPartition[] values)
           
static boolean renamePartitions(Application newApp, java.lang.String oldApp)
           
static boolean renamePartitions(Database newDb, java.lang.String oldName)
           
static boolean repairPartition(Database database, DefaultPartition part)
           
static boolean replicatePartition(DefaultPartition partition, boolean updateAll)
           
static boolean savePartitionToEAS(DefaultPartition part, EssbaseEASObject object)
           
static boolean savePartitionToEAS(DefaultPartition part, java.lang.String name, boolean shared)
           
static boolean savePartitionToFile(DefaultPartition part, java.io.File file)
           
static boolean savePartitionToFile(DefaultPartition part, java.lang.String filename)
           
static void showReplicatePartitionDialog(DefaultPartition partition)
           
static void synchOutline(DefaultPartition partition)
           
static void unlockPartition(DefaultPartition part)
           
static void unlockPartition(DefaultPartition part, boolean bStatus)
           
static boolean updatePartition(DefaultPartition partition)
           
static void updatePartitionInfo(Database db, javax.swing.table.TableModel model)
           
static void validatePartition(DefaultPartition partition)
           
static int validatePartition(DefaultPartition partition, javax.swing.DefaultListModel model)
          return 0: success return 1: warnings return 2: errors
static int validatePartitionErrors(java.util.List maxlMsgList, javax.swing.DefaultListModel model)
           

 

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

 

Field Detail

SUCCESS

public static final int SUCCESS
See Also:
Constant Field Values

WARNINGS

public static final int WARNINGS
See Also:
Constant Field Values

ERRORS

public static final int ERRORS
See Also:
Constant Field Values

Constructor Detail

PartitionFunctionHelper

public PartitionFunctionHelper()

Method Detail

executePartitionCommand

public static boolean executePartitionCommand(Server server,
                                              DefaultPartition partition,
                                              MaxLCommand maxl,
                                              java.lang.String cmd)

showReplicatePartitionDialog

public static void showReplicatePartitionDialog(DefaultPartition partition)

replicatePartition

public static boolean replicatePartition(DefaultPartition partition,
                                         boolean updateAll)

createPartition

public static boolean createPartition(DefaultPartition partition)

updatePartition

public static boolean updatePartition(DefaultPartition partition)

refreshPartitions

public static void refreshPartitions(Database database)

refreshPartition

public static boolean refreshPartition(DefaultPartition part)

dropPartition

public static boolean dropPartition(DefaultPartition partition)

executeCommand

public static boolean executeCommand(java.lang.String server,
                                     java.lang.String cmd)

executeCommand

public static boolean executeCommand(java.lang.String server,
                                     java.lang.String cmd,
                                     boolean displayError)

dropPartition

public static boolean dropPartition(DefaultPartition partition,
                                    boolean bConfirm)

dropOrphanPartition

public static boolean dropOrphanPartition(Database database,
                                          DefaultPartition partition,
                                          boolean bConfirm)

locateSourceServer

public static Server locateSourceServer(DefaultPartition partition)

locateTargetServer

public static Server locateTargetServer(DefaultPartition partition)

locateSourceDatabase

public static Database locateSourceDatabase(DefaultPartition partition)

existsSourceDatabase

public static Database existsSourceDatabase(DefaultPartition partition)

locateTargetDatabase

public static Database locateTargetDatabase(DefaultPartition partition)

existsTargetDatabase

public static Database existsTargetDatabase(DefaultPartition partition)

updatePartitionInfo

public static void updatePartitionInfo(Database db,
                                       javax.swing.table.TableModel model)

exportPartition

public static boolean exportPartition(DefaultPartition partition)

validatePartition

public static void validatePartition(DefaultPartition partition)

synchOutline

public static void synchOutline(DefaultPartition partition)

createPartitionFrame

public static void createPartitionFrame(Database database)

createPartitionFrame

public static void createPartitionFrame(DefaultPartition partition)

createPartitionFrame

public static void createPartitionFrame(Database db,
                                        DefaultPartition partition)

editPartitionFrame

public static void editPartitionFrame(DefaultPartition partition)

importPartitionFromXML

public static void importPartitionFromXML(java.lang.String xmlPart)

importPartitionFromXML

public static void importPartitionFromXML(EASObject partObject)

importPartitionFromFile

public static void importPartitionFromFile(Database db)

canEditPartition

public static boolean canEditPartition(Database database)

canEditPartition

public static boolean canEditPartition(DefaultPartition partition)

canEditSourcePartition

public static boolean canEditSourcePartition(DefaultPartition partition)

canEditTargetPartition

public static boolean canEditTargetPartition(DefaultPartition partition)

lockPartition

public static void lockPartition(DefaultPartition part)

lockPartition

public static void lockPartition(DefaultPartition part,
                                 boolean bStatus)

unlockPartition

public static void unlockPartition(DefaultPartition part)

unlockPartition

public static void unlockPartition(DefaultPartition part,
                                   boolean bStatus)

copyPartition

public static boolean copyPartition(DefaultPartition part)

savePartitionToFile

public static boolean savePartitionToFile(DefaultPartition part,
                                          java.lang.String filename)

savePartitionToFile

public static boolean savePartitionToFile(DefaultPartition part,
                                          java.io.File file)

savePartitionToEAS

public static boolean savePartitionToEAS(DefaultPartition part,
                                         EssbaseEASObject object)

savePartitionToEAS

public static boolean savePartitionToEAS(DefaultPartition part,
                                         java.lang.String name,
                                         boolean shared)

getPartitions

public static DefaultPartition[] getPartitions(Database database,
                                               javax.swing.table.TableModel model)

checkTargetCommentEnabled

public static void checkTargetCommentEnabled(DefaultPartition part)

deleteAllPartitions

public static void deleteAllPartitions(Database database)

validatePartition

public static int validatePartition(DefaultPartition partition,
                                    javax.swing.DefaultListModel model)
return 0: success return 1: warnings return 2: errors

validatePartitionErrors

public static int validatePartitionErrors(java.util.List maxlMsgList,
                                          javax.swing.DefaultListModel model)

isSourceDangling

public static boolean isSourceDangling(DefaultPartition part)

isTargetDangling

public static boolean isTargetDangling(DefaultPartition part)

isDangling

public static boolean isDangling(DefaultPartition part)

repairPartition

public static boolean repairPartition(Database database,
                                      DefaultPartition part)

removeAllPartitions

public static void removeAllPartitions(Database database)

checkPartitionUser

public static boolean checkPartitionUser(DefaultPartition partition)

changeSourceServer

public static boolean changeSourceServer(DefaultPartition partition,
                                         java.lang.String chgServer,
                                         boolean both)

changeSourceApplication

public static boolean changeSourceApplication(DefaultPartition partition,
                                              java.lang.String application,
                                              boolean both)

changeSourceDatabase

public static boolean changeSourceDatabase(DefaultPartition partition,
                                           java.lang.String database)

changeSourceUser

public static boolean changeSourceUser(DefaultPartition partition,
                                       Server server,
                                       java.lang.String user,
                                       java.lang.String password)

changeTargetServer

public static boolean changeTargetServer(DefaultPartition partition,
                                         java.lang.String server,
                                         boolean both)

changeTargetApplication

public static boolean changeTargetApplication(DefaultPartition partition,
                                              java.lang.String application,
                                              boolean both)

changeTargetDatabase

public static boolean changeTargetDatabase(DefaultPartition partition,
                                           java.lang.String database)

changeTargetUser

public static boolean changeTargetUser(java.lang.String servername,
                                       DefaultPartition partition,
                                       java.lang.String user,
                                       java.lang.String password)

renamePartitions

public static boolean renamePartitions(Database newDb,
                                       java.lang.String oldName)

renamePartitions

public static boolean renamePartitions(Application newApp,
                                       java.lang.String oldApp)

haveCircularLoop

public static boolean haveCircularLoop(DefaultPartition partition)

removePartitionsNotIn

public static void removePartitionsNotIn(Database database,
                                         DefaultPartition[] values)

isRepairEnabled

public static boolean isRepairEnabled(Database database)

isRepairEnabled

public static boolean isRepairEnabled(Server server)

getPartitionsEx

public static DefaultPartition[] getPartitionsEx(Database database,
                                                 javax.swing.table.TableModel model)

getLocatedServerName

public static java.lang.String getLocatedServerName(java.lang.String server,
                                                    java.lang.String host,
                                                    java.lang.String ip)

appDeleted

public static boolean appDeleted(Application app)

Skip navigation links


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