Class CompanyProfilesImpl

java.lang.Object
com.eqixiac.equinix.fabric.client.implementation.CompanyProfilesImpl
All Implemented Interfaces:
CompanyProfiles

public class CompanyProfilesImpl extends Object implements CompanyProfiles
  • Constructor Details

    • CompanyProfilesImpl

      public CompanyProfilesImpl()
  • Method Details

    • search

      Description copied from interface: CompanyProfiles
      Searches for company profiles using default filter and sort criteria.
      Specified by:
      search in interface CompanyProfiles
      Returns:
      a paginated, filtered list of matching company profiles
    • search

      Description copied from interface: CompanyProfiles
      Searches for company profiles matching the specified filter criteria.
      Specified by:
      search in interface CompanyProfiles
      Parameters:
      filter - the filter criteria to apply
      Returns:
      a paginated, filtered list of matching company profiles
    • search

      Description copied from interface: CompanyProfiles
      Searches for company profiles with the specified sort order.
      Specified by:
      search in interface CompanyProfiles
      Parameters:
      sort - the sort criteria to apply
      Returns:
      a paginated, filtered list of matching company profiles
    • search

      Description copied from interface: CompanyProfiles
      Searches for company profiles matching the specified filter and sort criteria.
      Specified by:
      search in interface CompanyProfiles
      Parameters:
      filter - the filter criteria to apply
      sort - the sort criteria to apply
      Returns:
      a paginated, filtered list of matching company profiles
    • getByUuid

      public CompanyProfile getByUuid(String uuid)
      Description copied from interface: CompanyProfiles
      Retrieves a single company profile by its unique identifier.
      Specified by:
      getByUuid in interface CompanyProfiles
      Parameters:
      uuid - the unique identifier of the company profile
      Returns:
      the company profile matching the given UUID
    • define

      Description copied from interface: CompanyProfiles
      Begins the fluent builder for creating a new company profile.
      Specified by:
      define in interface CompanyProfiles
      Parameters:
      type - the company profile type (for example COMPANY_PROFILE)
      Returns:
      a builder for configuring the new company profile
    • attachServiceProfile

      public Boolean attachServiceProfile(String companyProfileId, String serviceProfileId)
      Description copied from interface: CompanyProfiles
      Attaches a service profile to a company profile.
      Specified by:
      attachServiceProfile in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      serviceProfileId - the service profile uuid
      Returns:
      true if the attach was accepted
    • detachServiceProfile

      public Boolean detachServiceProfile(String companyProfileId, String serviceProfileId)
      Description copied from interface: CompanyProfiles
      Detaches a service profile from a company profile.
      Specified by:
      detachServiceProfile in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      serviceProfileId - the service profile uuid
      Returns:
      true if the detach was accepted
    • attachTag

      public Boolean attachTag(String companyProfileId, String tagId)
      Description copied from interface: CompanyProfiles
      Attaches a tag to a company profile.
      Specified by:
      attachTag in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      tagId - the tag uuid
      Returns:
      true if the attach was accepted
    • detachTag

      public Boolean detachTag(String companyProfileId, String tagId)
      Description copied from interface: CompanyProfiles
      Detaches a tag from a company profile.
      Specified by:
      detachTag in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      tagId - the tag uuid
      Returns:
      true if the detach was accepted
    • getServiceProfiles

      public List<CompanyServiceProfile> getServiceProfiles(String companyProfileId)
      Description copied from interface: CompanyProfiles
      Lists the service profiles attached to a company profile.
      Specified by:
      getServiceProfiles in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      Returns:
      the attached service profiles (href / uuid references)
    • getTags

      public List<Tag> getTags(String companyProfileId)
      Description copied from interface: CompanyProfiles
      Lists the tags attached to a company profile.
      Specified by:
      getTags in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      Returns:
      the attached tags
    • getPrivateServices

      public List<PrivateService> getPrivateServices(String companyProfileId)
      Description copied from interface: CompanyProfiles
      Lists the private services attached to a company profile.
      Specified by:
      getPrivateServices in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      Returns:
      the attached private services (href / uuid references)
    • attachPrivateService

      public Boolean attachPrivateService(String companyProfileId, String privateServiceId)
      Description copied from interface: CompanyProfiles
      Attaches a private service to a company profile.
      Specified by:
      attachPrivateService in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      privateServiceId - the private service uuid
      Returns:
      true if the attach was accepted
    • detachPrivateService

      public Boolean detachPrivateService(String companyProfileId, String privateServiceId)
      Description copied from interface: CompanyProfiles
      Detaches a private service from a company profile.
      Specified by:
      detachPrivateService in interface CompanyProfiles
      Parameters:
      companyProfileId - the company profile uuid
      privateServiceId - the private service uuid
      Returns:
      true if the detach was accepted
    • getLogo

      public byte[] getLogo(String uuid)
      Description copied from interface: CompanyProfiles
      Downloads the raw bytes of a company profile logo.
      Specified by:
      getLogo in interface CompanyProfiles
      Parameters:
      uuid - the logo uuid
      Returns:
      the logo image content
    • deleteLogo

      public Boolean deleteLogo(String uuid)
      Description copied from interface: CompanyProfiles
      Deletes a company profile logo.
      Specified by:
      deleteLogo in interface CompanyProfiles
      Parameters:
      uuid - the logo uuid
      Returns:
      true if the delete was accepted