Class PostRetrievalParams
- java.lang.Object
-
- de.uplanet.lucy.server.tags.businesslogic.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 Summary
Constructors Constructor Description PostRetrievalParams()
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object p_obj)
String
getAppGuid()
String
getDataGroupGuid()
int
getMaxPostsThreshold()
int
getMaxTagsThreshold()
List<String>
getTagNames()
List<String>
getTagRecordIDs()
String
getUserProfileGuid()
int
hashCode()
PostRetrievalParams
setAppGuid(String p_strAppGuid)
Retrieve only posts with the specified application-GUID.PostRetrievalParams
setDataGroupGuid(String p_strDgGuid)
Retrieve only posts with the specified datagroup-GUID.PostRetrievalParams
setMaxPostsThreshold(int p_iMaxThreshold)
Set the maximum threshold of posts to retrieve.PostRetrievalParams
setMaxTagsThreshold(int p_iMaxThreshold)
Set the maximum threshold of posts to retrieve.PostRetrievalParams
setTagNames(String p_strTagNames)
Retrieve only posts with the specified referenced tag names (must be specified as a JSON-array).PostRetrievalParams
setTagRecID(String p_strTagRecID)
Retrieve only posts with the specified referenced tag record-ID.PostRetrievalParams
setTagRecIDs(String p_strTagRecIDs)
Retrieve only posts with the specified referenced tag record-IDs (must be specified as a JSON-array).PostRetrievalParams
setTagRecIDs(List<String> p_strTagRecIDs)
Retrieve only posts with the specified referenced tag record-IDs.PostRetrievalParams
setUserProfileGuid(String p_strUserProfileGuid)
Retrieve only posts with the specified user profile GUID.
-
-
-
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 interfacede.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
-
getMaxPostsThreshold
public int getMaxPostsThreshold()
- Specified by:
getMaxPostsThreshold
in interfacede.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 interfacede.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
-
getDataGroupGuid
public String getDataGroupGuid()
- Specified by:
getDataGroupGuid
in interfacede.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
-
getUserProfileGuid
public String getUserProfileGuid()
- Specified by:
getUserProfileGuid
in interfacede.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
-
-