public class Context extends Object
| Constructor and Description |
|---|
Context(IAuthorizer authorizer,
ServiceType platformServiceType,
String realmID)
Constructor for creating context when you know ServiceType (Data Source) and realmID.
|
Context(IAuthorizer authorizer,
String appToken,
ServiceType platformServiceType,
String realmID)
Constructor for creating context when you know ServiceType (Data Source) and realmID.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAppDBID()
Method to get Application Database ID
|
String |
getAppToken()
Method to get Application token
|
IAuthorizer |
getAuthorizer()
Method to get authorizer
|
Integer |
getCustomerRequestTimeout()
Method to get customerRequestTimeout
|
List |
getIncludeParam()
Method to get trackingID
|
ServiceType |
getIntuitServiceType()
Method to get Service type (Data Source)
|
String |
getMinorVersion()
Method to get minorVersion
|
String |
getRealmID()
Method to get RealmId
|
String |
getRequestID()
Method to generate unique requestID in the context of context
|
String |
getTicket()
Method to get ticket
|
UUID |
getTrackingID()
Method to get trackingID
|
void |
invalidate()
Method to invalidate every fields in context.
|
void |
setAppDBID(String appDBID)
Method to set Application Database ID
|
void |
setAppToken(String appToken)
Method to set Application token
|
void |
setAuthorizer(IAuthorizer authorizer)
Method to set authorizer
|
void |
setCustomerRequestTimeout(Integer customerRequestTimeout)
Method to set customerRequestTimeout.
|
void |
setIncludeParam(List includeParam)
Method to set include query param
|
void |
setIntuitServiceType(ServiceType intuitServiceType)
Method to set Service type (Data Source)
|
void |
setMinorVersion(String minorVersion)
Method to set minorVersion
|
void |
setRealmID(String realmID)
Method to set RealmId
|
void |
setRequestID(String requestID)
Method to set requestID
|
void |
setTicket(String ticket)
Method to set ticket
|
void |
setTrackingID(UUID trackingID)
Method to set trackingId
|
public Context(IAuthorizer authorizer, String appToken, ServiceType platformServiceType, String realmID) throws FMSException
authorizer - the authorizerappToken - the app tokenplatformServiceType - the platform service typerealmID - the realm idFMSException - the FMS Exceptionpublic Context(IAuthorizer authorizer, ServiceType platformServiceType, String realmID) throws FMSException
authorizer - the authorizerplatformServiceType - the platform service typerealmID - the realm idFMSException - the FMS Exceptionpublic IAuthorizer getAuthorizer()
public void setAuthorizer(IAuthorizer authorizer)
authorizer - public ServiceType getIntuitServiceType()
public void setIntuitServiceType(ServiceType intuitServiceType)
intuitServiceType - public String getAppToken()
public void setAppToken(String appToken)
appToken - public String getAppDBID()
public void setAppDBID(String appDBID)
appDBID - public String getRealmID()
public String getMinorVersion()
public void setRealmID(String realmID)
realmID - public void invalidate()
public String getRequestID()
public String getTicket()
public UUID getTrackingID()
public List getIncludeParam()
public void setRequestID(String requestID)
requestID - public void setTicket(String ticket)
ticket - public void setTrackingID(UUID trackingID)
trackingID - public void setMinorVersion(String minorVersion)
minorVersion - public void setIncludeParam(List includeParam)
includeParam - public Integer getCustomerRequestTimeout()
public void setCustomerRequestTimeout(Integer customerRequestTimeout)
customerRequestTimeout - Copyright © 2017. All rights reserved.