@Security public class ProductServiceSecurity extends SimpleCRUDServiceSecurity<ProductDTO,Product,ProductData,ProductNature> implements ProductService
ProductService| Modifier and Type | Field and Description |
|---|---|
protected InvokerHandler |
invokerHandler |
managePermission, viewPermissionentityClass| Constructor and Description |
|---|
ProductServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected ProductServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
ProductSearchData |
getSearchData()
Gets data used on the search page
|
boolean |
isAccessible(SessionData sessionData,
Product entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
java.util.List<ProductVO> |
list()
Lists all admin / member and broker products
|
Page<ProductVO> |
search(ProductQuery params)
Search products according to the specified query parameters
|
checkCreateNew, checkManagePermission, checkViewPermission, doHasManageAccess, doHasViewAccess, hasManagePermission, hasViewPermissioncanPerformOperation, canViewHistoryLog, checkManageAccess, checkOperation, checkViewAccess, customizeData, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, hasManageAccess, hasViewAccess, load, onBeforeSave, remove, removeAll, removeAllWithConfirmationPassword, removeWithConfirmationPassword, resolveEntityCheck, save, saveWithConfirmationPasswordcheckGuest, 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, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetData, getDataForNew, load, remove, removeAll, save@Autowired protected InvokerHandler invokerHandler
public ProductSearchData getSearchData()
ProductServicegetSearchData in interface ProductServicepublic boolean isAccessible(SessionData sessionData, Product entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<ProductDTO,Product,ProductData,ProductNature>public java.util.List<ProductVO> list()
ProductServicelist in interface ProductServicepublic Page<ProductVO> search(ProductQuery params) throws FrameworkException
ProductServicesearch in interface ProductServiceFrameworkExceptionprotected ProductServiceLocal getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<ProductDTO,Product,ProductData,ProductNature>