Java Doc for BasketManagerImpl.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » portal » coplets » basket » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Content Management System » apache lenya 2.0 » org.apache.cocoon.portal.coplets.basket 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


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
Inner Class :final public static class Job extends ServiceableCronJob implements CronJob

Field Summary
protected  ListbasketActions
    
protected  StringbasketClassName
    
protected  Listbatches
    
protected  ListbriefcaseActions
    
protected  StringbriefcaseClassName
    
protected  Contextcontext
    
protected  Stringdirectory
    
protected  StringfolderClassName
    
protected  ServiceManagermanager
    
protected  JobSchedulerscheduler
    


Method Summary
public  voidaddBatch(ContentItem item, int frequencyInDays, ActionInfo action)
    
public  voidcontextualize(Context context)
    
protected  voiddeleteContentStore(String type, String userId)
    
public  voiddispose()
    
public  BasketgetBasket()
    
public  ActionInfogetBasketAction(String name)
    
public  ListgetBasketActions()
    
public  BriefcasegetBriefcase()
    
public  ActionInfogetBriefcaseAction(String name)
    
public  ListgetBriefcaseActions()
    
public  ListgetBriefcaseDescriptions()
    
public  FoldergetFolder()
    
protected  StringgetUser()
    
public  voidinform(ContentStoreEvent event, PortalService service)
    
public  voidinitialize()
    
protected  ListloadBriefcases()
    
protected  ContentStoreloadContentStore(String type, String userId)
    
protected  ContentStoreloadContentStore(String type)
    
public  voidparameterize(Parameters parameters)
    
protected  voidprocessAddItemEvent(AddItemEvent event)
    
protected  voidprocessCleanBriefcaseEvent(CleanBriefcaseEvent event, Session session)
    
protected  voidprocessRemoveItemEvent(RemoveItemEvent event)
    
protected  voidprocessShowBasketEvent(ShowBasketEvent event, Session session)
    
protected  voidprocessShowItemEvent(ShowItemEvent event)
    
protected  voidprocessUploadItemEvent(UploadItemEvent event)
    
protected  voidsaveContentStore(ContentStore store)
    
protected  voidsaveContentStore(String type, ContentStore store)
    
protected  BatchInfosearchBatchInfo(ContentItem item, ActionInfo info)
    
public  voidservice(ServiceManager manager)
    
public  voidupdate(ContentStore store)
    

Field Detail
basketActions
protected List basketActions(Code)
All actions for a basket



basketClassName
protected String basketClassName(Code)
The class name of the basket



batches
protected List batches(Code)
All batches



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



scheduler
protected JobScheduler scheduler(Code)
Scheduler





Method Detail
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)



getBasket
public Basket getBasket()(Code)



getBasketAction
public ActionInfo getBasketAction(String name)(Code)



getBasketActions
public List getBasketActions()(Code)



getBriefcase
public Briefcase getBriefcase()(Code)



getBriefcaseAction
public ActionInfo getBriefcaseAction(String name)(Code)



getBriefcaseActions
public List getBriefcaseActions()(Code)



getBriefcaseDescriptions
public List getBriefcaseDescriptions()(Code)



getFolder
public Folder getFolder()(Code)



getUser
protected String getUser()(Code)
Get the current user



inform
public void inform(ContentStoreEvent event, PortalService service)(Code)

See Also:   Receiver



initialize
public void initialize() throws Exception(Code)



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



processShowBasketEvent
protected void processShowBasketEvent(ShowBasketEvent event, Session session)(Code)
Show the selected basket



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)



update
public void update(ContentStore store)(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.