public interface BaseProductsOwnerService<VO extends EntityVO> extends Service
| Modifier and Type | Method and Description |
|---|---|
void |
assign(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(ProductVO product,
VO ownerId)
Unassigns the given product from the owner.
|
void assign(ProductVO product, VO owner) throws FrameworkException
FrameworkExceptionActiveProductsData getActiveProducts(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(ProductVO product, VO ownerId) throws FrameworkException
FrameworkException