Class AbstractObjectInteractionMonitorUtil

  • Direct Known Subclasses:
    CommentItMonitorUtil, LikeItMonitorUtil

    public abstract class AbstractObjectInteractionMonitorUtil
    extends Object
    Abstract object interaction monitor util.
    Since:
    9.0.0
    Version:
    $Revision: 21881 $ $Date: 2018-09-21 17:09:37 -0300 (Fri, 21 Sep 2018) $
    • Field Detail

      • targetObjectName

        protected final String targetObjectName
      • targetObjectId

        protected final String targetObjectId
      • targetObjectServiceInstance

        protected final String targetObjectServiceInstance
      • serviceInstanceId

        protected final String serviceInstanceId
    • Constructor Detail

      • AbstractObjectInteractionMonitorUtil

        public AbstractObjectInteractionMonitorUtil​(HttpServletRequest request,
                                                    String targetObjectName,
                                                    String targetObjectId,
                                                    String targetObjectServiceInstance,
                                                    String serviceInstanceId,
                                                    ITransaction transaction)
                                             throws PortalException
        Creates a new instance.
        Parameters:
        request - the request.
        targetObjectName - the target object name.
        targetObjectId - the target object identifier.
        targetObjectServiceInstance - the target object service instance identifier.
        serviceInstanceId - the service identifier.
        transaction - the transaction.
        Throws:
        PortalException
        Since:
        9.0.0
    • Method Detail

      • getCountFieldId

        protected abstract String getCountFieldId()
        Returns the count field identifier.
        Returns:
        the count field identifier.
        Since:
        11.0.0
      • getCount

        protected int getCount()
        Returns the count value.
        Returns:
        the count value.
        Since:
        9.0.0
      • getEventId

        protected abstract String getEventId()
        Returns the event identifier.
        Returns:
        the event identifier.
        Since:
        9.0.0
      • getInteractionName

        protected abstract String getInteractionName()
        Returns the interaction name.
        Returns:
        the interaction name.
        Since:
        9.0.0
      • getActionName

        protected abstract String getActionName()
        Returns the action name.
        Returns:
        the action name.
        Since:
        9.0.0
      • getActionId

        protected abstract String getActionId()
        Returns the action identifier.
        Returns:
        the action identifier.
        Since:
        10.2.0
      • getInteractionType

        protected abstract String getInteractionType()
        Returns the interaction type.
        Returns:
        the interaction type.
        Since:
        9.0.0
      • getStringResourcePath

        protected abstract String getStringResourcePath()
        Returns the interaction string resource path.
        Returns:
        the interaction string resource path.
        Since:
        9.0.0