Class ActivityBase
java.lang.Object
oracle.webcenter.portal.persistence.activity.ActivityBase
- All Implemented Interfaces:
Activity
- Direct Known Subclasses:
AddMemberToDiscoveredPortalActivity,DiscoveredPortalActivity,RemoveMemberFromPortalActivity
Abstract base class for Activity implementations that need full access to the
persistence API as they perform a check.
-
Nested Class Summary
Nested classes/interfaces inherited from interface oracle.webcenter.portal.persistence.activity.Activity
Activity.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal Activity.ResultcheckAction(PortalEntity entity, PersistenceSecurityAction action) Checks how a security action should be handledprotected abstract Activity.ResultperformCheckAction(PortalEntity entity, PersistenceSecurityAction action) Performs the check
-
Constructor Details
-
ActivityBase
public ActivityBase()
-
-
Method Details
-
checkAction
Description copied from interface:ActivityChecks how a security action should be handled- Specified by:
checkActionin interfaceActivity- Parameters:
entity- the entity the action is being performed againstaction- the action- Returns:
- how the action should be handled
-
performCheckAction
protected abstract Activity.Result performCheckAction(PortalEntity entity, PersistenceSecurityAction action) Performs the check- Parameters:
entity- the entity the action is being performed againstaction- the action- Returns:
- how the action should be handled
-