|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final String ROLE
public static final String BASKET_KEY
public static final String BRIEFCASE_KEY
public static final String FOLDER_KEY
public static final String ALL_BRIEFCASES_KEY
Method Detail |
public Basket getBasket()
public Briefcase getBriefcase()
public Folder getFolder()
public List getBriefcaseDescriptions()
ContentStoreDescription
objects.
public List getBasketActions()
BasketManager.ActionInfo
s.
public BasketManager.ActionInfo getBasketAction(String name)
public List getBriefcaseActions()
BasketManager.ActionInfo
s.
public BasketManager.ActionInfo getBriefcaseAction(String name)
public void addBatch(ContentItem item, int frequencyInDays, BasketManager.ActionInfo action)
public void update(ContentStore store)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |