@Security public class VoucherTypeServiceSecurity extends CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO> implements VoucherTypeService
VoucherTypeServiceentityClass| Constructor and Description |
|---|
VoucherTypeServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateNew(ConfigurationVO configurationVO)
Checks whether creating new entities with the given context parameters is allowed, throwing
PermissionDeniedException if not |
protected void |
customizeData(VoucherTypeData data)
Can be overridden in order to process the returned data object for the given entity
|
protected boolean |
doHasManageAccess(VoucherType type)
Should be implemented in order to return whether the caller is allowed to manage the given entity, for the given
operation
|
boolean |
doHasViewAccess(VoucherType type)
Should be implemented in order to return whether the caller is allowed to view the given entity.
|
protected CRUDServiceLocal<VoucherType,VoucherTypeDTO,VoucherTypeData,ConfigurationVO> |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
VoucherTypeListData |
getListData()
Returns data for listing voucher types
|
boolean |
isAccessible(SessionData sessionData,
VoucherType type)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
java.util.List<VoucherTypeVO> |
list()
Returns a list with all voucher types
|
canPerformOperation, canViewHistoryLog, checkManageAccess, checkOperation, checkViewAccess, 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, savepublic boolean doHasViewAccess(VoucherType type)
CRUDServiceSecuritydoHasViewAccess in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>public VoucherTypeListData getListData() throws FrameworkException
VoucherTypeServicegetListData in interface VoucherTypeServiceFrameworkExceptionpublic boolean isAccessible(SessionData sessionData, VoucherType type)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>public java.util.List<VoucherTypeVO> list() throws FrameworkException
VoucherTypeServicelist in interface VoucherTypeServiceFrameworkExceptionprotected void checkCreateNew(ConfigurationVO configurationVO)
CRUDServiceSecurityPermissionDeniedException if notcheckCreateNew in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>protected void customizeData(VoucherTypeData data)
CRUDServiceSecuritycustomizeData in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>protected boolean doHasManageAccess(VoucherType type)
CRUDServiceSecuritydoHasManageAccess in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>protected CRUDServiceLocal<VoucherType,VoucherTypeDTO,VoucherTypeData,ConfigurationVO> getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<VoucherTypeDTO,VoucherType,VoucherTypeData,ConfigurationVO>