|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BasketManager
This is the manager for content-stores: baskets, briefcases and folders You can retrieve the current basket, briefcase or folder for the user from this manager.
Nested Class Summary | |
---|---|
static class |
BasketManager.ActionInfo
An action info consists of a name and a url |
Field Summary | |
---|---|
static String |
ALL_BRIEFCASES_KEY
This key is used to store all briefcases in the session (of the admin) |
static String |
BASKET_KEY
This key is used to store the current basket in the session |
static String |
BRIEFCASE_KEY
This key is used to store the current briefcase in the session |
static String |
FOLDER_KEY
This key is used to store the current folder in the session |
static String |
ROLE
The component role |
Method Summary | |
---|---|
void |
addBatch(ContentItem item,
int frequencyInDays,
BasketManager.ActionInfo action)
|
Basket |
getBasket()
Return the basket of the current user |
BasketManager.ActionInfo |
getBasketAction(String name)
Get the info |
List |
getBasketActions()
Return all configured actions for a basket - this is a list of BasketManager.ActionInfo s. |
Briefcase |
getBriefcase()
Return the briefcase of the current user |
BasketManager.ActionInfo |
getBriefcaseAction(String name)
Get the info |
List |
getBriefcaseActions()
Return all configured actions for a briefcase - this is a list of BasketManager.ActionInfo s. |
List |
getBriefcaseDescriptions()
Return all briefcases. |
Folder |
getFolder()
Return the folder of the current user |
void |
update(ContentStore store)
Update/save the content store |
Field Detail |
---|
static final String ROLE
static final String BASKET_KEY
static final String BRIEFCASE_KEY
static final String FOLDER_KEY
static final String ALL_BRIEFCASES_KEY
Method Detail |
---|
Basket getBasket()
Briefcase getBriefcase()
Folder getFolder()
List getBriefcaseDescriptions()
ContentStoreDescription
objects.
List getBasketActions()
BasketManager.ActionInfo
s.
BasketManager.ActionInfo getBasketAction(String name)
List getBriefcaseActions()
BasketManager.ActionInfo
s.
BasketManager.ActionInfo getBriefcaseAction(String name)
void addBatch(ContentItem item, int frequencyInDays, BasketManager.ActionInfo action)
void update(ContentStore store)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |