Class ActivityBase

java.lang.Object
oracle.webcenter.portal.persistence.activity.ActivityBase
All Implemented Interfaces:
Activity
Direct Known Subclasses:
AddMemberToDiscoveredPortalActivity, DiscoveredPortalActivity, RemoveMemberFromPortalActivity

@Exported public abstract class ActivityBase extends Object implements Activity
Abstract base class for Activity implementations that need full access to the persistence API as they perform a check.
  • Constructor Details

    • ActivityBase

      public ActivityBase()
  • Method Details

    • checkAction

      public final Activity.Result checkAction(PortalEntity entity, PersistenceSecurityAction action)
      Description copied from interface: Activity
      Checks how a security action should be handled
      Specified by:
      checkAction in interface Activity
      Parameters:
      entity - the entity the action is being performed against
      action - 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 against
      action - the action
      Returns:
      how the action should be handled