BrightSide Workbench Full Report + Source Code
org.turro.contacts.command.ConvocationCalendarEvent Class Reference
Inheritance diagram for org.turro.contacts.command.ConvocationCalendarEvent:
Collaboration diagram for org.turro.contacts.command.ConvocationCalendarEvent:

Protected Member Functions

void executePlugin ()
 
- Protected Member Functions inherited from org.turro.plugin.command.CalendarEventPlugin
void addToResult (Object data)
 
abstract void executePlugin (Context context) throws Exception
 

Additional Inherited Members

- Public Member Functions inherited from org.turro.plugin.command.CalendarEventPlugin
String getName ()
 
boolean stopPropagating ()
 
IContact getContact ()
 
Date getOldFrom ()
 
Date getOldTo ()
 
Date getFrom ()
 
Date getTo ()
 
String getPath ()
 
Integer getMode ()
 
void execute ()
 
String getName ()
 
boolean stopsPropagating ()
 
void setParams (Object params)
 
IContact getContact ()
 
Date getOldFrom ()
 
Date getOldTo ()
 
Date getFrom ()
 
Date getTo ()
 
String getPath ()
 
Integer getMode ()
 
Object execute (Context context)
 
- Public Member Functions inherited from org.turro.action.DefaultPlugin
void setContext (Map< String, Object > params, Map< String, Object > results)
 
Object getParam (String key)
 
boolean itsMe (String name)
 
Object addResult (String key, Object value)
 
- Static Public Member Functions inherited from org.turro.plugin.command.CalendarEventPlugin
static Collection< Object > getCalendarEventFor (IContact contact, Date oldFrom, Date oldTo, Date from, Date to, String path, int mode)
 
static Collection< ICalendarEventgetCalendarEventFor (Application app, IContact contact, Date oldFrom, Date oldTo, Date from, Date to, String path, int mode)
 
- Static Public Attributes inherited from org.turro.plugin.command.CalendarEventPlugin
static final int CREATE = 1
 
- Protected Attributes inherited from org.turro.plugin.command.CalendarEventPlugin
Map< String, Object > params
 
Collection controls
 
- Protected Attributes inherited from org.turro.action.DefaultPlugin
Map< String, Object > params
 
Map< String, Object > results
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 32 of file ConvocationCalendarEvent.java.

Member Function Documentation

◆ executePlugin()

void org.turro.contacts.command.ConvocationCalendarEvent.executePlugin ( )
protected

Reimplemented from org.turro.plugin.command.CalendarEventPlugin.

Definition at line 35 of file ConvocationCalendarEvent.java.

35  {
36  if(getPath() != null && getPath().startsWith("/convocation/")) {
37  Convocation entity = (Convocation) Entities.getController(getPath()).getEntity();
38  if(entity != null) {
39  if(getMode() == CalendarEventPlugin.UPDATE) {
40  entity.setCallDate(getFrom());
41  entity.setEndDate(getTo());
42  new ContactsPU().saveObject(entity);
43  }
44  }
45  }
46  }
Here is the call graph for this function:

The documentation for this class was generated from the following file: