Interface PrPartyRoleService

All Known Implementing Classes:
DefaultPrPartyRoleService

@Deprecated(since="2208") public interface PrPartyRoleService
Deprecated.
2208
Service responsible for handling PrPartyRoleModel related operations.
Since:
2108
  • Method Details

    • getPartyRole

      PrPartyRoleModel getPartyRole(String id)
      Deprecated.
      Returns a PrPartyRoleModel for the given id.
      Parameters:
      id - identifier of PrPartyRoleModel
      Returns:
      the PrPartyRoleModel found.
      Throws:
      de.hybris.platform.servicelayer.exceptions.ModelNotFoundException - if no party role is found.
    • savePartyRole

      void savePartyRole(PrPartyRoleModel partyRole)
      Deprecated.
      Saves the given PrPartyRoleModel.
      Parameters:
      partyRole - the partyRole
    • createPartyRole

      PrPartyRoleModel createPartyRole()
      Deprecated.
      Creates an instance of PrPartyRoleModel.
      Returns:
      the newly created model
    • removePartyRole

      void removePartyRole(PrPartyRoleModel partyRoleModel)
      Deprecated.
      Removes the given PrPartyRoleModel
      Parameters:
      partyRoleModel - the party role to be removed
    • getPartyRoles

      List<PrPartyRoleModel> getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit)
      Deprecated.
      Returns the list of PrPartyRoleModel filtered by a given filtering context.
      Parameters:
      filteringContext - the filter context used for filtering
      offset - the offset of first party role that will be returned
      limit - maximum number of returned party roles
      Returns:
      the list of party roles found for given offset, limit and filteringContext
    • getNumberOfPartyRoles

      Integer getNumberOfPartyRoles(PrPartyRoleFilteringContextData filteringContextData)
      Deprecated.
      Returns the total number of PrPartyRoleModel found for a given filtering context.
      Parameters:
      filteringContextData - the filtering context.
      Returns:
      the number of party roles found.