@Security public class ConfigurationImageServiceSecurity extends BaseImageServiceSecurity<ConfigurationImage,NewConfigurationImageParams> implements ConfigurationImageService
ConfigurationImageServiceimageType| Constructor and Description |
|---|
ConfigurationImageServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkCreateNew(NewConfigurationImageParams param) |
ConfigurationImageVO |
getImageVO(java.lang.Long configurationId,
ConfigurationImageType type)
Returns data about a configuration image, optionally searching inherited images from parent configurations.
|
ConfigurationImageServiceLocal |
getImplementation() |
ConfigurationImagesListData |
getListData(ConfigurationVO configurationVO)
Returns data to list images in a given configuration
|
boolean |
hasManageAccess(ConfigurationImage image) |
java.util.List<ConfigurationImageVO> |
list(ConfigurationVO configurationVO)
Lists a configuration's images, optionally including inherited images from parent configurations
|
ConfigurationImageVO |
load(@NotNull java.lang.Long id)
Returns metadata of a configuration image by id
|
void |
removeByConfigurationAndType(ConfigurationVO configurationVO,
ConfigurationImageType type)
Removes a configuration image, making it inherit the default (either from a parent configuration or the hardcoded
default)
|
checkManageAccess, find, getImageNature, remove, removeAll, resolveEntityCheck, save, saveNamecheckGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initializecanManage, checkManagesUser, checkPermission, checkRelatesToUser, checkValue, clearAlreadyValidated, getBaseEntityManagerHandler, getConfiguration, getLoggedBasicUser, getLoggedUser, getProducts, getTranslatedName, getTranslatedValue, hasPermission, hasValue, inSameNetwork, inSameNetworkOrGlobal, isAdmin, isAlreadyValidated, isBroker, isGlobalAdmin, isGlobalAdminInNetwork, isGuest, isLoggedIn, isMember, isMemberOnly, isNetworkAdmin, isOperator, isRelatedToUser, isSystem, isUserManager, isUserManagerOf, message, message, permission, permission, permissionOptionalValue, permissionOptionalValue, toDate, toDateTime, validatedelete, detach, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitremove, removeAll, save, saveNamepublic ConfigurationImageVO getImageVO(java.lang.Long configurationId, ConfigurationImageType type) throws FrameworkException
ConfigurationImageServicegetImageVO in interface ConfigurationImageServiceFrameworkExceptionpublic ConfigurationImageServiceLocal getImplementation()
getImplementation in class BaseImageServiceSecurity<ConfigurationImage,NewConfigurationImageParams>public ConfigurationImagesListData getListData(ConfigurationVO configurationVO) throws FrameworkException
ConfigurationImageServicegetListData in interface ConfigurationImageServiceFrameworkExceptionpublic boolean hasManageAccess(ConfigurationImage image)
hasManageAccess in class BaseImageServiceSecurity<ConfigurationImage,NewConfigurationImageParams>public java.util.List<ConfigurationImageVO> list(ConfigurationVO configurationVO) throws FrameworkException
ConfigurationImageServicelist in interface ConfigurationImageServiceFrameworkExceptionpublic ConfigurationImageVO load(@NotNull @NotNull java.lang.Long id) throws FrameworkException
ConfigurationImageServiceload in interface ConfigurationImageServiceFrameworkExceptionpublic void removeByConfigurationAndType(ConfigurationVO configurationVO, ConfigurationImageType type) throws FrameworkException
ConfigurationImageServiceremoveByConfigurationAndType in interface ConfigurationImageServiceFrameworkExceptionprotected void checkCreateNew(NewConfigurationImageParams param)
checkCreateNew in class BaseImageServiceSecurity<ConfigurationImage,NewConfigurationImageParams>