Class PostRetrievalParams

  • All Implemented Interfaces:
    de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams

    @VelocityCallable("instance")
    public final class PostRetrievalParams
    extends Object
    implements de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
    • Constructor Detail

      • PostRetrievalParams

        public PostRetrievalParams()
        Default constructor.
    • Method Detail

      • setMaxTagsThreshold

        public PostRetrievalParams setMaxTagsThreshold​(int p_iMaxThreshold)
        Set the maximum threshold of posts to retrieve.
        Parameters:
        p_iMaxThreshold - Maximum threshold.
        Returns:
        This instance.
      • setMaxPostsThreshold

        public PostRetrievalParams setMaxPostsThreshold​(int p_iMaxThreshold)
        Set the maximum threshold of posts to retrieve.
        Parameters:
        p_iMaxThreshold - Maximum threshold.
        Returns:
        This instance.
      • getMaxTagsThreshold

        public int getMaxTagsThreshold()
        Specified by:
        getMaxTagsThreshold in interface de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
      • getMaxPostsThreshold

        public int getMaxPostsThreshold()
        Specified by:
        getMaxPostsThreshold in interface de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
      • setTagNames

        public PostRetrievalParams setTagNames​(String p_strTagNames)
        Retrieve only posts with the specified referenced tag names (must be specified as a JSON-array).
        Parameters:
        p_strTagNames - The tag names.
        Returns:
        This instance.
      • setTagRecID

        public PostRetrievalParams setTagRecID​(String p_strTagRecID)
        Retrieve only posts with the specified referenced tag record-ID.
        Parameters:
        p_strTagRecID - The tag record-ID.
        Returns:
        This instance.
      • setTagRecIDs

        public PostRetrievalParams setTagRecIDs​(String p_strTagRecIDs)
        Retrieve only posts with the specified referenced tag record-IDs (must be specified as a JSON-array).
        Parameters:
        p_strTagRecIDs - The tag record-IDs.
        Returns:
        This instance.
      • setTagRecIDs

        public PostRetrievalParams setTagRecIDs​(List<String> p_strTagRecIDs)
        Retrieve only posts with the specified referenced tag record-IDs.
        Parameters:
        p_strTagRecIDs - The tag record-IDs.
        Returns:
        This instance.
      • setUserProfileGuid

        public PostRetrievalParams setUserProfileGuid​(String p_strUserProfileGuid)
        Retrieve only posts with the specified user profile GUID.
        Parameters:
        p_strUserProfileGuid - The user profile-GUID.
        Returns:
        This instance.
      • setDataGroupGuid

        public PostRetrievalParams setDataGroupGuid​(String p_strDgGuid)
        Retrieve only posts with the specified datagroup-GUID.
        Parameters:
        p_strDgGuid - The datagroup-GUID.
        Returns:
        This instance.
      • setAppGuid

        public PostRetrievalParams setAppGuid​(String p_strAppGuid)
        Retrieve only posts with the specified application-GUID.
        Parameters:
        p_strAppGuid - The application-GUID.
        Returns:
        This instance.
      • getAppGuid

        public String getAppGuid()
        Specified by:
        getAppGuid in interface de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
      • getDataGroupGuid

        public String getDataGroupGuid()
        Specified by:
        getDataGroupGuid in interface de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
      • getUserProfileGuid

        public String getUserProfileGuid()
        Specified by:
        getUserProfileGuid in interface de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
      • getTagRecordIDs

        public List<String> getTagRecordIDs()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object