Class LcmService


  • public class LcmService
    extends AbstractService
    Service, which provides access to lifecycle management objects.
    • Constructor Summary

      Constructors 
      Constructor Description
      LcmService​(org.springframework.web.client.RestTemplate restTemplate, GoodDataSettings settings)
      Constructs service for GoodData Life Cycle Management.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account)
      Lists all LcmEntities for given Account.
      com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account, com.gooddata.sdk.common.collections.PageRequest startPage)
      Lists all LcmEntities for given Account.
      com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account, com.gooddata.sdk.model.lcm.LcmEntityFilter filter)
      Lists LcmEntities for given Account filtered according given LcmEntityFilter.
      com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account, com.gooddata.sdk.model.lcm.LcmEntityFilter filter, com.gooddata.sdk.common.collections.PageRequest startPage)
      Lists LcmEntities for given Account filtered according given LcmEntityFilter.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • LCM_ENTITIES_TEMPLATE

        public static final org.springframework.web.util.UriTemplate LCM_ENTITIES_TEMPLATE
    • Constructor Detail

      • LcmService

        public LcmService​(org.springframework.web.client.RestTemplate restTemplate,
                          GoodDataSettings settings)
        Constructs service for GoodData Life Cycle Management.
        Parameters:
        restTemplate - RESTful HTTP Spring template
        settings - settings
    • Method Detail

      • listLcmEntities

        public com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account)
        Lists all LcmEntities for given Account. Returns empty list in case there is no LcmEntity. Returns only first page if there's more instances than page limit. Use PageBrowser.allItemsStream() ()} to iterate over all pages, or PageBrowser.getAllItems() ()} to load the entire list.
        Parameters:
        account - account to list LCM entities for
        Returns:
        PageBrowser first page of list of lcm entities or empty list
      • listLcmEntities

        public com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account,
                                                                                                                     com.gooddata.sdk.model.lcm.LcmEntityFilter filter)
        Lists LcmEntities for given Account filtered according given LcmEntityFilter. Returns empty list in case there is no LcmEntity. Returns only first page if there's more instances than page limit. Use PageBrowser.allItemsStream() ()} to iterate over all pages, or PageBrowser.getAllItems() to load the entire list.
        Parameters:
        account - account to list LCM entities for
        filter - filter of the entities
        Returns:
        PageBrowser first page of list of lcm entitiesor empty list
      • listLcmEntities

        public com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account,
                                                                                                                     com.gooddata.sdk.common.collections.PageRequest startPage)
        Lists all LcmEntities for given Account. Returns empty list in case there is no LcmEntity. Returns requested page (by page limit and offset). Use listLcmEntities(Account) to get first page with default setting.
        Parameters:
        account - account to list LCM entities for
        startPage - page to be listed
        Returns:
        PageBrowser requested page of list of lcm entities or empty list
      • listLcmEntities

        public com.gooddata.sdk.common.collections.PageBrowser<com.gooddata.sdk.model.lcm.LcmEntity> listLcmEntities​(com.gooddata.sdk.model.account.Account account,
                                                                                                                     com.gooddata.sdk.model.lcm.LcmEntityFilter filter,
                                                                                                                     com.gooddata.sdk.common.collections.PageRequest startPage)
        Lists LcmEntities for given Account filtered according given LcmEntityFilter. Returns empty list in case there is no LcmEntity. Returns requested page (by page limit and offset). Use listLcmEntities(Account) to get first page with default setting.
        Parameters:
        account - account to list LCM entities for
        filter - filter of the entities
        startPage - page to be listed
        Returns:
        PageBrowser requested page of list of lcm entities or empty list