Package org.cyclos.security.system
Class TempImageServiceSecurity
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.system.BaseImageServiceSecurity<TempImage,NewTempImageParams>
-
- org.cyclos.security.system.TempImageServiceSecurity
-
- All Implemented Interfaces:
Service,BaseImageService<NewTempImageParams>,TempImageService
@Security public class TempImageServiceSecurity extends BaseImageServiceSecurity<TempImage,NewTempImageParams> implements TempImageService
Security layer forTempImageService
-
-
Field Summary
-
Fields inherited from class org.cyclos.security.system.BaseImageServiceSecurity
imageType
-
Fields inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
authHandler, conversionHandler, customFieldValueHandler, entityManagerHandler, groupsHandler, productsHandler, restBeanPropertyMapping, userLocatorHandler
-
Fields inherited from class org.cyclos.impl.AbstractServerComponent
accountHandler, configurationHandler, dataTranslationHandler, notificationHandler, profileFieldHandler, transactionHandler, translationHandler
-
-
Constructor Summary
Constructors Constructor Description TempImageServiceSecurity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckCreateNew(NewTempImageParams params)protected TempImageServiceLocalgetImplementation()booleanhasManageAccess(TempImage image)List<ImageVO>list(NewTempImageParams params)Lists the temporary images owned by the current user or guest for the given target.-
Methods inherited from class org.cyclos.security.system.BaseImageServiceSecurity
checkManageAccess, find, getImageNature, remove, removeAll, resolveEntityCheck, save, saveName
-
Methods inherited from class org.cyclos.security.BaseServiceSecurity
checkGuest, checkId, checkIds, checkInternalName, checkLoggedIn, checkManagesUser, checkRelatesToUser, checkScope, checkVO, checkVOs, doInitialize, getEntityCheckRegistry, getUser, initialize
-
Methods inherited from class org.cyclos.impl.AbstractNetworkedServerComponent
canManage, 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, setAlreadyValidated, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, dataTranslationProxy, delete, detach, doDataTranslationProxy, find, flush, from, getApplicationContext, getFormatter, getFormatter, getFormatter, getLogger, getRemoteAddress, getSessionData, mailContentBuilder, message, message, persist, processBatch, processBatch, refresh, remove, selectFrom, subQuery, update
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.services.system.BaseImageService
remove, removeAll, save, saveName
-
-
-
-
Method Detail
-
hasManageAccess
public boolean hasManageAccess(TempImage image)
- Specified by:
hasManageAccessin classBaseImageServiceSecurity<TempImage,NewTempImageParams>
-
list
public List<ImageVO> list(NewTempImageParams params) throws FrameworkException
Description copied from interface:TempImageServiceLists the temporary images owned by the current user or guest for the given target. Guests are matched by key (or remote address if none is given)- Specified by:
listin interfaceTempImageService- Throws:
FrameworkException
-
checkCreateNew
protected void checkCreateNew(NewTempImageParams params)
- Specified by:
checkCreateNewin classBaseImageServiceSecurity<TempImage,NewTempImageParams>
-
getImplementation
protected TempImageServiceLocal getImplementation()
- Specified by:
getImplementationin classBaseImageServiceSecurity<TempImage,NewTempImageParams>
-
-