Class AbstractObjectInteractionMonitorUtil

  • Direct Known Subclasses:
    CommentItMonitorUtil, LikeItMonitorUtil

    public abstract class AbstractObjectInteractionMonitorUtil
    extends java.lang.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 java.lang.String targetObjectName
      • targetObjectId

        protected final java.lang.String targetObjectId
      • targetObjectServiceInstance

        protected final java.lang.String targetObjectServiceInstance
      • serviceInstanceId

        protected final java.lang.String serviceInstanceId
    • Constructor Detail

      • AbstractObjectInteractionMonitorUtil

        public AbstractObjectInteractionMonitorUtil​(HttpServletRequest request,
                                                    java.lang.String targetObjectName,
                                                    java.lang.String targetObjectId,
                                                    java.lang.String targetObjectServiceInstance,
                                                    java.lang.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 java.lang.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 java.lang.String getEventId()
        Returns the event identifier.
        Returns:
        the event identifier.
        Since:
        9.0.0
      • getInteractionName

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

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

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

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

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