From 90966728991f04dbb92cd052c734b4aec658e1b6 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 8 Feb 2009 01:36:06 +0000 Subject: --- doc/shared/remotecall/ClientRequest.html | 794 ------------------------------- 1 file changed, 794 deletions(-) delete mode 100644 doc/shared/remotecall/ClientRequest.html (limited to 'doc/shared/remotecall/ClientRequest.html') diff --git a/doc/shared/remotecall/ClientRequest.html b/doc/shared/remotecall/ClientRequest.html deleted file mode 100644 index 6d6e2de..0000000 --- a/doc/shared/remotecall/ClientRequest.html +++ /dev/null @@ -1,794 +0,0 @@ - - - - - - -ClientRequest - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - -
- -

- -shared.remotecall -
-Class ClientRequest

-
-java.lang.Object
-  extended byshared.remotecall.RemoteCall
-      extended byshared.remotecall.ClientRequest
-
-
-
All Implemented Interfaces:
java.io.Serializable
-
-
-
-
public final class ClientRequest
extends RemoteCall
implements java.io.Serializable
- -

-An object of this class is sent from the calendar client to the calendar server each time - a request is made. This class encapsulates all the needed information so that the server can - response with a serialized server response object. -

- -

-

-
Author:
-
buetow
-
See Also:
Serialized Form
-
- -

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Field Summary
-static intADD_EVENT - -
-           
-static intDELETE_EVENT - -
-           
-static intFLUSH_DATABASE - -
-           
-static intMODIFY_EVENT - -
-           
-static intRELOAD_DATABASE - -
-           
-static intREQUEST_ALL_EVENTS - -
-           
-static intREQUEST_EVENTS - -
-           
-static intSHUTDOWN_SERVER - -
-           
-  - - - - - - - - - - - - - -
-Constructor Summary
ClientRequest() - -
-          Simple constructor, creates a client request object requesting events up - from the current date.
ClientRequest(int iAction) - -
-          Simple constructor, creates a client request object requesting events up - from the current date.
-  - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-Method Summary
- booleanactionIs(int iAction) - -
-          This method is needed by the clanedar server to get the type of action requested.
- CalendarEventgetEvent() - -
-          This method returns the event object.
- intgetNumEventsToRequest() - -
-          This method returns the maximum number of events the client wants to request.
- booleanmatch(CalendarEvent calendarEvent) - -
-          Checks if a specific calendar event matches this client request.
- booleanrequestsNewEvents() - -
-          This method is needed by the calendar server to get the type of action requested.
- voidsetDateRange(java.util.Date dateRangeFrom, - java.util.Date dateRangeTo) - -
-          This method sets the date range to request.
- voidsetEvent(CalendarEvent event) - -
-          This method sets a calendar event object to be transfered to the calendar server because the event has been modified.
- voidsetMainRegexp(boolean bMainRegexp) - -
-          This method sets if the client contains a regexp from the main session window.
- voidsetNumEventsToRequest(int iNumEvents) - -
-          With this method the client can define the maximum number of events to request.
- voidsetRegexpAll(java.lang.String sRegexp) - -
-          This method compiles a specific pattern object to match with on the server part after serialization.
- voidsetRegexpCategory(java.lang.String sRegexp) - -
-          This method compiles a specific pattern object to match with on the server part after serialization.
- voidsetRegexpDate(java.lang.String sRegexp) - -
-          This method compiles a specific pattern object to match with on the server part after serialization.
- voidsetRegexpDescription(java.lang.String sRegexp) - -
-          This method compiles a specific pattern object to match with on the server part after serialization.
- voidsetRegexpPlace(java.lang.String sRegexp) - -
-          This method compiles a specific pattern object to match with on the server part after serialization.
- java.lang.StringtoString() - -
-          This method returns a representation the object as a string.
- - - - - - - -
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-  -

- - - - - - - - -
-Field Detail
- -

-REQUEST_EVENTS

-
-public static final int REQUEST_EVENTS
-
-
-
See Also:
Constant Field Values
-
-
- -

-REQUEST_ALL_EVENTS

-
-public static final int REQUEST_ALL_EVENTS
-
-
-
See Also:
Constant Field Values
-
-
- -

-MODIFY_EVENT

-
-public static final int MODIFY_EVENT
-
-
-
See Also:
Constant Field Values
-
-
- -

-DELETE_EVENT

-
-public static final int DELETE_EVENT
-
-
-
See Also:
Constant Field Values
-
-
- -

-ADD_EVENT

-
-public static final int ADD_EVENT
-
-
-
See Also:
Constant Field Values
-
-
- -

-RELOAD_DATABASE

-
-public static final int RELOAD_DATABASE
-
-
-
See Also:
Constant Field Values
-
-
- -

-FLUSH_DATABASE

-
-public static final int FLUSH_DATABASE
-
-
-
See Also:
Constant Field Values
-
-
- -

