@Security public class ContactInfoImageServiceSecurity extends BaseServiceSecurity implements ContactInfoImageService, ImageServiceSecurity<ContactInfoImage,ContactInfoImageVO,java.lang.Long>
ContactInfoImageService| Constructor and Description |
|---|
ContactInfoImageServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
ContactInfoImageServiceLocal |
getServiceImpl() |
boolean |
hasManageAccess(ContactInfoImage image) |
java.util.List<ContactInfoImageVO> |
list(java.lang.Long contactInfoId)
Returns a list of images for the given owner id
|
ContactInfoImageVO |
load(java.lang.Long id)
Loads a VO by id
|
ContactInfoImageVO |
loadByKey(java.lang.String key)
Loads a VO by url id
|
void |
remove(java.lang.Long id)
Removes the given image
|
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 |
ContactInfoImageVO |
save(java.lang.Long contactInfoId,
java.lang.String name,
SerializableInputStream contents,
java.lang.String contentType)
Saves the given image for the given parameter (which depends on each image type), returning the descriptor
|
void |
saveName(java.lang.Long id,
java.lang.String name)
Saves the name of the given image
|
void |
saveOrder(java.lang.Long contactInfoId,
java.util.List<java.lang.Long> imageIds)
Saves the images order
|
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, isMemberOnly, 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, mailContentBuilder, message, message, persist, processBatch, refresh, remove, selectFrom, subQuery, updatepublic ContactInfoImageServiceLocal getServiceImpl()
getServiceImpl in interface ImageServiceSecurity<ContactInfoImage,ContactInfoImageVO,java.lang.Long>public boolean hasManageAccess(ContactInfoImage image)
hasManageAccess in interface ImageServiceSecurity<ContactInfoImage,ContactInfoImageVO,java.lang.Long>public java.util.List<ContactInfoImageVO> list(java.lang.Long contactInfoId) throws FrameworkException
BaseOwnedImageServicelist in interface BaseOwnedImageService<ContactInfoImageVO>FrameworkExceptionpublic ContactInfoImageVO load(java.lang.Long id) throws EntityNotFoundException
BaseImageServiceload in interface BaseImageService<ContactInfoImageVO,java.lang.Long>EntityNotFoundExceptionpublic ContactInfoImageVO loadByKey(java.lang.String key) throws EntityNotFoundException
BaseImageServiceloadByKey in interface BaseImageService<ContactInfoImageVO,java.lang.Long>EntityNotFoundExceptionpublic void remove(java.lang.Long id)
BaseImageServiceremove in interface BaseImageService<ContactInfoImageVO,java.lang.Long>public ContactInfoImageVO save(java.lang.Long contactInfoId, java.lang.String name, SerializableInputStream contents, java.lang.String contentType)
BaseImageServicesave in interface BaseImageService<ContactInfoImageVO,java.lang.Long>public void saveName(java.lang.Long id,
java.lang.String name)
BaseImageServicesaveName in interface BaseImageService<ContactInfoImageVO,java.lang.Long>public void saveOrder(java.lang.Long contactInfoId,
java.util.List<java.lang.Long> imageIds)
throws FrameworkException
BaseOwnedImageServicesaveOrder in interface BaseOwnedImageService<ContactInfoImageVO>FrameworkExceptionprotected org.cyclos.impl.access.EntityCheck<?> resolveEntityCheck()
BaseServiceSecurityEntityCheck managed by this security component, or null if
noneresolveEntityCheck in class BaseServiceSecurity