es.udc.mypersonalizer.portal.model.actions.content

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 » Portal » mypersonalizer » es.udc.mypersonalizer.portal.model.actions.content 
es.udc.mypersonalizer.portal.model.actions.content
Java Source File NameTypeComment
AddWorkspaceAction.javaClass This model action adds a new workspace to the user's desktop, if the user has permissions to add it.

If the user is mypersonalizer, then the new workspace is added completely empty, and showing as name the type of the workspace definition.

If the user is a normal one, then the new workspace is added with all the services mypersonalizer has on them, and in the same layout, provided that the user has permissions to add these services.

ChangeDefaultWorkspaceAction.javaClass This model action changes the workspace set as "default" among the workspaces present in a user's desktop.
ChangeWorkspaceContentAction.javaClass This model action changes the services that are present in one of the user's workspaces.
ChangeWorkspaceContentActionTest.javaClass Test suite for ChangeWorkspaceContentAction .
ChangeWorkspaceLayoutAction.javaClass This model action changes the layout of a user's workspace, this is, moves the services from one area to another depending on the user's will.

It receives a ChangeWorkspaceLayoutEvent object, containing a Map indexed by area with the list of services to be assigned to each area.

ChangeWorkspacesOrderAction.javaClass This model action changes the order in which the workspaces are shown to the user in his / her desktop, which is the order in which their references are stored in the DesktopLayout object.

It receives a ChangeWorkspacesOrderEvent object as event, which provides the list of the workspace identifiers in the desktop, in the correct order.

FindDesktopContentAction.javaClass This model action performs the repository-related actions needed by the controller FindDesktopContentAction action to show the user the contents of his / her current desktop.

These actions consist on:

  • Getting the list of workspace layouts that the user can add, being:
    • If the user is mypersonalizer, this list will be the list of names of workspace definitions in the system.
    • If the user is a normal one, this will be the list of identifiers of the workspaces mypersonalizer has, provided that the user has permissions to add them.
    • Getting the workspaces that can be removed by the user.
    • Getting the identifier and name of the default workspace layout, needed to be shown to the user.
    This action receives as event a FindDesktopContentEvent , containing the identifier for the user's desktop layout (and its time stamp to check concurrency issues).

    The result being returned by this action is a FindDesktopContentResult , containing the list of allowed workspaces (in the shape explained in the result class documentation), the default workspace identifier and its name.

RemoveWorkspaceAction.javaClass This model action removes a workspace from the user's desktop.
SelectWorkspaceAction.javaClass This model action looks in the repository for a specific workspace layout, which will be needed by the controller to be the new current, and returns all the information the controller needs about it.

It receives as event a WorkspaceEvent object, which points the desired workspace layout (providing its identifier) and also provides the user's desktop layout time stamp to check that no concurrent accesses which could result in fatal errors are being performed.

This action returns a ContentResult object, which contains the workspace layout object and the list of service buttons states for the buttons in the workspace's services.

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