Class PolarisService


  • public class PolarisService
    extends java.lang.Object
    • Method Detail

      • get

        public <R extends PolarisResponse> R get​(com.synopsys.integration.rest.request.Request request,
                                                 java.lang.reflect.Type returnType)
                                          throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • get

        public <A extends PolarisAttributesPolarisResource<A> get​(com.synopsys.integration.rest.HttpUrl apiUrl,
                                                                    java.lang.Class<A> attributeType)
                                                             throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • getAll

        public <A extends PolarisAttributes> java.util.List<PolarisResource<A>> getAll​(com.synopsys.integration.rest.HttpUrl apiUrl,
                                                                                       java.lang.Class<A> attributeType)
                                                                                throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • getAll

        public <A extends PolarisAttributes> java.util.List<PolarisResource<A>> getAll​(com.synopsys.integration.rest.HttpUrl apiUrl,
                                                                                       java.lang.Class<A> attributeType,
                                                                                       int pageSize)
                                                                                throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • collectAllResources

        public <A extends PolarisAttributes> java.util.List<PolarisResource<A>> collectAllResources​(com.synopsys.integration.rest.HttpUrl apiUrl,
                                                                                                    java.lang.Class<A> attributeType,
                                                                                                    int pageSize)
                                                                                             throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException
      • executePagedRequest

        protected <A extends PolarisAttributesPolarisPagedResourceResponse<PolarisResource<A>> executePagedRequest​(com.synopsys.integration.rest.HttpUrl apiUrl,
                                                                                                                     java.lang.Class<A> attributeType,
                                                                                                                     int offset,
                                                                                                                     int limit)
                                                                                                              throws com.synopsys.integration.exception.IntegrationException
        Throws:
        com.synopsys.integration.exception.IntegrationException