public class StandardE3CServices extends com.ptc.microservices.StandardManager implements E3CServices
| Constructor and Description |
|---|
StandardE3CServices() |
| Modifier and Type | Method and Description |
|---|---|
com.ptc.sc.sce.api.services.DocumentService |
getDocumentService()
Gets E3C implementation class for
DocumentService.
|
com.ptc.sc.sce.api.services.GeneralService |
getGeneralService()
Gets E3C implementation class for
GeneralService
|
com.ptc.sc.sce.api.services.NavTreeService |
getNavTreeService()
Gets E3C implementation class for
NavTreeService.
|
com.ptc.sc.sce.api.services.SearchService |
getSearchService()
Gets E3C implementation class for
SearchService
|
<X> X |
getServiceFromFactory(java.lang.String key)
Returns an instance of the E3C service associated with the supplied key.
|
static StandardE3CServices |
newStandardE3CServices() |
void |
setSimulateServerDown(boolean simulate)
This method should be used for integration tests only.
|
public static StandardE3CServices newStandardE3CServices()
public void setSimulateServerDown(boolean simulate)
E3CServicessetSimulateServerDown in interface E3CServicessimulate - true to throw exceptions, false to resume normal operation.public com.ptc.sc.sce.api.services.NavTreeService getNavTreeService()
throws com.ptc.sc.sce.api.SCEException
E3CServicesgetNavTreeService in interface E3CServicescom.ptc.sc.sce.api.SCEExceptionpublic com.ptc.sc.sce.api.services.DocumentService getDocumentService()
throws com.ptc.sc.sce.api.SCEException
E3CServicesgetDocumentService in interface E3CServicescom.ptc.sc.sce.api.SCEExceptionpublic com.ptc.sc.sce.api.services.SearchService getSearchService()
throws com.ptc.sc.sce.api.SCEException
E3CServicesgetSearchService in interface E3CServicescom.ptc.sc.sce.api.SCEExceptionpublic com.ptc.sc.sce.api.services.GeneralService getGeneralService()
throws com.ptc.sc.sce.api.SCEException
E3CServicesgetGeneralService in interface E3CServicescom.ptc.sc.sce.api.SCEExceptionpublic <X> X getServiceFromFactory(java.lang.String key)
throws com.ptc.sc.sce.api.SCEException
E3CServicesgetServiceFromFactory in interface E3CServicesX - The Interface for the service to get.key - The key of the class to getcom.ptc.sc.sce.api.SCEException - If the E3C runtime is unavailable.