public class ExchangeScript
extends com.accela.aa.emse.dom.service.BaseAAScript
implements java.io.Serializable, com.accela.aa.emse.dom.service.ExchangeScriptService
AccSmation
File: ExchangeScript.java
Accela, Inc.
Copyright (C): 2002-2013
Description:
To allow script writers to add appointments to an Exchange calendar
Notes:
Revision History:
05/01/06, Kris Trujillo, Initial version
| Constructor and Description |
|---|
ExchangeScript()
Instantiates a new exchange script.
|
ExchangeScript(java.lang.String serviceProviderCode,
java.lang.String auditID)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
ScriptResult |
formatDateForExchange(java.util.Date date)
Format date for exchange.
|
ScriptResult |
incrementDateByMinutes(java.util.Date date,
int minToAdd)
Increment date by minutes.
|
ScriptResult |
init(java.lang.String user,
java.lang.String password,
java.lang.String server,
java.lang.String virtualDir)
Inits the.
|
ScriptResult |
parseDate(java.lang.String date,
java.lang.String time,
java.lang.String ampm)
Parses the date.
|
ScriptResult |
sendNewAppointment(java.lang.String subject,
java.lang.String location,
java.lang.String description,
java.lang.String startDateTime,
java.lang.String endDateTime,
java.lang.String organizer,
java.lang.String receipients)
Send new appointment.
|
public ExchangeScript(java.lang.String serviceProviderCode,
java.lang.String auditID)
serviceProviderCode - the service provider codeauditID - the audit idpublic ExchangeScript()
public ScriptResult init(java.lang.String user, java.lang.String password, java.lang.String server, java.lang.String virtualDir)
com.accela.aa.emse.dom.service.ExchangeScriptServiceinit in interface com.accela.aa.emse.dom.service.ExchangeScriptServiceuser - the userpassword - the passwordserver - the servervirtualDir - the virtual dirpublic ScriptResult sendNewAppointment(java.lang.String subject, java.lang.String location, java.lang.String description, java.lang.String startDateTime, java.lang.String endDateTime, java.lang.String organizer, java.lang.String receipients)
com.accela.aa.emse.dom.service.ExchangeScriptServicesendNewAppointment in interface com.accela.aa.emse.dom.service.ExchangeScriptServicesubject - the subjectlocation - the locationdescription - the descriptionstartDateTime - the start date timeendDateTime - the end date timeorganizer - the organizerreceipients - the receipientspublic ScriptResult parseDate(java.lang.String date, java.lang.String time, java.lang.String ampm)
com.accela.aa.emse.dom.service.ExchangeScriptServiceparseDate in interface com.accela.aa.emse.dom.service.ExchangeScriptServicedate - the datetime - the timeampm - the ampmpublic ScriptResult formatDateForExchange(java.util.Date date)
com.accela.aa.emse.dom.service.ExchangeScriptServiceformatDateForExchange in interface com.accela.aa.emse.dom.service.ExchangeScriptServicedate - the datepublic ScriptResult incrementDateByMinutes(java.util.Date date, int minToAdd)
com.accela.aa.emse.dom.service.ExchangeScriptServiceincrementDateByMinutes in interface com.accela.aa.emse.dom.service.ExchangeScriptServicedate - the dateminToAdd - the min to add