Top Description Fields Constructors Methods
net.fortuna.ical4j.transform.itip

public abstract Class AbstractMethodTransformer

extends Object
implements Transformer<Calendar>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.transform.Transformer, java.util.function.UnaryOperator, java.util.function.Function
Known Direct Subclasses
net.fortuna.ical4j.transform.itip.AddTransformer, net.fortuna.ical4j.transform.itip.CancelTransformer, net.fortuna.ical4j.transform.itip.CounterTransformer, net.fortuna.ical4j.transform.itip.DeclineCounterTransformer, net.fortuna.ical4j.transform.itip.PublishTransformer, net.fortuna.ical4j.transform.itip.RefreshTransformer, net.fortuna.ical4j.transform.itip.ReplyTransformer, net.fortuna.ical4j.transform.itip.RequestTransformer
Imports
net.fortuna.ical4j.model.Calendar, .ChangeManagementPropertyModifiers, .ComponentGroup, .Property, net.fortuna.ical4j.model.component.CalendarComponent, net.fortuna.ical4j.model.property.Method, .Uid, net.fortuna.ical4j.transform.Transformer, java.time.Instant, java.util.Arrays, .List, java.util.function.Supplier

Subclasses provide implementations to support ITiP methods as specified in RFC5546.
    1.4.  Methods

   The iTIP methods are listed below and their usage and semantics are
   defined in Section 3 of this document.

   +----------------+--------------------------------------------------+
   | Method         | Description                                      |
   +----------------+--------------------------------------------------+
   | PUBLISH        | Used to publish an iCalendar object to one or    |
   |                | more "Calendar Users".  There is no              |
   |                | interactivity between the publisher and any      |
   |                | other "Calendar User".  An example might include |
   |                | a baseball team publishing its schedule to the   |
   |                | public.                                          |
   |                |                                                  |
   | REQUEST        | Used to schedule an iCalendar object with other  |
   |                | "Calendar Users".  Requests are interactive in   |
   |                | that they require the receiver to respond using  |
   |                | the reply methods.  Meeting requests, busy-time  |
   |                | requests, and the assignment of tasks to other   |
   |                | "Calendar Users" are all examples.  Requests are |
   |                | also used by the Organizer to update the status  |
   |                | of an iCalendar object.                          |
   |                |                                                  |
   | REPLY          | A reply is used in response to a request to      |
   |                | convey Attendee status to the Organizer.         |
   |                | Replies are commonly used to respond to meeting  |
   |                | and task requests.                               |
   |                |                                                  |
   | ADD            | Add one or more new instances to an existing     |
   |                | recurring iCalendar object.                      |
   |                |                                                  |
   | CANCEL         | Cancel one or more instances of an existing      |
   |                | iCalendar object.                                |
   |                |                                                  |
   | REFRESH        | Used by an Attendee to request the latest        |
   |                | version of an iCalendar object.                  |
   |                |                                                  |
   | COUNTER        | Used by an Attendee to negotiate a change in an  |
   |                | iCalendar object.  Examples include the request  |
   |                | to change a proposed event time or change the    |
   |                | due date for a task.                             |
   |                |                                                  |
   | DECLINECOUNTER | Used by the Organizer to decline the proposed    |
   |                | counter proposal.                                |
   +----------------+--------------------------------------------------+

Field Summary

Modifier and TypeField and Description
private final boolean
private final Method
private final List<String>
private final boolean
private final Supplier<Uid>

Constructor Summary

AccessConstructor and Description
pack-priv
AbstractMethodTransformer(Method method, Supplier<Uid> uidGenerator, boolean sameUid, boolean incrementSequence, String... requiredProps)

Method Summary

Modifier and TypeMethod and Description
public Calendar
apply(Calendar
the function argument
object
)

Implements java.util.function.Function.apply.

Applies this function to the given argument.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

incrementSequenceback to summary
private final boolean incrementSequence
methodback to summary
private final Method method
requiredPropsback to summary
private final List<String> requiredProps
sameUidback to summary
private final boolean sameUid
uidGeneratorback to summary
private final Supplier<Uid> uidGenerator

Constructor Detail

AbstractMethodTransformerback to summary
pack-priv AbstractMethodTransformer(Method method, Supplier<Uid> uidGenerator, boolean sameUid, boolean incrementSequence, String... requiredProps)

Method Detail

applyback to summary
public Calendar apply(Calendar object)

Implements java.util.function.Function.apply.

Doc from java.util.function.Function.apply.

Applies this function to the given argument.

Parameters
object:Calendar

the function argument

Returns:Calendar

the function result

Annotations
@Override