Class AbstractCalendarDAO
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.ametys.plugins.workspaces.calendars.AbstractCalendarDAO
- All Implemented Interfaces:
Component
,Contextualizable
,LogEnabled
,Serviceable
- Direct Known Subclasses:
CalendarDAO
,CalendarEventDAO
,CalendarEventJSONHelper
,CalendarResourceDAO
public abstract class AbstractCalendarDAO
extends AbstractLogEnabled
implements Serviceable, Component, Contextualizable
Abstract class for Calendar DAO's
-
Field Summary
Modifier and TypeFieldDescriptionprotected CalendarColorsComponent
The color componentprotected Context
The avalon contextprotected CurrentUserProvider
The current user provider.protected ExplorerResourcesDAO
Explorer resources DAOprotected MessagingConnectorCalendarManager
The Messaging connector calendar managerprotected ObservationManager
Observer manager.protected ProjectManager
Workspaces project managerprotected ProjectTagsDAO
The project tags DAOprotected AmetysObjectResolver
Ametys resolverprotected RightManager
The rights managerprotected UserManager
User managerprotected WorkflowHelper
The workflow helperprotected WorkflowProvider
The workflow providerprotected WorkspaceModuleExtensionPoint
The workspace module EPstatic final String
Right to book a resourcestatic final String
Right to add a calendarstatic final String
Right to delete a calendarstatic final String
Right to edit a calendarstatic final String
Right to add a eventstatic final String
Right to delete a eventstatic final String
Right to delete_own a eventstatic final String
Right to edit a eventstatic final String
Right to handle a resourcestatic final String
Right to edit a event -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Project
Get the projectprotected String
Get the project namevoid
contextualize
(Context context) void
service
(ServiceManager manager) Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
Field Details
-
RIGHTS_CALENDAR_ADD
Right to add a calendar- See Also:
-
RIGHTS_CALENDAR_EDIT
Right to edit a calendar- See Also:
-
RIGHTS_CALENDAR_DELETE
Right to delete a calendar- See Also:
-
RIGHTS_EVENT_ADD
Right to add a event- See Also:
-
RIGHTS_EVENT_EDIT
Right to edit a event- See Also:
-
RIGHTS_OWNED_EVENT_DELETE
Right to edit a event- See Also:
-
RIGHTS_EVENT_DELETE
Right to delete a event- See Also:
-
RIGHTS_EVENT_DELETE_OWN
Right to delete_own a event- See Also:
-
RIGHTS_HANDLE_RESOURCE
Right to handle a resource- See Also:
-
RIGHTS_BOOK_RESOURCE
Right to book a resource- See Also:
-
_explorerResourcesDAO
Explorer resources DAO -
_resolver
Ametys resolver -
_observationManager
Observer manager. -
_currentUserProvider
The current user provider. -
_rightManager
The rights manager -
_userManager
User manager -
_workflowProvider
The workflow provider -
_workflowHelper
The workflow helper -
_projectManager
Workspaces project manager -
_messagingConnectorCalendarManager
The Messaging connector calendar manager -
_context
The avalon context -
_projectTagsDAO
The project tags DAO -
_workspaceModuleEP
The workspace module EP -
_calendarColors
The color component
-
-
Constructor Details
-
AbstractCalendarDAO
public AbstractCalendarDAO()
-
-
Method Details
-
contextualize
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
_getProjectName
Get the project name- Returns:
- the project name
-
_getProject
Get the project- Returns:
- the project
-