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_calendarColorsThe color componentprotected Context_contextThe avalon contextprotected CurrentUserProvider_currentUserProviderThe current user provider.protected ExplorerResourcesDAO_explorerResourcesDAOExplorer resources DAOprotected MessagingConnectorCalendarManager_messagingConnectorCalendarManagerThe Messaging connector calendar managerprotected ObservationManager_observationManagerObserver manager.protected ProjectManager_projectManagerWorkspaces project managerprotected ProjectTagsDAO_projectTagsDAOThe project tags DAOprotected AmetysObjectResolver_resolverAmetys resolverprotected RightManager_rightManagerThe rights managerprotected UserManager_userManagerUser managerprotected WorkflowHelper_workflowHelperThe workflow helperprotected WorkflowProvider_workflowProviderThe workflow providerprotected WorkspaceModuleExtensionPoint_workspaceModuleEPThe workspace module EPstatic StringRIGHTS_BOOK_RESOURCERight to book a resourcestatic StringRIGHTS_CALENDAR_ADDRight to add a calendarstatic StringRIGHTS_CALENDAR_DELETERight to delete a calendarstatic StringRIGHTS_CALENDAR_EDITRight to edit a calendarstatic StringRIGHTS_EVENT_ADDRight to add a eventstatic StringRIGHTS_EVENT_DELETERight to delete a eventstatic StringRIGHTS_EVENT_DELETE_OWNRight to delete_own a eventstatic StringRIGHTS_EVENT_EDITRight to edit a eventstatic StringRIGHTS_HANDLE_RESOURCERight to handle a resourcestatic StringRIGHTS_OWNED_EVENT_DELETERight 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 namevoidcontextualize(Context context)voidservice(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:
contextualizein interfaceContextualizable- Throws:
ContextException
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein 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
-
-