|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SubsetStorageHandler
SubsetStorageHandler
A simple interface for handling storage related subset functionalities.
Method Summary | |
---|---|
boolean |
canRead(int subsetType)
Checks if current user is allowed to read any Subset2 s of
given type. |
boolean |
canWrite(int subsetType)
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. |
void |
reset()
Resets this storage handler. |
Method Detail |
---|
boolean canRead(int subsetType)
Subset2
s of
given type. The subset type must be one of the predefined subset type
constants.
subsetType
- a valid subset type constant
true
if user is allowed to read subsets of given
type, false
otherwiseboolean canWrite(int subsetType)
Subset2
s of
given type. The subset type must be one of the predefined subset type
constants.
subsetType
- a valid subset type constant
true
if user is allowed to write subsets of given
type, false
otherwisevoid convert(Subset[] legacySubsets, int type, boolean remove)
Subset2
s
of given type.
legacySubsets
- type
- remove
- void reset()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |