Package com.axelor.db
Interface JpaSecurity
- All Known Implementing Classes:
AuthSecurityWarner
public interface JpaSecurity
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JpaSecurity.AccessType
static final JpaSecurity.AccessType
static final JpaSecurity.AccessType
static final JpaSecurity.AccessType
static final JpaSecurity.AccessType
static final JpaSecurity.AccessType
-
Method Summary
Modifier and TypeMethodDescriptionvoid
check
(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids) getAccessTypes
(Class<? extends Model> model) getAccessTypes
(Class<? extends Model> model, Long id) getFilter
(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids) boolean
boolean
isPermitted
(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
-
Field Details
-
CAN_READ
-
CAN_WRITE
-
CAN_CREATE
-
CAN_REMOVE
-
CAN_IMPORT
-
CAN_EXPORT
-
-
Method Details
-
getAccessTypes
-
getAccessTypes
-
hasRole
-
getFilter
-
isPermitted
-
check
-