|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.essbase.eas.essbase.server.FilterPrimitives
public final class FilterPrimitives
This class provides the primitive operations for an Essbase Filter object. In the current implementation, no instances of this class should ever be instantiated.
Methods that need to be implemented
EssSession, EssSessionMessage| Method Summary | |
|---|---|
static boolean |
assign(ISession 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 |
static boolean |
copy(ISession destSession, java.lang.String destApp, java.lang.String destDatabase, java.lang.String descFilter, java.lang.String srcApp, java.lang.String srcDatabase, java.lang.String srcFilter, boolean replace)copies an filter within an individual server. |
static boolean |
create(ISession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)creates a filter. |
static boolean |
create(ISession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter, boolean update)creates a filter. |
static boolean |
delete(ISession 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)Gets the list of users/groups assigned to a filter |
static FilterProperties |
getFilter(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String filterName)gets a filter |
static java.util.List |
getList(ISession session, java.lang.String application, java.lang.String database)Creates a list of filters that belong to a specific server. |
static boolean |
renameFilter(EssSession session, java.lang.String appName, java.lang.String dbName, java.lang.String oldFilterName, java.lang.String newFilterName)Renames a filter |
static boolean |
update(ISession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)updates a filter. |
static boolean |
verify(ISession session, java.lang.String appName, java.lang.String dbName, FilterProperties filter)Verifies the syntax of a filter, line by line |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static java.util.List getList(ISession session,
java.lang.String application,
java.lang.String database)
session - object for this Essbase session.application - to restrict request within.database - to restrict request within
public static boolean copy(ISession destSession,
java.lang.String destApp,
java.lang.String destDatabase,
java.lang.String descFilter,
java.lang.String srcApp,
java.lang.String srcDatabase,
java.lang.String srcFilter,
boolean replace)
Should we throw an exception here?
session - - session object server.destApp - - application name for the copy.destDatabase - - database name for the copy.destFilter - - filter name for the copy.srcApp - - application to be copied.srcDatabase - - database to be copied.srcFilter - - filter name to be copied.replace - - replace existing filter
public static boolean create(ISession session,
java.lang.String appName,
java.lang.String dbName,
FilterProperties filter)
session - - session object for this command.appName - - application to create database in.dbName - - database name that filter belongs to.filter - - contents of the filter
public static boolean create(ISession session,
java.lang.String appName,
java.lang.String dbName,
FilterProperties filter,
boolean update)
session - - session object for this command.appName - - application to create database in.dbName - - database name that filter belongs to.filter - - contents of the filterupdate - - update filter definition if it already exists
public static boolean update(ISession session,
java.lang.String appName,
java.lang.String dbName,
FilterProperties filter)
session - - session object for this command.appName - - application to create database in.dbName - - database name that filter belongs to.filter - - contents of the filter
public static boolean delete(ISession session,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName)
session - - session object for this command.appName - - name of application containing the filter to be deleted.dbName - - name of database containing the filter to be deleted.filterName - - name of the filter to delete
public static FilterProperties getFilter(EssSession session,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName)
session - - session object for this command.appName - - name of application containing the filter.dbName - - name of database containing the filter.filterName - - name of the filter to get
public static boolean verify(ISession session,
java.lang.String appName,
java.lang.String dbName,
FilterProperties filter)
session - - session object for this command.appName - - application to create database in.dbName - - database name that filter belongs to.filter - - contents of the filter
public static boolean assign(ISession session,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName,
java.util.List nameList)
session - - session object for this command.appName - - application to containing the database.dbName - - database name that filter belongs to.filterName - - name of the filternameList - - Array of string objects containing names of users and/or groups
public static java.util.List getAssignedList(ISession session,
java.lang.String appName,
java.lang.String dbName,
java.lang.String filterName)
session - - session object for this command.appName - - application to containing the database.dbName - - database name that filter belongs to.filterName - - name of the filter
public static boolean renameFilter(EssSession session,
java.lang.String appName,
java.lang.String dbName,
java.lang.String oldFilterName,
java.lang.String newFilterName)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||