Java Doc for GroupBasedProfileManager.java in  » Content-Management-System » apache-lenya-2.0 » org » apache » cocoon » portal » profile » impl » 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.profile.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.cocoon.portal.profile.impl.AbstractProfileManager
   org.apache.cocoon.portal.profile.impl.GroupBasedProfileManager

GroupBasedProfileManager
public class GroupBasedProfileManager extends AbstractProfileManager implements Parameterizable,Contextualizable,Initializable,Disposable(Code)
This profile manager uses a group based approach: The coplet-base-data and the coplet-data are global, these are shared between all users. If the user has is own set of coplet-instance-datas/layouts these are loaded. If the user has not an own set, the group set is loaded - therefore each user has belong to exactly one group. In the case that the user does not belong to a group, a global profile is loaded. This profile manager does not check for changes of the profile, which means for example once a global profile is loaded, it is used until Cocoon is restarted. (This will be changed later on) THIS IS A WORK IN PROGRESS - IT'S NOT FINISHED/WORKING YET
author:
   Carsten Ziegeler
version:
   CVS $Id: AbstractUserProfileManager.java 37123 2004-08-27 12:11:53Z cziegeler $

Inner Class :final protected static class ProfileInfo

Field Summary
final public static  StringCATEGORY_GLOBAL
    
final public static  StringCATEGORY_GROUP
    
final public static  StringCATEGORY_USER
    
final protected static  StringKEY_PREFIX
    
protected  Contextcontext
    
protected  ProfileInfocopletBaseDatas
    
protected  ProfileInfocopletDatas
    
protected  UserInfoProviderprovider
    
protected  StringuserInfoProviderClassName
    


Method Summary
protected  MapbuildKey(String category, String profileType, UserInfo info, boolean load)
    
public  voidcontextualize(Context context)
    
public  voiddispose()
    
public  CopletDatagetCopletData(String copletDataId)
    
public  CollectiongetCopletDatas()
    
public  CopletInstanceDatagetCopletInstanceData(String copletID)
    
public  ListgetCopletInstanceData(CopletData data)
    
public  CollectiongetCopletInstanceDatas()
    
protected  booleangetCopletInstanceDatas(ProfileLS loader, UserProfile profile, UserInfo info, PortalService service, String category)
    
protected  MapgetGlobalBaseDatas(ProfileLS loader, UserInfo info, PortalService service)
    
protected  MapgetGlobalDatas(ProfileLS loader, UserInfo info, PortalService service, UserProfile profile)
    
protected  booleangetLayout(ProfileLS loader, UserProfile profile, UserInfo info, PortalService service, String category)
    
public  LayoutgetPortalLayout(String layoutKey, String layoutId)
    
public  PortalUsergetUser()
    
protected  UserProfilegetUserProfile(String layoutKey)
    
public  voidinitialize()
    
protected  UserProfileloadProfile(String layoutKey, PortalService service)
    
public  voidlogin()
    
public  voidlogout()
    
public  voidparameterize(Parameters params)
    
protected  voidprepareObject(Object object, PortalService service)
     Prepares the object by using the specified factory.
public  voidregister(CopletInstanceData coplet)
    
public  voidregister(Layout layout)
    
protected  voidremoveUserProfiles()
    
public  voidsaveUserCopletInstanceDatas(String layoutKey)
    
public  voidsaveUserLayout(String layoutKey)
    
public  voidstoreProfile(Layout rootLayout, String layoutKey)
    
protected  voidstoreUserProfile(String layoutKey, PortalService service, UserProfile profile)
    
public  voidunregister(CopletInstanceData coplet)
    
public  voidunregister(Layout layout)
    

Field Detail
CATEGORY_GLOBAL
final public static String CATEGORY_GLOBAL(Code)



CATEGORY_GROUP
final public static String CATEGORY_GROUP(Code)



CATEGORY_USER
final public static String CATEGORY_USER(Code)



KEY_PREFIX
final protected static String KEY_PREFIX(Code)



context
protected Context context(Code)
The component context



