Plugin google-calendar

Version: Not specified

Features detail

google-calendar/google.calendar.service

Extensions:

org.ametys.web.service.calendar.rights

Extension point extended:
org.ametys.core.right.RightsExtensionPoint

Configuration:

<extension point="org.ametys.core.right.RightsExtensionPoint" id="org.ametys.web.service.calendar.rights">
<right id="Plugin_GoogleCalendar_Right_Service_Calendar">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_RIGHTS_SERVICE_CALENDAR_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_RIGHTS_SERVICE_CALENDAR_DESCRIPTION</description>
<category i18n="true">plugin.web:PLUGINS_WEB_RIGHTS_SERVICE_CREATE_CATEGORY</category>
</right>
</extension>

org.ametys.plugins.google-calendar.service.Calendar

Associated java class:
org.ametys.web.service.StaticService

Extension point extended:
org.ametys.web.service.ServiceExtensionPoint

Configuration:

<extension point="org.ametys.web.service.ServiceExtensionPoint" class="org.ametys.web.service.StaticService" id="org.ametys.plugins.google-calendar.service.Calendar">
<url>service/calendar.html</url>
<right>Plugin_GoogleCalendar_Right_Service_Calendar</right>
<cacheable>true</cacheable>
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_DESCRIPTION</description>
<category i18n="true">plugin.web:PLUGINS_WEB_SERVICE_CATEGORY_20_CONTENT_EXTERNAL</category>
<thumbnail>
<small>img/service/calendar_16.png</small>
<medium>img/service/calendar_32.png</medium>
<large>img/service/calendar_48.png</large>
</thumbnail>
<parameters>
<parameter name="header" type="string">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_TITLE</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_TITLE_DESC</description>
</parameter>
<parameter name="src" type="string">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_ID_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_ID_DESC</description>
<validation>
<mandatory/>
</validation>
</parameter>
<parameter name="mode" type="string">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_MODE_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_MODE_DESC</description>
<default-value>MONTH</default-value>
<validation>
<mandatory/>
</validation>
<enumeration>
<custom-enumerator class="org.ametys.plugins.googlecalendar.ModeEnumerator"/>
</enumeration>
</parameter>
<parameter name="wkst" type="string">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_WEEK_START_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_WEEK_START_DESC</description>
<default-value>1</default-value>
<validation>
<mandatory/>
</validation>
<enumeration>
<custom-enumerator class="org.ametys.plugins.googlecalendar.WeekStartEnumerator"/>
</enumeration>
</parameter>
<parameter name="iframe-height" type="long">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_IFRAME_HEIGHT</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_IFRAME_HEIGHT_DESC</description>
</parameter>
<parameter name="iframe-border" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_IFRAME_BORDER</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_IFRAME_BORDER_DESC</description>
</parameter>
<parameter name="showTitle" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TITLE_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TITLE_DESC</description>
</parameter>
<parameter name="showNav" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_NAV_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_NAV_DESC</description>
</parameter>
<parameter name="showDate" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_DATE_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_DATE_DESC</description>
</parameter>
<parameter name="showPrint" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_PRINT_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_PRINT_DESC</description>
</parameter>
<parameter name="showTabs" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TABS_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TABS_DESC</description>
</parameter>
<parameter name="showCalendars" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_CALENDARS_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_CALENDARS_DESC</description>
</parameter>
<parameter name="showTz" type="boolean">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TZ_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_SHOW_TZ_DESC</description>
</parameter>
<parameter name="bgcolor" type="string">
<label i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_BGCOLOR_LABEL</label>
<description i18n="true">PLUGINS_GOOGLE_CALENDAR_SERVICE_CALENDAR_BGCOLOR_DESC</description>
<validation>
<regexp>^#[0-9A-Fa-f]{6}$</regexp>
</validation>
</parameter>
</parameters>
<indexation>
<parameter>header</parameter>
</indexation>
</extension>

google-calendar/google.calendar.service.cache.policy

Extensions:

org.ametys.plugins.google-calendar.service.CalendarCachePolicy

Associated java class:
org.ametys.web.cache.service.IsolatedServiceCachePolicy

Extension point extended:
org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem

Configuration:

<extension point="org.ametys.web.cache.pageelement.PageElementCachePolicyExtensionPoint/zoneItem" id="org.ametys.plugins.google-calendar.service.CalendarCachePolicy" class="org.ametys.web.cache.service.IsolatedServiceCachePolicy">
<service id="org.ametys.plugins.google-calendar.service.Calendar"/>
</extension>