public interface PermissionHandlerI
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
Modifier and Type | Method and Description |
---|---|
PermissionHandlerDecisionI |
checkCreateAllowed(BOI bo) |
PermissionHandlerDecisionI |
checkCreateAllowed(BOI bo,
java.lang.String att) |
PermissionHandlerDecisionI |
checkCreateAllowed(java.lang.Class<? extends BOI> clazz) |
PermissionHandlerDecisionI |
checkCreateAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att) |
PermissionHandlerDecisionI |
checkCreateAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att,
boolean _tendToAllow)
Checks if the current user is allowed to create objects (or if
given the value of the specified attribute) of the given class.
|
PermissionHandlerDecisionI |
checkDeleteAllowed(BOI bo) |
PermissionHandlerDecisionI |
checkDeleteAllowed(BOI bo,
java.lang.String att) |
PermissionHandlerDecisionI |
checkReadAllowed(BOI bo) |
PermissionHandlerDecisionI |
checkReadAllowed(BOI bo,
java.lang.String att) |
PermissionHandlerDecisionI |
checkReadAllowed(java.lang.Class<? extends BOI> clazz) |
PermissionHandlerDecisionI |
checkReadAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att) |
PermissionHandlerDecisionI |
checkReadAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att,
boolean _tendToAllow)
Checks if the current user is allowed to read objects (or if
given the value of the specified attribute) of the given class.
|
PermissionHandlerDecisionI |
checkWriteAllowed(BOI bo) |
PermissionHandlerDecisionI |
checkWriteAllowed(BOI bo,
java.lang.String att) |
PermissionHandlerDecisionI |
checkWriteAllowed(java.lang.Class<? extends BOI> clazz) |
PermissionHandlerDecisionI |
checkWriteAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att) |
PermissionHandlerDecisionI |
checkWriteAllowed(java.lang.Class<? extends BOI> clazz,
java.lang.String att,
boolean _tendToAllow)
Checks if the current user is allowed to write objects (or if
given the value of the specified attribute) of the given class.
|
void |
initMasken()
used on client-side to initialize BOMasken of serialized transmitted PermissionHandler
|
void |
setAllowWriteIfNew(boolean b) |
void |
setSchema(SchemaI schema) |
static final java.lang.String $0
PermissionHandlerDecisionI checkReadAllowed(BOI bo)
PermissionHandlerDecisionI checkReadAllowed(BOI bo, java.lang.String att)
PermissionHandlerDecisionI checkReadAllowed(java.lang.Class<? extends BOI> clazz)
PermissionHandlerDecisionI checkReadAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att)
PermissionHandlerDecisionI checkReadAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att, boolean _tendToAllow)
clazz
- the class to check for read permission.att
- the attribute to check for read permission._tendToAllow
- determines how RZs whose BOMaske has a script (and thus
may match some objects of the class and some not) and errors during the
evaluation of such scripts will be handled. If false such RZs will be
counted as "not present" and if only such RZs exist for the class, the
default behaviour (which is to to deny) will take place; the default
return value in case of an error in the BOMaske script will also be false,
that is the BOMaske will be assumed to NOT fit and thus an "allowing RZ" is
NOT assumed to be present. If this parameter is true RZs with a BOMaske
with a script will be checked (and may be returned as an "allowing RZ");
the default return value in case of an error in the BOMaske script will also
be true, that is the BOMaske will be assumed to fit and thus an "allowing
RZ" is assumed to be present.PermissionHandlerDecisionI checkWriteAllowed(BOI bo)
PermissionHandlerDecisionI checkWriteAllowed(BOI bo, java.lang.String att)
PermissionHandlerDecisionI checkWriteAllowed(java.lang.Class<? extends BOI> clazz)
PermissionHandlerDecisionI checkWriteAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att)
PermissionHandlerDecisionI checkWriteAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att, boolean _tendToAllow)
clazz
- the class to check for write permission.att
- the attribute to check for write permission._tendToAllow
- determines how RZs whose BOMaske has a script (and thus
may match some objects of the class and some not) and errors during the
evaluation of such scripts will be handled. If false such RZs will be
counted as "not present" and if only such RZs exist for the class, the
default behaviour (which is to to deny) will take place; the default
return value in case of an error in the BOMaske script will also be false,
that is the BOMaske will be assumed to NOT fit and thus an "allowing RZ" is
NOT assumed to be present. If this parameter is true RZs with a BOMaske
with a script will be checked (and may be returned as an "allowing RZ");
the default return value in case of an error in the BOMaske script will also
be true, that is the BOMaske will be assumed to fit and thus an "allowing
RZ" is assumed to be present.PermissionHandlerDecisionI checkCreateAllowed(BOI bo)
PermissionHandlerDecisionI checkCreateAllowed(BOI bo, java.lang.String att)
PermissionHandlerDecisionI checkCreateAllowed(java.lang.Class<? extends BOI> clazz)
PermissionHandlerDecisionI checkCreateAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att)
PermissionHandlerDecisionI checkCreateAllowed(java.lang.Class<? extends BOI> clazz, java.lang.String att, boolean _tendToAllow)
clazz
- the class to check for create permission.att
- FIXME! This does not really make sense here, as create
is relevant only for the whole object._tendToAllow
- determines how RZs whose BOMaske has a script (and thus
may match some objects of the class and some not) and errors during the
evaluation of such scripts will be handled. If false such RZs will be
counted as "not present" and if only such RZs exist for the class, the
default behaviour (which is to to deny) will take place; the default
return value in case of an error in the BOMaske script will also be false,
that is the BOMaske will be assumed to NOT fit and thus an "allowing RZ" is
NOT assumed to be present. If this parameter is true RZs with a BOMaske
with a script will be checked (and may be returned as an "allowing RZ");
the default return value in case of an error in the BOMaske script will also
be true, that is the BOMaske will be assumed to fit and thus an "allowing
RZ" is assumed to be present.PermissionHandlerDecisionI checkDeleteAllowed(BOI bo)
PermissionHandlerDecisionI checkDeleteAllowed(BOI bo, java.lang.String att)
void setSchema(SchemaI schema)
void setAllowWriteIfNew(boolean b)
void initMasken()
Copyright © 2000-2024 OAshi S.à r.l. All Rights Reserved.