| org.apache.cocoon.portal.coplets.basket.BasketManagerImpl
BasketManagerImpl | public class BasketManagerImpl extends AbstractLogEnabled implements BasketManager,Serviceable,Receiver,Contextualizable,Initializable,Disposable,Parameterizable,ThreadSafe,Component(Code) | | This is the implementation of the basket manager
version: CVS $Id: BasketManagerImpl.java 433543 2006-08-22 06:22:54Z crossley $ |
Inner Class :final protected static class BatchInfo | |
basketActions | protected List basketActions(Code) | | All actions for a basket
|
basketClassName | protected String basketClassName(Code) | | The class name of the basket
|
briefcaseActions | protected List briefcaseActions(Code) | | All actions for a briefcase
|
briefcaseClassName | protected String briefcaseClassName(Code) | | The class name of the briefcase
|
context | protected Context context(Code) | | The component context
|
directory | protected String directory(Code) | | The configuration for storing baskets
|
folderClassName | protected String folderClassName(Code) | | The class name of the folder
|
manager | protected ServiceManager manager(Code) | | The service manager
|
addBatch | public void addBatch(ContentItem item, int frequencyInDays, ActionInfo action)(Code) | | |
contextualize | public void contextualize(Context context) throws ContextException(Code) | | |
deleteContentStore | protected void deleteContentStore(String type, String userId)(Code) | | Delete the content store for a user
|
dispose | public void dispose()(Code) | | |
getBasketAction | public ActionInfo getBasketAction(String name)(Code) | | |
getBasketActions | public List getBasketActions()(Code) | | |
getBriefcaseAction | public ActionInfo getBriefcaseAction(String name)(Code) | | |
getBriefcaseActions | public List getBriefcaseActions()(Code) | | |
getBriefcaseDescriptions | public List getBriefcaseDescriptions()(Code) | | |
getUser | protected String getUser()(Code) | | Get the current user
|
loadBriefcases | protected List loadBriefcases()(Code) | | Get briefcases of all users
|
loadContentStore | protected ContentStore loadContentStore(String type, String userId)(Code) | | Load the content store for a single user
Parameters: type - The type of the content store (briefcase or folder) The content store or null |
loadContentStore | protected ContentStore loadContentStore(String type)(Code) | | Load a content store
Parameters: type - The type of the content store (briefcase or folder) |
parameterize | public void parameterize(Parameters parameters) throws ParameterException(Code) | | |
processAddItemEvent | protected void processAddItemEvent(AddItemEvent event)(Code) | | This method processes adding one item to a content store
Parameters: event - The event triggering the action |
processCleanBriefcaseEvent | protected void processCleanBriefcaseEvent(CleanBriefcaseEvent event, Session session)(Code) | | Cleaning a briefcase or all
Parameters: event - The triggering event Parameters: session - The session |
processRemoveItemEvent | protected void processRemoveItemEvent(RemoveItemEvent event)(Code) | | This method processes removing one item from a content store
Parameters: event - The event triggering the action |
processShowItemEvent | protected void processShowItemEvent(ShowItemEvent event)(Code) | | Show one item of the basket
Parameters: event - The event triggering the action |
processUploadItemEvent | protected void processUploadItemEvent(UploadItemEvent event)(Code) | | Process an upload and add the item to the content store
Parameters: event - The event triggering the action |
saveContentStore | protected void saveContentStore(ContentStore store)(Code) | | Save the content store if it is a briefcase or a folder
|
saveContentStore | protected void saveContentStore(String type, ContentStore store)(Code) | | Save the content store for a single user
|
searchBatchInfo | protected BatchInfo searchBatchInfo(ContentItem item, ActionInfo info)(Code) | | |
service | public void service(ServiceManager manager) throws ServiceException(Code) | | |
|
|