@Security public class ProductsUserServiceSecurity extends BaseServiceSecurity implements ProductsUserService
ProductsUserService| Constructor and Description |
|---|
ProductsUserServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
void |
assign(ProductVO productVO,
UserLocatorVO locator)
Assigns the given product to the product owner.
|
ActiveProductsData |
getActiveProducts(UserLocatorVO locator,
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). |
java.util.List<UserProductLogVO> |
getUserProductLogs(UserLocatorVO locator)
Returns the log for the individually assigned products to the given user.
|
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,
UserLocatorVO locator)
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, UserLocatorVO locator) throws ValidationException
BaseProductsOwnerServiceassign in interface BaseProductsOwnerService<UserLocatorVO>ValidationExceptionpublic ActiveProductsData getActiveProducts(UserLocatorVO locator, 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<UserLocatorVO>FrameworkExceptionpublic java.util.List<UserProductLogVO> getUserProductLogs(UserLocatorVO locator)
ProductsUserServicegetUserProductLogs in interface ProductsUserServicepublic boolean unassign(ProductVO productVO, UserLocatorVO locator)
BaseProductsOwnerServiceunassign in interface BaseProductsOwnerService<UserLocatorVO>protected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity