public class FreeBusyServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Class and Description |
|---|---|
protected static class |
FreeBusyServlet.RRule
RRule
|
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CONFIGURATION_ID |
protected static int |
DEFAULT_MAX_ACTIVITIES |
protected static String |
PARAMETER_NAME_DISABLED |
protected static String |
PARAMETER_NAME_ID |
protected static String |
PARAMETER_NAME_RESOURCE |
protected static String |
PARAMETER_NAME_TYPE |
protected static String |
PARAMETER_NAME_USER |
protected javax.jdo.PersistenceManagerFactory |
pmf |
protected static String |
PROPERTY_MAX_ACTIVITIES |
protected static String |
RESOURCE_FORMAT_ICS |
| Constructor and Description |
|---|
FreeBusyServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp) |
protected ActivityQueryHelper |
getActivitiesQueryHelper(javax.jdo.PersistenceManager pm,
String filterId,
String isDisabledFilter)
Get activities query helper.
|
protected ComponentConfiguration |
getComponentConfiguration(String providerName,
javax.jdo.PersistenceManager rootPm)
Get configuration for this component.
|
protected javax.jdo.PersistenceManager |
getRootPersistenceManager()
Get persistence manager for root user.
|
void |
init(javax.servlet.ServletConfig config) |
protected boolean |
matches(String token,
List<String> strings)
Return true if string matches token.
|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, serviceprotected static final String CONFIGURATION_ID
protected static final String PARAMETER_NAME_ID
protected static final String PARAMETER_NAME_DISABLED
protected static final String PARAMETER_NAME_USER
protected static final String PARAMETER_NAME_TYPE
protected static final String PARAMETER_NAME_RESOURCE
protected static final String RESOURCE_FORMAT_ICS
protected static final String PROPERTY_MAX_ACTIVITIES
protected static final int DEFAULT_MAX_ACTIVITIES
protected javax.jdo.PersistenceManagerFactory pmf
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionprotected javax.jdo.PersistenceManager getRootPersistenceManager()
protected ComponentConfiguration getComponentConfiguration(String providerName, javax.jdo.PersistenceManager rootPm)
providerName - rootPm - protected ActivityQueryHelper getActivitiesQueryHelper(javax.jdo.PersistenceManager pm, String filterId, String isDisabledFilter)
pm - filterId - isDisabledFilter - protected boolean matches(String token, List<String> strings)
token - strings - protected void doGet(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletExceptionIOExceptionThis software is published under the BSD license. Copyright © 2003-${build.year}, CRIXP AG, Switzerland, All rights reserved. Use is subject to license terms.