Class DefaultPrPartyRoleService
java.lang.Object
de.hybris.platform.partyroleservices.service.impl.DefaultPrPartyRoleService
- All Implemented Interfaces:
PrPartyRoleService
@Deprecated(since="2208")
public class DefaultPrPartyRoleService
extends Object
implements PrPartyRoleService
Deprecated.
2208
Default implementation of
PrPartyRoleService.- Since:
- 2108
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPrPartyRoleService(PrPartyRoleDao prPartyRoleDao, de.hybris.platform.servicelayer.model.ModelService modelService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Creates an instance ofPrPartyRoleModel.protected de.hybris.platform.servicelayer.model.ModelServiceDeprecated.getNumberOfPartyRoles(PrPartyRoleFilteringContextData filteringContextData) Deprecated.Returns the total number ofPrPartyRoleModelfound for a given filtering context.getPartyRole(String id) Deprecated.Returns aPrPartyRoleModelfor the given id.protected PrPartyRoleDaoDeprecated.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.
-
Constructor Details
-
DefaultPrPartyRoleService
public DefaultPrPartyRoleService(PrPartyRoleDao prPartyRoleDao, de.hybris.platform.servicelayer.model.ModelService modelService) Deprecated.
-
-
Method Details
-
getPartyRole
Deprecated.Description copied from interface:PrPartyRoleServiceReturns aPrPartyRoleModelfor the given id.- Specified by:
getPartyRolein interfacePrPartyRoleService- Parameters:
id- identifier ofPrPartyRoleModel- Returns:
- the
PrPartyRoleModelfound.
-
savePartyRole
Deprecated.Description copied from interface:PrPartyRoleServiceSaves the givenPrPartyRoleModel.- Specified by:
savePartyRolein interfacePrPartyRoleService- Parameters:
partyRole- the partyRole
-
createPartyRole
Deprecated.Description copied from interface:PrPartyRoleServiceCreates an instance ofPrPartyRoleModel.- Specified by:
createPartyRolein interfacePrPartyRoleService- Returns:
- the newly created model
-
removePartyRole
Deprecated.Description copied from interface:PrPartyRoleServiceRemoves the givenPrPartyRoleModel- Specified by:
removePartyRolein interfacePrPartyRoleService- Parameters:
partyRoleModel- the party role to be removed
-
getPartyRoles
public List<PrPartyRoleModel> getPartyRoles(PrPartyRoleFilteringContextData filteringContext, Integer offset, Integer limit) Deprecated.Description copied from interface:PrPartyRoleServiceReturns the list ofPrPartyRoleModelfiltered by a given filtering context.- Specified by:
getPartyRolesin interfacePrPartyRoleService- 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.Description copied from interface:PrPartyRoleServiceReturns the total number ofPrPartyRoleModelfound for a given filtering context.- Specified by:
getNumberOfPartyRolesin interfacePrPartyRoleService- Parameters:
filteringContextData- the filtering context.- Returns:
- the number of party roles found.
-
getPartyRoleDao
Deprecated. -
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated.
-