Class MembershipTypeServiceImpl
java.lang.Object
ch.tocco.nice2.optional.membership.impl.registration.MembershipTypeServiceImpl
- All Implemented Interfaces:
MembershipTypeService
-
Constructor Summary
ConstructorDescriptionMembershipTypeServiceImpl
(Context context, QuestionService questionService, org.slf4j.Logger log, BusinessUnitManager businessUnitManager) -
Method Summary
Modifier and TypeMethodDescriptiongetMembershipTypeByPrimaryKey
(String membershipTypePrimaryKey) Get a membership type by primary key.getMembershipTypeByUniqueId
(String membershipTypeUniqueId, String businessUnitId) Get a membership type by unique id.
-
Constructor Details
-
MembershipTypeServiceImpl
public MembershipTypeServiceImpl(Context context, QuestionService questionService, org.slf4j.Logger log, BusinessUnitManager businessUnitManager)
-
-
Method Details
-
getMembershipTypeByPrimaryKey
Description copied from interface:MembershipTypeService
Get a membership type by primary key.- Specified by:
getMembershipTypeByPrimaryKey
in interfaceMembershipTypeService
- Parameters:
membershipTypePrimaryKey
- The primary key of the membership type.- Returns:
- the membership type.
-
getMembershipTypeByUniqueId
public MembershipType getMembershipTypeByUniqueId(String membershipTypeUniqueId, String businessUnitId) Description copied from interface:MembershipTypeService
Get a membership type by unique id.- Specified by:
getMembershipTypeByUniqueId
in interfaceMembershipTypeService
- Parameters:
membershipTypeUniqueId
- The unique id of the membership type.businessUnitId
- The unique id of the business unit to load the type from- Returns:
- the membership type.
-