|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.palo.api.subsets.impl.SubsetStorageHandlerImpl
org.palo.api.subsets.io.SubsetIOHandler
public class SubsetIOHandler
- API INTERNAL -
This class handles the raw access to the palo server subset cubes and hierarchys.
Constructor Summary | |
---|---|
SubsetIOHandler(Database database)
|
Method Summary | |
---|---|
boolean |
canRead(int type)
Checks if current user is allowed to read any Subset2 s of
given type. |
boolean |
canWrite(int type)
Checks if current user is allowed to write any Subset2 s of
given type. |
void |
convert(Subset[] legacySubsets,
int type,
boolean remove)
Tries to convert the given legacy subsets into new Subset2 s
of given type. |
static boolean |
isSubsetDimension(Dimension dimension)
|
static boolean |
isSubsetHierarchy(Hierarchy hierarchy)
Returns true if this hierarchy is a palo server native
subset hierarchy, false otherwise. |
void |
reset()
Resets this storage handler. |
static boolean |
supportsNewSubsets(Database database)
Returns true if new subsets, i.e. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SubsetIOHandler(Database database)
Method Detail |
---|
public static final boolean isSubsetHierarchy(Hierarchy hierarchy)
true
if this hierarchy is a palo server native
subset hierarchy, false
otherwise.
hierarchy
-
public static final boolean isSubsetDimension(Dimension dimension)
public static final boolean supportsNewSubsets(Database database)
true
if new subsets, i.e. Subset2
, are
supported by the given database
database
-
public final boolean canRead(int type)
SubsetStorageHandler
Subset2
s of
given type. The subset type must be one of the predefined subset type
constants.
type
- a valid subset type constant
true
if user is allowed to read subsets of given
type, false
otherwisepublic final boolean canWrite(int type)
SubsetStorageHandler
Subset2
s of
given type. The subset type must be one of the predefined subset type
constants.
type
- a valid subset type constant
true
if user is allowed to write subsets of given
type, false
otherwisepublic final void reset()
SubsetStorageHandler
public final void convert(Subset[] legacySubsets, int type, boolean remove)
SubsetStorageHandler
Subset2
s
of given type.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |