Interface PrPartyRoleService
- All Known Implementing Classes:
DefaultPrPartyRoleService
Deprecated.
2208
Service responsible for handling
PrPartyRoleModel related operations.- Since:
- 2108
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates an instance ofPrPartyRoleModel.getNumberOfPartyRoles(PrPartyRoleFilteringContextData filteringContextData) Deprecated.Returns the total number ofPrPartyRoleModelfound for a given filtering context.getPartyRole(String id) Deprecated.Returns aPrPartyRoleModelfor the given id.getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit) Deprecated.Returns the list ofPrPartyRoleModelfiltered by a given filtering context.voidremovePartyRole(PrPartyRoleModel partyRoleModel) Deprecated.Removes the givenPrPartyRoleModelvoidsavePartyRole(PrPartyRoleModel partyRole) Deprecated.Saves the givenPrPartyRoleModel.
-
Method Details
-
getPartyRole
Deprecated.Returns aPrPartyRoleModelfor the given id.- Parameters:
id- identifier ofPrPartyRoleModel- Returns:
- the
PrPartyRoleModelfound. - Throws:
de.hybris.platform.servicelayer.exceptions.ModelNotFoundException- if no party role is found.
-
savePartyRole
Deprecated.Saves the givenPrPartyRoleModel.- Parameters:
partyRole- the partyRole
-
createPartyRole
PrPartyRoleModel createPartyRole()Deprecated.Creates an instance ofPrPartyRoleModel.- Returns:
- the newly created model
-
removePartyRole
Deprecated.Removes the givenPrPartyRoleModel- Parameters:
partyRoleModel- the party role to be removed
-
getPartyRoles
List<PrPartyRoleModel> getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit) Deprecated.Returns the list ofPrPartyRoleModelfiltered by a given filtering context.- Parameters:
filteringContext- the filter context used for filteringoffset- the offset of first party role that will be returnedlimit- maximum number of returned party roles- Returns:
- the list of party roles found for given offset, limit and filteringContext
-
getNumberOfPartyRoles
Deprecated.Returns the total number ofPrPartyRoleModelfound for a given filtering context.- Parameters:
filteringContextData- the filtering context.- Returns:
- the number of party roles found.
-