Package org.opencms.ade.contenteditor
Class CmsSerialDateService
- java.lang.Object
-
- javax.servlet.GenericServlet
-
- javax.servlet.http.HttpServlet
-
- com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
-
- com.google.gwt.user.server.rpc.RemoteServiceServlet
-
- org.opencms.gwt.CmsGwtService
-
- org.opencms.ade.contenteditor.CmsSerialDateService
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService
,com.google.gwt.user.server.rpc.SerializationPolicyProvider
,java.io.Serializable
,javax.servlet.Servlet
,javax.servlet.ServletConfig
,I_CmsSerialDateService
public class CmsSerialDateService extends CmsGwtService implements I_CmsSerialDateService
Implementation of the serial date RPC service.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CmsSerialDateService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<CmsPair<java.util.Date,java.lang.Boolean>>
getDates(java.lang.String config)
Get the dates of the specified seriesCmsPair<java.lang.Boolean,java.lang.String>
getStatus(java.lang.String config)
Get information on the series specified by the current value.-
Methods inherited from class org.opencms.gwt.CmsGwtService
checkPermissions, clearThreadStorage, doGetSerializationPolicy, doUnexpectedFailure, ensureLock, ensureLock, ensureLock, ensureLock, ensureSession, error, getCmsObject, getPropertiesByName, getRequest, getResponse, isBroadcastCall, log, log, logError, service, setBroadcastPoll, setCms, setContext, setRequest, setResponse, tryUnlock
-
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, getCodeServerPolicyUrl, getRequestModuleBasePath, getSerializationPolicy, init, loadPolicyFromCodeServer, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processCall, processPost, shouldCompressResponse
-
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
-
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service
-
-
-
-
Constructor Detail
-
CmsSerialDateService
public CmsSerialDateService()
-
-
Method Detail
-
getDates
public java.util.Collection<CmsPair<java.util.Date,java.lang.Boolean>> getDates(java.lang.String config)
Description copied from interface:I_CmsSerialDateService
Get the dates of the specified series- Specified by:
getDates
in interfaceI_CmsSerialDateService
- Parameters:
config
- series specification (widget's string value)- Returns:
- the dates of the specified series, each with a flag, indicating if it is really taking place (or excluded as an exception).
- See Also:
I_CmsSerialDateService.getDates(java.lang.String)
-
getStatus
public CmsPair<java.lang.Boolean,java.lang.String> getStatus(java.lang.String config)
Description copied from interface:I_CmsSerialDateService
Get information on the series specified by the current value.- Specified by:
getStatus
in interfaceI_CmsSerialDateService
- Parameters:
config
- series specification (widget's string value)- Returns:
- a flag, indicating if the value is valid, accompanied with a suitable status message.
- See Also:
I_CmsSerialDateService.getStatus(java.lang.String)
-
-