public interface BaseProductsOwnerService<VO extends EntityVO> extends Service
| Modifier and Type | Method and Description |
|---|---|
boolean |
assign(@NotNull ProductVO product,
VO owner)
Assigns the given product to the product owner.
|
ActiveProductsData |
getActiveProducts(VO owner,
ChannelVO channel,
PrincipalTypeVO principalType)
Returns the
ActiveProductsData, containing all the actual product data for the user/group with the given
id and the specified channel (if null then it doesn't filter the products by channel) and principal type (if null
then it doesn't filter the products by principal type). |
boolean |
unassign(@NotNull ProductVO product,
VO ownerId)
Unassigns the given product from the owner.
|
boolean assign(@NotNull
@NotNull ProductVO product,
@NotNull
VO owner)
throws FrameworkException
FrameworkExceptionActiveProductsData getActiveProducts(@NotNull VO owner, ChannelVO channel, PrincipalTypeVO principalType) throws FrameworkException
ActiveProductsData, containing all the actual product data for the user/group with the given
id and the specified channel (if null then it doesn't filter the products by channel) and principal type (if null
then it doesn't filter the products by principal type).FrameworkExceptionboolean unassign(@NotNull
@NotNull ProductVO product,
@NotNull
VO ownerId)
throws FrameworkException
FrameworkException