es.udc.mypersonalizer.portal.model.actions.content |
|
Java Source File Name | Type | Comment |
AddWorkspaceAction.java | Class | 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.java | Class | This model action changes the workspace set as "default" among the
workspaces present in a user's desktop. |
ChangeWorkspaceContentAction.java | Class | This model action changes the services that are present in one of the
user's workspaces. |
ChangeWorkspaceContentActionTest.java | Class | Test suite for
ChangeWorkspaceContentAction . |
ChangeWorkspaceLayoutAction.java | Class | 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.java | Class | 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.java | Class | 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.java | Class | This model action removes a workspace from the user's desktop. |
SelectWorkspaceAction.java | Class | 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.java | Class | Test suite for
SelectWorkspaceAction . |