Class GroovyPostRetrievalParams
- java.lang.Object
-
- de.uplanet.lucy.server.tags.groovy.GroovyPostRetrievalParams
-
- All Implemented Interfaces:
de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
@Scriptable public final class GroovyPostRetrievalParams extends Object implements de.uplanet.lucy.server.tags.businesslogic.IRetrievalParams
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAppGuid()
String
getDataGroupGuid()
static GroovyPostRetrievalParams
getInstance()
int
getMaxPostsThreshold()
int
getMaxTagsThreshold()
List<String>
getTagNames()
List<String>
getTagRecordIDs()
String
getUserProfileGuid()
GroovyPostRetrievalParams
setAppGuid(String p_strAppGuid)
Retrieve only posts with the specified application-GUID.GroovyPostRetrievalParams
setDataGroupGuid(String p_strDgGuid)
Retrieve only posts with the specified datagroup-GUID.GroovyPostRetrievalParams
setTagNames(String p_strTagNames)
Retrieve only posts with the specified referenced tag names (must be specified as a JSON-array).GroovyPostRetrievalParams
setTagRecID(String p_strTagRecID)
Retrieve only posts with the specified referenced tag record-ID.GroovyPostRetrievalParams
setTagRecIDs(String p_strTagRecIDs)
Retrieve only posts with the specified referenced tag record-IDs (must be specified as a JSON-array).GroovyPostRetrievalParams
setTagRecIDs(List<String> p_strTagRecIDs)
Retrieve only posts with the specified referenced tag record-IDs.GroovyPostRetrievalParams
setUserProfileGuid(String p_strUserProfileGuid)
Retrieve only posts with the specified user profile GUID.
-
-
-
Method Detail
-
getInstance
public static GroovyPostRetrievalParams getInstance()
-
setTagNames
public GroovyPostRetrievalParams 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 GroovyPostRetrievalParams 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 GroovyPostRetrievalParams 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 GroovyPostRetrievalParams 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 GroovyPostRetrievalParams 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 GroovyPostRetrievalParams setDataGroupGuid(String p_strDgGuid)
Retrieve only posts with the specified datagroup-GUID.- Parameters:
p_strDgGuid
- The datagroup-GUID.- Returns:
- This instance.
-
setAppGuid
public GroovyPostRetrievalParams 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
-
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
-
-