@Security public class RecordCustomFieldServiceSecurity extends BaseSimpleCustomFieldServiceSecurity<RecordCustomFieldDTO,RecordCustomField,RecordCustomFieldPossibleValueCategory,RecordCustomFieldPossibleValue,RecordCustomFieldData,RecordTypeVO> implements RecordCustomFieldService
RecordCustomFieldServicemanagePermission, viewPermissionentityClass| Constructor and Description |
|---|
RecordCustomFieldServiceSecurity() |
| Modifier and Type | Method and Description |
|---|---|
protected RecordCustomFieldServiceLocal |
getImplementation()
Should be implemented in order to return the actual implementation of the service
|
boolean |
isAccessible(SessionData sessionData,
RecordCustomField entity)
Must be implemented in order to determine whether the given entity is accessible for the given session data.
|
void |
linkShared(RecordTypeVO recordTypeVO,
CustomFieldVO customFieldVO)
Relates the given record type with the given custom field
|
java.util.List<CustomFieldDetailedVO> |
list(RecordTypeVO recordTypeVO)
Lists the fields in the given record type returning also the shared ones.
|
java.util.List<CustomFieldDetailedVO> |
listShared()
Lists the shared fields
|
void |
saveOrderOnType(RecordTypeVO recordTypeVO,
java.util.List<CustomFieldVO> customFields)
Saves the order of the given custom field.
|
void |
unlinkShared(RecordTypeVO recordTypeVO,
CustomFieldVO customFieldVO)
Removes the link that exists between the record type and the shared field
|
checkCreateNew, checkManagePermission, checkViewPermission, doHasManageAccess, doHasViewAccess, hasManagePermission, hasViewPermissionsaveOrdercanPerformOperation, canViewHistoryLog, checkManageAccess, checkOperation, checkViewAccess, customizeData, 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, waitsaveOrdergetData, getDataForNew, load, remove, removeAll, savepublic boolean isAccessible(SessionData sessionData, RecordCustomField entity)
CRUDServiceSecurityCRUDServiceSecurity.hasViewAccess(BaseEntity). If the only condition for an entity is
CRUDServiceSecurity.hasViewAccess(BaseEntity), this method
should return false.isAccessible in class CRUDServiceSecurity<RecordCustomFieldDTO,RecordCustomField,RecordCustomFieldData,RecordTypeVO>public void linkShared(RecordTypeVO recordTypeVO, CustomFieldVO customFieldVO) throws FrameworkException
RecordCustomFieldServicelinkShared in interface RecordCustomFieldServiceFrameworkExceptionpublic java.util.List<CustomFieldDetailedVO> list(RecordTypeVO recordTypeVO)
RecordCustomFieldServicelist in interface RecordCustomFieldServicepublic java.util.List<CustomFieldDetailedVO> listShared()
RecordCustomFieldServicelistShared in interface RecordCustomFieldServicepublic void saveOrderOnType(RecordTypeVO recordTypeVO, java.util.List<CustomFieldVO> customFields) throws FrameworkException
RecordCustomFieldServicesaveOrderOnType in interface RecordCustomFieldServiceFrameworkExceptionpublic void unlinkShared(RecordTypeVO recordTypeVO, CustomFieldVO customFieldVO) throws FrameworkException
RecordCustomFieldServiceunlinkShared in interface RecordCustomFieldServiceFrameworkExceptionprotected RecordCustomFieldServiceLocal getImplementation()
CRUDServiceSecuritygetImplementation in class CRUDServiceSecurity<RecordCustomFieldDTO,RecordCustomField,RecordCustomFieldData,RecordTypeVO>