Skip navigation links


com.essbase.eas.essbase.server
Class FilterLogic

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


public class FilterLogic
extends java.lang.Object

Constructor Summary
FilterLogic()
           

 

Method Summary
 boolean assign(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String filterName, java.util.List nameList)
          assigns a filter to a list of users/groups
 boolean copy(EssSession destSession, java.lang.String destApp, java.lang.String destDb, java.lang.String destFilter, EssSession srcSession, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcFilter)
           
 boolean copy(EssSession destSession, java.lang.String destApp, java.lang.String destDb, java.lang.String destFilter, EssSession srcSession, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcFilter, boolean replace)
          Copies a Filter across servers
 boolean copy(EssSession session, java.lang.String destApp, java.lang.String destDb, java.lang.String destFilter, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcFilter)
          Copies a filter within a server
 boolean copy(EssSession session, java.lang.String destApp, java.lang.String destDb, java.lang.String destFilter, java.lang.String srcApp, java.lang.String srcDb, java.lang.String srcFilter, boolean replace)
          Copies a filter within a server
 boolean create(EssSession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)
          Creates a filter
 boolean delete(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String filterName)
          deletes a Filter
static java.util.List getAssignedList(ISession session, java.lang.String appName, java.lang.String dbName, java.lang.String filterName)
           
 FilterProperties getFilter(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String filterName)
          gets the contents of a filter
 java.util.List getList(EssSession session, java.lang.String appName, java.lang.String dbName)
          Gets a list of filters for a database
 boolean rename(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String oldFilterName, java.lang.String newFilterName)
          Renames a filter
 boolean update(EssSession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)
          Updates an existing filter
 boolean verify(EssSession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)
          verifies the syntax of a filter

 

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

 

Constructor Detail

FilterLogic

public FilterLogic()

Method Detail

getList

public java.util.List getList(EssSession session,
                              java.lang.String appName,
                              java.lang.String dbName)
Gets a list of filters for a database

create

public boolean create(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      FilterProperties filter)
Creates a filter

update

public boolean update(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      FilterProperties filter)
Updates an existing filter

rename

public boolean rename(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.String oldFilterName,
                      java.lang.String newFilterName)
Renames a filter

delete

public boolean delete(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.String filterName)
deletes a Filter
Parameters:
session - - session object for this command.
appName - - name of application containing the calc to be deleted.
dbName - - name of database containing the calc to be deleted.
objName - - name of the Filter file to delete
Returns:
true if the delete succeeds.

copy

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

copy

public boolean copy(EssSession destSession,
                    java.lang.String destApp,
                    java.lang.String destDb,
                    java.lang.String destFilter,
                    EssSession srcSession,
                    java.lang.String srcApp,
                    java.lang.String srcDb,
                    java.lang.String srcFilter,
                    boolean replace)
Copies a Filter across servers

copy

public boolean copy(EssSession session,
                    java.lang.String destApp,
                    java.lang.String destDb,
                    java.lang.String destFilter,
                    java.lang.String srcApp,
                    java.lang.String srcDb,
                    java.lang.String srcFilter)
Copies a filter within a server

copy

public boolean copy(EssSession session,
                    java.lang.String destApp,
                    java.lang.String destDb,
                    java.lang.String destFilter,
                    java.lang.String srcApp,
                    java.lang.String srcDb,
                    java.lang.String srcFilter,
                    boolean replace)
Copies a filter within a server

getFilter

public FilterProperties getFilter(EssSession session,
                                  java.lang.String appName,
                                  java.lang.String dbName,
                                  java.lang.String filterName)
gets the contents of a filter

verify

public boolean verify(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      FilterProperties filter)
verifies the syntax of a filter

assign

public boolean assign(EssSession session,
                      java.lang.String appName,
                      java.lang.String dbName,
                      java.lang.String filterName,
                      java.util.List nameList)
assigns a filter to a list of users/groups

getAssignedList

public static java.util.List getAssignedList(ISession session,
                                             java.lang.String appName,
                                             java.lang.String dbName,
                                             java.lang.String filterName)

Skip navigation links


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