|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This is the remote interface for the lightweight standard calendar service.
A magdog forwarder will be automagically generated for it.
Supported API: false
Extendable: false
Method Summary | |
Timestamp |
calculateDeadline(WTPrincipal user,
long start_date,
int nbrWorkDays)
Calculates the deadline from "start" that is "nbrWorkDays" hence for "user". |
Timestamp |
calculateDeadline(WTPrincipal user,
long start_date,
int nbrWorkDays,
int zone_offset)
Calculates the deadline from "start" that is "nbrWorkDays" hence for "user". |
Timestamp |
calculateDeadline(WTPrincipal user,
long start_date,
long duration)
Calculate and return the due date, as a Timestamp, for the "user" based upon the "start" date and expected "duration". |
Timestamp |
calculateDeadline(WTPrincipal user,
long start_date,
long duration,
int zone_offset)
Calculate and return the due date, as a Timestamp, for the "user" based upon the "start" date and expected "duration". |
Timestamp |
calculateDeadline(WTPrincipalReference user,
long start_date,
int nbrWorkDays)
Calculates the deadline from "start" that is "nbrWorkDays" hence for "user". |
Timestamp |
calculateDeadline(WTPrincipalReference user,
long start_date,
int nbrWorkDays,
int zone_offset)
Calculates the deadline from "start" that is "nbrWorkDays" hence for "user". |
Timestamp |
calculateDeadline(WTPrincipalReference user,
long start_date,
long duration)
Calculate and return the due date, as a Timestamp, for the "user" based upon the "start" date and expected "duration". |
Timestamp |
calculateDeadline(WTPrincipalReference user,
long start_date,
long duration,
int zone_offset)
Calculate and return the due date, as a Timestamp, for the "user" based upon the "start" date and expected "duration". |
int |
calculateWorkingDays(WTPrincipal user,
long start_date,
long end_date)
Calculate the number of working days for the user between start and end. |
int |
calculateWorkingDays(WTPrincipal user,
long start_date,
long end_date,
int zone_offset)
Calculate the number of working days for the user between start and end. |
int |
calculateWorkingDays(WTPrincipalReference user,
long start_date,
long end_date)
Calculate the number of working days for the user between start and end. |
int |
calculateWorkingDays(WTPrincipalReference user,
long start_date,
long end_date,
int zone_offset)
Calculate the number of working days for the user between start and end. |
int |
calculateWorkingPeriods(WTPrincipal user,
long start_date,
long end_date)
Calculate the number of workable 24-hour periods for the user between start and end dates, inclusive. |
int |
calculateWorkingPeriods(WTPrincipal user,
long start_date,
long end_date,
int zone_offset)
Calculate the number of workable 24-hour periods for the user between start and end dates, inclusive. |
int |
calculateWorkingPeriods(WTPrincipalReference user,
long start_date,
long end_date)
Calculate the number of workable 24-hour periods for the user between start and end dates, inclusive. |
int |
calculateWorkingPeriods(WTPrincipalReference user,
long start_date,
long end_date,
int zone_offset)
Calculate the number of workable 24-hour periods for the user between start and end dates, inclusive. |
CalendarMonth |
clearDays(WTPrincipalReference user,
long start_date,
long end_date,
boolean undelegate,
int zone_offset)
Resets the user's days specified between start and end back to that of the Windchill system calendar (note that delegation is also cleared). |
CalendarMonth |
getCalendarMonth(WTPrincipalReference user,
int month,
int year,
int zone_offset)
Note that to access the system calendar, the user parm would need to be the WTPrincipalReference for the WTGroup assigned in the wt.properties file to the property wt.admin.adminGroup. |
WTPrincipalReference |
getDelegate(WTPrincipalReference user,
long start_date,
long end_date)
Passed the reference to a WTPrincipal to check if delegation exists for the period of time from start-end. |
WTUser |
getDelegate(WTUser user,
long start_date,
long end_date)
Passed the reference to a WTUser to check if delegation exists for the period of time from start-end. |
CalendarMonth |
setDelegatedDays(WTPrincipalReference user,
WTPrincipalReference delegate,
long start_date,
long end_date,
int zone_offset)
Sets the user's days specified between start and end as delegated to the "delegate" passed in. |
CalendarMonth |
setDelegateIndefinitely(WTPrincipalReference user,
WTPrincipalReference delegate,
long start_date,
int zone_offset)
Sets the delegation for this user to "delegate" and begin on "start". |
CalendarMonth |
setNonWorkDays(WTPrincipalReference user,
long start_date,
long end_date,
int zone_offset)
Sets the user's days specified between start and end as Non-Working Days. |
CalendarMonth |
setWorkDays(WTPrincipalReference user,
long start_date,
long end_date,
int zone_offset)
Sets the user's days specified between start and end as Working Days. |
Method Detail |
public CalendarMonth setWorkDays(WTPrincipalReference user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public CalendarMonth setNonWorkDays(WTPrincipalReference user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public CalendarMonth setDelegatedDays(WTPrincipalReference user, WTPrincipalReference delegate, long start_date, long end_date, int zone_offset) throws WTException
user
- delegate
- start_date
- end_date
- zone_offset
-
WTException
public CalendarMonth setDelegateIndefinitely(WTPrincipalReference user, WTPrincipalReference delegate, long start_date, int zone_offset) throws WTException
user
- delegate
- start_date
- zone_offset
-
WTException
public CalendarMonth clearDays(WTPrincipalReference user, long start_date, long end_date, boolean undelegate, int zone_offset) throws WTException
user
- start_date
- end_date
- undelegate
- zone_offset
-
WTException
public CalendarMonth getCalendarMonth(WTPrincipalReference user, int month, int year, int zone_offset) throws WTException
user
- month
- year
- zone_offset
-
WTException
public Timestamp calculateDeadline(WTPrincipal user, long start_date, long duration) throws WTException
user
- start_date
- duration
-
WTException
public Timestamp calculateDeadline(WTPrincipalReference user, long start_date, long duration) throws WTException
user
- start_date
- duration
-
WTException
public Timestamp calculateDeadline(WTPrincipal user, long start_date, int nbrWorkDays) throws WTException
user
- start_date
- nbrWorkDays
-
WTException
public Timestamp calculateDeadline(WTPrincipalReference user, long start_date, int nbrWorkDays) throws WTException
user
- start_date
- nbrWorkDays
-
WTException
public int calculateWorkingDays(WTPrincipal user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public int calculateWorkingDays(WTPrincipalReference user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public WTUser getDelegate(WTUser user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public WTPrincipalReference getDelegate(WTPrincipalReference user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public int calculateWorkingPeriods(WTPrincipal user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public int calculateWorkingPeriods(WTPrincipalReference user, long start_date, long end_date) throws WTException
user
- start_date
- end_date
-
WTException
public int calculateWorkingDays(WTPrincipal user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public int calculateWorkingDays(WTPrincipalReference user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public int calculateWorkingPeriods(WTPrincipal user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public int calculateWorkingPeriods(WTPrincipalReference user, long start_date, long end_date, int zone_offset) throws WTException
user
- start_date
- end_date
- zone_offset
-
WTException
public Timestamp calculateDeadline(WTPrincipal user, long start_date, long duration, int zone_offset) throws WTException
user
- start_date
- duration
- zone_offset
-
WTException
public Timestamp calculateDeadline(WTPrincipalReference user, long start_date, long duration, int zone_offset) throws WTException
user
- start_date
- duration
- zone_offset
-
WTException
public Timestamp calculateDeadline(WTPrincipal user, long start_date, int nbrWorkDays, int zone_offset) throws WTException
user
- start_date
- nbrWorkDays
- zone_offset
-
WTException
public Timestamp calculateDeadline(WTPrincipalReference user, long start_date, int nbrWorkDays, int zone_offset) throws WTException
user
- start_date
- nbrWorkDays
- zone_offset
-
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |