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
Fields Modifier and Type Field Description protected CalendarColorsComponent
_calendarColors
The color componentprotected Context
_context
The avalon contextprotected CurrentUserProvider
_currentUserProvider
The current user provider.protected ExplorerResourcesDAO
_explorerResourcesDAO
Explorer resources DAOprotected MessagingConnectorCalendarManager
_messagingConnectorCalendarManager
The Messaging connector calendar managerprotected ObservationManager
_observationManager
Observer manager.protected ProjectManager
_projectManager
Workspaces project managerprotected ProjectTagsDAO
_projectTagsDAO
The project tags DAOprotected AmetysObjectResolver
_resolver
Ametys resolverprotected RightManager
_rightManager
The rights managerprotected UserManager
_userManager
User managerprotected WorkflowHelper
_workflowHelper
The workflow helperprotected WorkflowProvider
_workflowProvider
The workflow providerprotected WorkspaceModuleExtensionPoint
_workspaceModuleEP
The workspace module EPstatic String
RIGHTS_BOOK_RESOURCE
Right to book a resourcestatic String
RIGHTS_CALENDAR_ADD
Right to add a calendarstatic String
RIGHTS_CALENDAR_DELETE
Right to delete a calendarstatic String
RIGHTS_CALENDAR_EDIT
Right to edit a calendarstatic String
RIGHTS_EVENT_ADD
Right to add a eventstatic String
RIGHTS_EVENT_DELETE
Right to delete a eventstatic String
RIGHTS_EVENT_DELETE_OWN
Right to delete_own a eventstatic String
RIGHTS_EVENT_EDIT
Right to edit a eventstatic String
RIGHTS_HANDLE_RESOURCE
Right to handle a resourcestatic String
RIGHTS_OWNED_EVENT_DELETE
Right to edit a event
-
Constructor Summary
Constructors Constructor Description AbstractCalendarDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Project
_getProject()
Get the projectprotected String
_getProjectName()
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 Detail
-
RIGHTS_CALENDAR_ADD
public static final String RIGHTS_CALENDAR_ADD
Right to add a calendar- See Also:
- Constant Field Values
-
RIGHTS_CALENDAR_EDIT
public static final String RIGHTS_CALENDAR_EDIT
Right to edit a calendar- See Also:
- Constant Field Values
-
RIGHTS_CALENDAR_DELETE
public static final String RIGHTS_CALENDAR_DELETE
Right to delete a calendar- See Also:
- Constant Field Values
-
RIGHTS_EVENT_ADD
public static final String RIGHTS_EVENT_ADD
Right to add a event- See Also:
- Constant Field Values
-
RIGHTS_EVENT_EDIT
public static final String RIGHTS_EVENT_EDIT
Right to edit a event- See Also:
- Constant Field Values
-
RIGHTS_OWNED_EVENT_DELETE
public static final String RIGHTS_OWNED_EVENT_DELETE
Right to edit a event- See Also:
- Constant Field Values
-
RIGHTS_EVENT_DELETE
public static final String RIGHTS_EVENT_DELETE
Right to delete a event- See Also:
- Constant Field Values
-
RIGHTS_EVENT_DELETE_OWN
public static final String RIGHTS_EVENT_DELETE_OWN
Right to delete_own a event- See Also:
- Constant Field Values
-
RIGHTS_HANDLE_RESOURCE
public static final String RIGHTS_HANDLE_RESOURCE
Right to handle a resource- See Also:
- Constant Field Values
-
RIGHTS_BOOK_RESOURCE
public static final String RIGHTS_BOOK_RESOURCE
Right to book a resource- See Also:
- Constant Field Values
-
_explorerResourcesDAO
protected ExplorerResourcesDAO _explorerResourcesDAO
Explorer resources DAO
-
_resolver
protected AmetysObjectResolver _resolver
Ametys resolver
-
_observationManager
protected ObservationManager _observationManager
Observer manager.
-
_currentUserProvider
protected CurrentUserProvider _currentUserProvider
The current user provider.
-
_rightManager
protected RightManager _rightManager
The rights manager
-
_userManager
protected UserManager _userManager
User manager
-
_workflowProvider
protected WorkflowProvider _workflowProvider
The workflow provider
-
_workflowHelper
protected WorkflowHelper _workflowHelper
The workflow helper
-
_projectManager
protected ProjectManager _projectManager
Workspaces project manager
-
_messagingConnectorCalendarManager
protected MessagingConnectorCalendarManager _messagingConnectorCalendarManager
The Messaging connector calendar manager
-
_projectTagsDAO
protected ProjectTagsDAO _projectTagsDAO
The project tags DAO
-
_workspaceModuleEP
protected WorkspaceModuleExtensionPoint _workspaceModuleEP
The workspace module EP
-
_calendarColors
protected CalendarColorsComponent _calendarColors
The color component
-
-
Constructor Detail
-
AbstractCalendarDAO
public AbstractCalendarDAO()
-
-
Method Detail
-
contextualize
public void contextualize(Context context) throws ContextException
- Specified by:
contextualize
in interfaceContextualizable
- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
_getProjectName
protected String _getProjectName()
Get the project name- Returns:
- the project name
-
_getProject
protected Project _getProject()
Get the project- Returns:
- the project
-
-