-SHUTDOWN_SERVER

-
-public static final int SHUTDOWN_SERVER
-
-
-
See Also:
Constant Field Values
-
- - - - - - - - -
-Constructor Detail
- -

-ClientRequest

-
-public ClientRequest()
-
-
Simple constructor, creates a client request object requesting events up - from the current date. -

-

-
- -

-ClientRequest

-
-public ClientRequest(int iAction)
-
-
Simple constructor, creates a client request object requesting events up - from the current date. -

-

Parameters:
iAction - Specifies the request type of this request.
- - - - - - - - -
-Method Detail
- -

-actionIs

-
-public boolean actionIs(int iAction)
-
-
This method is needed by the clanedar server to get the type of action requested. -

-

-
-
-
-
Parameters:
iAction - Specifies the action to test against. -
Returns:
Returns true if the specified action ID matches with the action ID of this request object.
-
-
-
- -

-requestsNewEvents

-
-public boolean requestsNewEvents()
-
-
This method is needed by the calendar server to get the type of action requested. -

-

-
-
-
- -
Returns:
Returns true if this object requests new events from the server.
-
-
-
- -

-setDateRange

-
-public void setDateRange(java.util.Date dateRangeFrom,
-                         java.util.Date dateRangeTo)
-
-
This method sets the date range to request. -

-

-
-
-
-
Parameters:
dateRangeFrom - Specifies the beginning date.
dateRangeTo - Specifies the ending date.
-
-
-
- -

-setEvent

-
-public void setEvent(CalendarEvent event)
-
-
This method sets a calendar event object to be transfered to the calendar server because the event has been modified. -

-

-
-
-
-
Parameters:
event - Specifies an event to be transfered to the calendar server.
-
-
-
- -

-getEvent

-
-public CalendarEvent getEvent()
-
-
This method returns the event object. -

-

-
-
-
- -
Returns:
Returns the calendar event which is stored inside this client request.
-
-
-
- -

-setNumEventsToRequest

-
-public void setNumEventsToRequest(int iNumEvents)
-
-
With this method the client can define the maximum number of events to request. -

-

-
-
-
-
Parameters:
iNumEvents - Specifies the maximum number of events to request.
-
-
-
- -

-getNumEventsToRequest

-
-public int getNumEventsToRequest()
-
-
This method returns the maximum number of events the client wants to request. -

-

-
-
-
- -
Returns:
Returns the maximum number of events the client wants to request.
-
-
-
- -

-setMainRegexp

-
-public void setMainRegexp(boolean bMainRegexp)
-
-
This method sets if the client contains a regexp from the main session window. -

-

-
-
-
-
Parameters:
bMainRegexp - Set to true if the user used the main regexp field of the main GUI window.
-
-
-
- -

-setRegexpAll

-
-public void setRegexpAll(java.lang.String sRegexp)
-
-
This method compiles a specific pattern object to match with on the server part after serialization. -

-

-
-
-
-
Parameters:
sRegexp - Compiles a Pattern object with sRegexp as the regular expression.
-
-
-
- -

-setRegexpCategory

-
-public void setRegexpCategory(java.lang.String sRegexp)
-
-
This method compiles a specific pattern object to match with on the server part after serialization. -

-

-
-
-
-
Parameters:
sRegexp - Compiles a Pattern object with sRegexp as the regular expression.
-
-
-
- -

-setRegexpDescription

-
-public void setRegexpDescription(java.lang.String sRegexp)
-
-
This method compiles a specific pattern object to match with on the server part after serialization. -

-

-
-
-
-
Parameters:
sRegexp - Compiles a Pattern object with sRegexp as the regular expression.
-
-
-
- -

-setRegexpPlace

-
-public void setRegexpPlace(java.lang.String sRegexp)
-
-
This method compiles a specific pattern object to match with on the server part after serialization. -

-

-
-
-
-
Parameters:
sRegexp - Compiles a Pattern object with sRegexp as the regular expression.
-
-
-
- -

-setRegexpDate

-
-public void setRegexpDate(java.lang.String sRegexp)
-
-
This method compiles a specific pattern object to match with on the server part after serialization. -

-

-
-
-
-
Parameters:
sRegexp - Compiles a Pattern object with sRegexp as the regular expression.
-
-
-
- -

-match

-
-public boolean match(CalendarEvent calendarEvent)
-
-
Checks if a specific calendar event matches this client request. -

-

-
-
-
-
Parameters:
calendarEvent - Specifies the event to match against. -
Returns:
Returns true if the given event matched. Else, false will be returned.
-
-
-
- -

-toString

-
-public java.lang.String toString()
-
-
This method returns a representation the object as a string. -

-

-
-
-
- -
Returns:
Returns the object represented as a string.
-
-
- -
- - - - - - - - - - - - - - - - - - - -
- -
- - - -
- - - -- cgit v1.2.3