Package org.cyclos.security.system
Class BaseCustomFieldServiceSecurity<DTO extends CustomFieldDTO,CF extends CustomField<CF,C,PV>,C extends CustomFieldPossibleValueCategory<CF,C,PV>,PV extends CustomFieldPossibleValue<CF,C,PV>,D extends CustomFieldData<DTO>,DP>
- java.lang.Object
-
- org.cyclos.impl.AbstractServerComponent
-
- org.cyclos.impl.AbstractNetworkedServerComponent
-
- org.cyclos.security.BaseServiceSecurity
-
- org.cyclos.security.CRUDServiceSecurity<DTO,E,D,DP>
-
- org.cyclos.security.ConfigurationEntityCRUDServiceSecurity<DTO,CF,D,DP>
-
- org.cyclos.security.system.BaseCustomFieldServiceSecurity<DTO,CF,C,PV,D,DP>
-
- All Implemented Interfaces:
CRUDService<DTO,D,DP>,CRUDWithConfirmationPasswordService<DTO,D,DP>,Service,BaseCustomFieldService<DTO,D,DP>
- Direct Known Subclasses:
BaseSimpleCustomFieldServiceSecurity,CustomOperationFieldServiceSecurity,CustomWizardFieldServiceSecurity,DocumentCustomFieldServiceSecurity
public abstract class BaseCustomFieldServiceSecurity<DTO extends CustomFieldDTO,CF extends CustomField<CF,C,PV>,C extends CustomFieldPossibleValueCategory<CF,C,PV>,PV extends CustomFieldPossibleValue<CF,C,PV>,D extends CustomFieldData<DTO>,DP> extends ConfigurationEntityCRUDServiceSecurity<DTO,CF,D,DP> implements BaseCustomFieldService<DTO,D,DP>
Base class for security layers for custom field services
-
-
Field Summary
-
Fields inherited from class org.cyclos.security.CRUDServiceSecurity
entityClass
-
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 BaseCustomFieldServiceSecurity(Class<CF> entityClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsaveOrder(List<Long> customFieldIds)Saves a custom field order.-
Methods inherited from class org.cyclos.security.ConfigurationEntityCRUDServiceSecurity
isAccessible
-
Methods inherited from class org.cyclos.security.CRUDServiceSecurity
canPerformOperation, canViewData, checkCreateNew, checkManageAccess, checkOperation, checkSave, checkViewAccess, customizeData, doHasManageAccess, doHasViewAccess, find, getConfirmationPasswordInputForRemove, getData, getDataForNew, getEntityClass, getImplementation, hasManageAccess, hasViewAccess, load, onBeforeSave, remove, removeAll, removeAllWithConfirmationPassword, removeWithConfirmationPassword, resolveEntityCheck, save, saveWithConfirmationPassword
-
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, toDate, toDateTime, validate
-
Methods inherited from class org.cyclos.impl.AbstractServerComponent
dataTranslationProxy, delete, detach, 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.CRUDService
getData, getDataForNew, load, remove, removeAll, save
-
-
-
-
Method Detail
-
saveOrder
public final void saveOrder(List<Long> customFieldIds) throws FrameworkException
Description copied from interface:BaseCustomFieldServiceSaves a custom field order.- Specified by:
saveOrderin interfaceBaseCustomFieldService<DTO extends CustomFieldDTO,CF extends CustomField<CF,C,PV>,C extends CustomFieldPossibleValueCategory<CF,C,PV>>- Throws:
FrameworkException
-
-