Interface TuaOrganizationService

All Known Implementing Classes:
DefaultTuaOrganizationService

public interface TuaOrganizationService
Service responsible for handling TuaOrganizationModel related operations.
Since:
2208
  • Method Details

    • getOrganization

      TuaOrganizationModel getOrganization(String id)
      Returns the organization for the provided id.
      Parameters:
      id - The unique identifier of the organization
      Returns:
      The TuaOrganizationModel for the provided id
    • findOrganizationParties

      List<TuaOrganizationModel> findOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext, Integer offset, Integer limit)
      Retrieves a list of TuaOrganizationModel for a given filtering context.
      Parameters:
      pmOrganizationFilteringContext - the organization party context.
      offset - the offset.
      limit - the maximum number of returned parties.
      Returns:
      the list of organization parties found for the given context.
    • getNumberOfOrganizationParties

      Integer getNumberOfOrganizationParties(PmOrganizationFilteringContextData pmOrganizationFilteringContext)
      Retrieves the total number of organization parties found for a given filtering context.
      Parameters:
      pmOrganizationFilteringContext - the organization party context.
      Returns:
      the number of organization parties found.
    • removeOrganization

      void removeOrganization(TuaOrganizationModel organization)
      Removes the given TuaOrganizationModel
      Parameters:
      organization - the organization to be removed
    • createOrganization

      TuaOrganizationModel createOrganization()
      Creates an instance of TuaOrganizationModel
      Returns:
      the newly created organization
    • saveOrganization

      void saveOrganization(TuaOrganizationModel organizationModel)
      Saves a given TuaOrganizationModel
      Parameters:
      organizationModel - the organization to be saved