@Security public class ProductsGroupServiceSecurity extends BaseServiceSecurity implements ProductsGroupService
ProductsGroupService| Constructor and Description |
|---|
ProductsGroupServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(ProductVO productVO,
BasicGroupVO group)
Assigns the given product to the product owner.
|
ActiveProductsData |
getActiveProducts(BasicGroupVO group,
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). |
protected org.cyclos.impl.access.EntityCheck<?> |
resolveEntityCheck()
Must be implemented in order to return the
EntityCheck managed by this security component, or null if
none |
boolean |
unassign(ProductVO productVO,
BasicGroupVO group)
Unassigns the given product from the owner.
|
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getAccountHandler, getAuthHandler, getBaseEntityManagerHandler, getChannelConfiguration, getConfiguration, getConversionHandler, getCustomFieldValueHandler, getEntityManagerHandler, getGroupsHandler, getLoggedBasicUser, getLoggedUser, getProducts, getProductsHandler, getReportHandler, getTranslatedName, getTranslatedValue, getUserLocatorHandler, getValidationResult, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getConfigurationHandler, getDataTranslationHandler, getFormatter, getFormatter, getFormatter, getLogger, getNotificationHandler, getProfileFieldHandler, getRemoteAddress, getSessionData, getTransactionHandler, getTranslationHandler, message, message, persist, processBatch, refresh, remove, subQuery, updatepublic void assign(ProductVO productVO, BasicGroupVO group)
BaseProductsOwnerServiceassign in interface BaseProductsOwnerService<BasicGroupVO>public ActiveProductsData getActiveProducts(BasicGroupVO group, ChannelVO channel, PrincipalTypeVO principalType) throws FrameworkException
BaseProductsOwnerServiceActiveProductsData, 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).getActiveProducts in interface BaseProductsOwnerService<BasicGroupVO>FrameworkExceptionpublic boolean unassign(ProductVO productVO, BasicGroupVO group)
BaseProductsOwnerServiceunassign in interface BaseProductsOwnerService<BasicGroupVO>protected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity