public abstract class FndAbstractHandler
extends java.lang.Object
This is a framework internal class! Backward compatibility is not guaranteed.
Modifier and Type | Field and Description |
---|---|
static Tags |
FND_FLOW
Constant used to tag log messages tracing flow of invoked handler methods.
|
Constructor and Description |
---|
FndAbstractHandler() |
Modifier and Type | Method and Description |
---|---|
protected void |
activateFilter(FndCompoundAttributeMeta metaAttr,
FndFilter filter)
Adds a meta-attribute-to-filter mapping to the current filter map.
|
protected void |
activateFilter(FndCompoundReferenceMeta metaRef,
FndFilter filter)
Adds a meta-reference-to-filter mapping to the current filter map.
|
protected void |
activateFilter(FndRecordMeta metaView,
FndFilter filter)
Adds a meta-view-to-filter mapping to the current filter map.
|
protected <V extends FndView> |
activateValidation(FndValidation<V> rules)
Adds validation rules to the current validation map.
|
protected void |
afterCall()
Performs after-call activities.
|
protected void |
beforeCall()
Performs before-call activities.
|
protected void |
beforeCall(java.lang.String operationName)
Performs before-call activities.
|
static void |
checkActivityGranted(java.lang.String directoryId,
java.lang.String activityName)
Verifies that a current user has been granted access to an activity.
|
static boolean |
isCheckingActivityGrantsOn()
Indicates if checking of activity grants is activated.
|
protected void |
setActivityName(java.lang.String activityName)
Sets the activity name for this handler.
|
public static final Tags FND_FLOW
protected void setActivityName(java.lang.String activityName)
protected void beforeCall() throws IfsException
IfsException
protected void beforeCall(java.lang.String operationName) throws IfsException
IfsException
protected void afterCall() throws SystemException
SystemException
protected void activateFilter(FndRecordMeta metaView, FndFilter filter)
metaView
- the view to attach a filter tofilter
- filter to be attached to the above viewprotected void activateFilter(FndCompoundAttributeMeta metaAttr, FndFilter filter)
metaAttr
- the compound attribute to attach a filter tofilter
- filter to be attached to the above attributeprotected void activateFilter(FndCompoundReferenceMeta metaRef, FndFilter filter)
metaRef
- the meta-reference to attach a filter tofilter
- filter to be attached to the above referenceprotected <V extends FndView> void activateValidation(FndValidation<V> rules)
V
- a subclass of VndViewrules
- validation rules for view of type Vpublic static void checkActivityGranted(java.lang.String directoryId, java.lang.String activityName) throws IfsException
directoryId
- User directory IDactivityName
- The name of activity to check grants forSecurityException
- if the user has not been granted assess to the activityIfsException
- if the checking procedure fails for some reasonpublic static boolean isCheckingActivityGrantsOn()