ADDRESS_TYPE_EMAIL, ADDRESS_TYPE_IP, ADDRESS_TYPE_SMS, CSS_BOOLEANINPUT, CSS_DATEINPUT, CSS_DURATIONINPUT, CSS_ERRORINPUT, CSS_ERRORTEXT, CSS_INTINPUT, CSS_REQUIRED, CSS_TEXTINPUT, CSS_WARNINGINPUT, CSS_WARNINGTEXT, CSV_DELIMITER, DELIMITER, LANGUAGE_ATTRIBUTE_NAME, LANGUAGE_DEFAULT, LANGUAGES, MSGREL_AFTER, MSGREL_BEFORE, RESOURCE_STATUS_AVAILABLE, RESOURCE_STATUS_NOTAVAILABLE, RESOURCE_STATUS_REQUESTED, RESOURCE_STATUS_RESERVED, RESOURCE_STATUS_UNCHECKED, RESOURCE_STATUS_UNKNOWN, UTILISATION_TYPE_BEGIN, UTILISATION_TYPE_END, UTILISATION_TYPE_PLAN, WORD_SEPARATORS, XML_ACTIVITY, XML_ACTIVITYNAME, XML_ACTIVITYTYPE, XML_ADDRESS, XML_ADDRESSTYPE, XML_CAPABILITY, XML_CASEID, XML_CATEGORY, XML_CHANNEL, XML_DUMMY, XML_DURATION, XML_ENDTASKID, XML_ERROR, XML_EVENT_RECEIVE, XML_FILTERMODEL, XML_FROM, XML_ID, XML_MAX, XML_MESSAGE_SEND, XML_MESSAGEPUSH_SEND, XML_MESSAGES, XML_MIN, XML_MSGBODY, XML_MSGDURATION, XML_MSGREL, XML_MSGTO, XML_MSGTRANSFER, XML_MSGUTILISATIONTYPE, XML_OTHERACTIVITYNAME, XML_OTHERUTILISATIONTYPE, XML_PAYLOAD, XML_REQUESTTYPE, XML_RESCHEDULING, XML_RESERVATION, XML_RESERVATIONID, XML_RESOURCE, XML_RESOURCE_TYPE, XML_ROLE, XML_RUP, XML_RUP_LIGHT, XML_STARTTASKID, XML_STATUS, XML_STATUSTOBE, XML_SUBCATEGORY, XML_TEXT, XML_THISUTILISATIONTYPE, XML_TIMESTAMP, XML_TO, XML_UNIT, XML_UTILISATION, XML_UTILISATION_TYPE, XML_UTILISATIONREL, XML_UTILISATIONTYPE, XML_WARNING, XML_WORKLOAD, XSDDatatypes_Boolean, XSDDatatypes_DateTime, XSDDatatypes_Double, XSDDatatypes_Duration, XSDDatatypes_Int, XSDDatatypes_Long, XSDDatatypes_String
Modifier and Type | Method and Description |
---|---|
void |
addReservations(Document rup,
java.util.Map<java.lang.String,java.util.List<Element>> res) |
boolean |
checkConnection(java.lang.String handle) |
java.util.List<Element> |
getAvailabilities(Element resource,
java.util.Date from,
java.util.Date to)
return list of available timeslots between given period for each resource,
matching given resource string
|
java.lang.String |
getCaseData(java.lang.String caseID) |
java.util.Map<java.lang.String,java.lang.Object> |
getDropdownContent(java.lang.String objectName,
java.lang.String prevFieldValue)
not used
|
java.lang.String |
getFullNameForUserID(java.lang.String userID) |
java.lang.String |
getHandle() |
static ResourceServiceInterface |
getInstance() |
java.util.List<NonHumanCategory> |
getNonHumanCategories() |
NonHumanCategory |
getNonHumanCategory(java.lang.String catID) |
NonHumanResource |
getNonHumanResource(java.lang.String resID) |
java.util.List<NonHumanResource> |
getNonHumanResources() |
Participant |
getParticipant(java.lang.String pID) |
java.util.List<Capability> |
getParticipantCapabilities(java.lang.String cid) |
java.util.List<Role> |
getParticipantRoles(java.lang.String pid) |
java.util.List<Participant> |
getParticipants() |
Role |
getRole(java.lang.String roleID) |
java.util.Map<java.lang.String,java.lang.String> |
getRoleIdentifiers() |
java.lang.String |
getUserName(java.lang.String handle) |
java.lang.String |
getUserSessionHandle(java.lang.String userID,
java.lang.String password) |
java.lang.String |
getWorkItem(java.lang.String itemID,
java.lang.String handle) |
boolean |
isValidSession(java.lang.String userID,
java.lang.String handle) |
boolean |
isValidUserSession(java.lang.String handle) |
java.lang.String |
registerCalendarStatusChangeListener(java.lang.String uri) |
java.util.Map<java.lang.String,java.util.List<Element>> |
removeReservations(Document rup,
java.lang.String statusToBe) |
Document |
saveReservations(Document rup,
boolean checkOnly,
boolean resourceChange)
Saves all reservation XML elements of the ResourceUtilisationPlan,
depending on "reservation.planningStatus" (see rup.xsd for the XML data
model) and removes or updates older reservations for the case and for each
activity.
|
java.lang.String |
updateWorkItemData(java.lang.String itemID,
java.lang.String data,
java.lang.String handle) |
public static ResourceServiceInterface getInstance()
public java.lang.String getHandle() throws java.io.IOException
java.io.IOException
public java.util.List<Element> getAvailabilities(Element resource, java.util.Date from, java.util.Date to) throws YAWLException, java.io.IOException
resource
- from
- to
- YAWLException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.Object> getDropdownContent(java.lang.String objectName, java.lang.String prevFieldValue) throws ResourceGatewayException, java.io.IOException
ResourceGatewayException
java.io.IOException
public Document saveReservations(Document rup, boolean checkOnly, boolean resourceChange) throws ResourceGatewayException, JDOMException, java.io.IOException
rup
- checkOnly
- resourceChange
- ResourceGatewayException
JDOMException
java.io.IOException
public java.util.Map<java.lang.String,java.util.List<Element>> removeReservations(Document rup, java.lang.String statusToBe) throws JDOMException
JDOMException
public void addReservations(Document rup, java.util.Map<java.lang.String,java.util.List<Element>> res) throws JDOMException
JDOMException
public java.util.List<Participant> getParticipants() throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.util.List<Role> getParticipantRoles(java.lang.String pid) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.util.List<Capability> getParticipantCapabilities(java.lang.String cid) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.util.List<NonHumanResource> getNonHumanResources() throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public Role getRole(java.lang.String roleID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public Participant getParticipant(java.lang.String pID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public NonHumanResource getNonHumanResource(java.lang.String resID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public NonHumanCategory getNonHumanCategory(java.lang.String catID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.util.List<NonHumanCategory> getNonHumanCategories() throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.util.Map<java.lang.String,java.lang.String> getRoleIdentifiers() throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public boolean checkConnection(java.lang.String handle)
public java.lang.String registerCalendarStatusChangeListener(java.lang.String uri) throws java.io.IOException
java.io.IOException
public java.lang.String getCaseData(java.lang.String caseID) throws java.io.IOException
java.io.IOException
public boolean isValidUserSession(java.lang.String handle) throws java.io.IOException
java.io.IOException
public java.lang.String getWorkItem(java.lang.String itemID, java.lang.String handle) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.lang.String updateWorkItemData(java.lang.String itemID, java.lang.String data, java.lang.String handle) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public java.lang.String getFullNameForUserID(java.lang.String userID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
public boolean isValidSession(java.lang.String userID, java.lang.String handle) throws java.io.IOException
java.io.IOException
public java.lang.String getUserSessionHandle(java.lang.String userID, java.lang.String password) throws java.io.IOException
java.io.IOException
public java.lang.String getUserName(java.lang.String handle) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
Copyright © 2004-2014 The YAWL Foundation.