Package com.ptc.wa.rest.services
Interface WAService
public interface WAService
Service contract for WAOperations REST call.
Supported API: true
Extendable: true
Supported API: true
Extendable: true
-
Method Summary
Modifier and TypeMethodDescriptioncom.ptc.core.common.model.ItemListApply or save SCN.com.ptc.core.common.model.ItemListCreates a Test File in the predefined Windchill accessible location.com.ptc.core.common.model.ItemListDeletes the created Test File bycreatePAATestFile()APIgenerateHTMLLicenseReport(String timeStamp, String dtFrom, String dtTo) Gives html report (uses generateLicReport() API from License Management UI ).com.ptc.core.common.model.ItemListGives the Location path saved by the user,com.ptc.core.common.model.ItemListGives EMS Status True or Falsecom.ptc.core.common.model.ItemListReads OptIn valuecom.ptc.core.common.model.ItemListreads SCN from wt.propertiescom.ptc.core.common.model.ItemListRetrieve the value of the SendToPTC flagcom.ptc.core.common.model.ItemListGives GUID (uses getWindchillInstanceID() from InstanceID ).com.ptc.core.common.model.ItemListsaveEMSConfiguration(String location) Saves the EMS location and Statuscom.ptc.core.common.model.ItemListsaveOptInConfiguration(com.ptc.wa.rest.WAOptInConfItem optInOptOut) Saves OptInOptOut valuecom.ptc.core.common.model.ItemListsaveTelemetryDataForPreview(String payloadData) Save Telemetry data to a temporary location for preview .com.ptc.core.common.model.ItemSave the admin user acknowledgement for sending data to PTCcom.ptc.core.common.model.ItemshouldDisplayModalMessage(boolean isAdmin) Whether a modal message should be displayed or not on first logincom.ptc.core.common.model.ItemListvalidateSCN(String userID, String pwd, String scn) Validate scn.
-
Method Details
-
validateSCN
com.ptc.core.common.model.ItemList validateSCN(String userID, String pwd, String scn) throws Exception Validate scn.- Returns:
- Returns ItemList
- Throws:
Exception- Supported API: true
-
getSavedSCN
reads SCN from wt.properties- Returns:
- Returns ItemList
- Throws:
Exception- Supported API: true
-
getOptInConfiguration
Reads OptIn value- Returns:
- Returns ItemList
- Throws:
Exception- Supported API: true
-
saveOptInConfiguration
com.ptc.core.common.model.ItemList saveOptInConfiguration(com.ptc.wa.rest.WAOptInConfItem optInOptOut) Saves OptInOptOut value- Returns:
- Returns ItemList
- Throws:
Exception- Supported API: true
-
saveEMSConfiguration
Saves the EMS location and Status- Parameters:
wAEmsItem-- Returns:
- Supported API: true
-
applySCN
Apply or save SCN. Supported API: true- Throws:
Exception
-
getEMSStatus
Gives EMS Status True or False- Returns:
- Throws:
Exception- Supported API: true
-
getEMSLocationPath
Gives the Location path saved by the user,- Returns:
- Throws:
Exception- Supported API: true
-
createPAATestFile
Creates a Test File in the predefined Windchill accessible location. This location can be set from the Windchill PA Agent configuration tab or remotely from the saveEMSConfiguration API.- Returns:
- Throws:
Exception- Supported API: true
-
deletePAATestFile
Deletes the created Test File bycreatePAATestFile()API- Returns:
- Throws:
Exception- Supported API: true
-
getWindchillInstanceID
Gives GUID (uses getWindchillInstanceID() from InstanceID ).- Returns:
- Throws:
Exception- Supported API: true
-
generateHTMLLicenseReport
Map<String,Object> generateHTMLLicenseReport(String timeStamp, String dtFrom, String dtTo) throws Exception Gives html report (uses generateLicReport() API from License Management UI ).- Returns:
- Throws:
Exception- Supported API: true
-
saveTelemetryDataForPreview
Save Telemetry data to a temporary location for preview .- Returns:
- Throws:
Exception- Supported API: true
-
shouldDisplayModalMessage
Whether a modal message should be displayed or not on first login- Returns:
- Throws:
Exception- Supported API: true
-
saveUserAcknowledgement
Save the admin user acknowledgement for sending data to PTC- Returns:
- Throws:
Exception- Supported API: true
-
getSendToPTC
Retrieve the value of the SendToPTC flag- Returns:
- Throws:
Exception- Supported API: true
-