copletBaseDatas
protected ProfileInfo copletBaseDatas(Code)



copletDatas
protected ProfileInfo copletDatas(Code)



provider
protected UserInfoProvider provider(Code)
The userinfo provider - the connection to the authentication mechanism



userInfoProviderClassName
protected String userInfoProviderClassName(Code)
The class name of the userinfo provider





Method Detail
buildKey
protected Map buildKey(String category, String profileType, UserInfo info, boolean load)(Code)



contextualize
public void contextualize(Context context) throws ContextException(Code)



dispose
public void dispose()(Code)



getCopletData
public CopletData getCopletData(String copletDataId)(Code)



getCopletDatas
public Collection getCopletDatas()(Code)



getCopletInstanceData
public CopletInstanceData getCopletInstanceData(String copletID)(Code)



getCopletInstanceData
public List getCopletInstanceData(CopletData data)(Code)



getCopletInstanceDatas
public Collection getCopletInstanceDatas()(Code)



getCopletInstanceDatas
protected boolean getCopletInstanceDatas(ProfileLS loader, UserProfile profile, UserInfo info, PortalService service, String category) throws Exception(Code)



getGlobalBaseDatas
protected Map getGlobalBaseDatas(ProfileLS loader, UserInfo info, PortalService service) throws Exception(Code)



getGlobalDatas
protected Map getGlobalDatas(ProfileLS loader, UserInfo info, PortalService service, UserProfile profile) throws Exception(Code)



getLayout
protected boolean getLayout(ProfileLS loader, UserProfile profile, UserInfo info, PortalService service, String category) throws Exception(Code)



getPortalLayout
public Layout getPortalLayout(String layoutKey, String layoutId)(Code)



getUser
public PortalUser getUser()(Code)



getUserProfile
protected UserProfile getUserProfile(String layoutKey)(Code)



initialize
public void initialize() throws Exception(Code)



loadProfile
protected UserProfile loadProfile(String layoutKey, PortalService service) throws Exception(Code)
Load the profile



login
public void login()(Code)



logout
public void logout()(Code)



parameterize
public void parameterize(Parameters params) throws ParameterException(Code)



prepareObject
protected void prepareObject(Object object, PortalService service) throws ProcessingException(Code)
Prepares the object by using the specified factory.



register
public void register(CopletInstanceData coplet)(Code)



register
public void register(Layout layout)(Code)



removeUserProfiles
protected void removeUserProfiles()(Code)



saveUserCopletInstanceDatas
public void saveUserCopletInstanceDatas(String layoutKey)(Code)

See Also:   org.apache.cocoon.portal.profile.ProfileManager.saveUserCopletInstanceDatas(java.lang.String)



saveUserLayout
public void saveUserLayout(String layoutKey)(Code)

See Also:   org.apache.cocoon.portal.profile.ProfileManager.saveUserLayout(java.lang.String)



storeProfile
public void storeProfile(Layout rootLayout, String layoutKey)(Code)



storeUserProfile
protected void storeUserProfile(String layoutKey, PortalService service, UserProfile profile)(Code)



unregister
public void unregister(CopletInstanceData coplet)(Code)



unregister
public void unregister(Layout layout)(Code)



Fields inherited from org.apache.cocoon.portal.profile.impl.AbstractProfileManager
protected ServiceManager manager(Code)(Java Doc)

Methods inherited from org.apache.cocoon.portal.profile.impl.AbstractProfileManager
public void login()(Code)(Java Doc)
public void logout()(Code)(Java Doc)
public void register(CopletInstanceData coplet)(Code)(Java Doc)
public void register(Layout layout)(Code)(Java Doc)
public void saveUserCopletInstanceDatas(String layoutKey)(Code)(Java Doc)
public void saveUserLayout(String layoutKey)(Code)(Java Doc)
public void saveUserProfiles(String layoutKey)(Code)(Java Doc)
public void service(ServiceManager manager) throws ServiceException(Code)(Java Doc)
public void unregister(CopletInstanceData coplet)(Code)(Java Doc)
public void unregister(Layout layout)(Code)(Java Doc)

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