Package com.axelor.auth
Class AuthSecurityWarner
- java.lang.Object
-
- com.axelor.auth.AuthSecurityWarner
-
- All Implemented Interfaces:
JpaSecurity
,javax.inject.Provider<JpaSecurity>
@Deprecated public class AuthSecurityWarner extends Object
Deprecated.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.axelor.db.JpaSecurity
JpaSecurity.AccessType
-
-
Field Summary
-
Fields inherited from interface com.axelor.db.JpaSecurity
CAN_CREATE, CAN_EXPORT, CAN_READ, CAN_REMOVE, CAN_WRITE
-
-
Constructor Summary
Constructors Constructor Description AuthSecurityWarner()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
check(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
Deprecated.JpaSecurity
get()
Set<JpaSecurity.AccessType>
getAccessTypes(Class<? extends Model> model)
Set<JpaSecurity.AccessType>
getAccessTypes(Class<? extends Model> model, Long id)
Filter
getFilter(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
boolean
hasRole(String name)
boolean
isPermitted(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
-
-
-
Method Detail
-
check
public void check(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
Deprecated.- Specified by:
check
in interfaceJpaSecurity
-
hasRole
public boolean hasRole(String name)
- Specified by:
hasRole
in interfaceJpaSecurity
-
getAccessTypes
public Set<JpaSecurity.AccessType> getAccessTypes(Class<? extends Model> model)
- Specified by:
getAccessTypes
in interfaceJpaSecurity
-
getAccessTypes
public Set<JpaSecurity.AccessType> getAccessTypes(Class<? extends Model> model, Long id)
- Specified by:
getAccessTypes
in interfaceJpaSecurity
-
getFilter
public Filter getFilter(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
- Specified by:
getFilter
in interfaceJpaSecurity
-
isPermitted
public boolean isPermitted(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
- Specified by:
isPermitted
in interfaceJpaSecurity
-
get
public JpaSecurity get()
- Specified by:
get
in interfacejavax.inject.Provider<JpaSecurity>
-
-