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 voidcheck(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)Deprecated.JpaSecurityget()Set<JpaSecurity.AccessType>getAccessTypes(Class<? extends Model> model, Long id)FiltergetFilter(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)booleanhasRole(String name)booleanisPermitted(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:
checkin interfaceJpaSecurity
-
hasRole
public boolean hasRole(String name)
- Specified by:
hasRolein interfaceJpaSecurity
-
getAccessTypes
public Set<JpaSecurity.AccessType> getAccessTypes(Class<? extends Model> model, Long id)
- Specified by:
getAccessTypesin interfaceJpaSecurity
-
getFilter
public Filter getFilter(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
- Specified by:
getFilterin interfaceJpaSecurity
-
isPermitted
public boolean isPermitted(JpaSecurity.AccessType type, Class<? extends Model> model, Long... ids)
- Specified by:
isPermittedin interfaceJpaSecurity
-
get
public JpaSecurity get()
- Specified by:
getin interfacejavax.inject.Provider<JpaSecurity>
-
-