No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Zones Class
Namespace
Zones Methods
The following are methods for Zones. All methods are static.
getZone(String, String)
API Version
29.0
Signature
public static ConnectApi.Zone getZone(String communityId, String zoneId)
Parameters
Return Value
Type: ConnectApi.Zone
getZones(String)
API Version
29.0
Signature
public static ConnectApi.ZonePage getZones(String communityId)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
Return Value
Type: ConnectApi.ZonePage
getZones(String, Integer, Integer)
API Version
29.0
Signature
public static ConnectApi.Zone getZones(String communityId, Integer pageParam, Integer pageSize)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
- pageParam
- Type: Integer
- Specifies the number of the page you want returned. Starts at 0. If you pass in null or 0, the first page is returned.
- pageSize
- Type: Integer
- Specifies the number of items per page. Valid values are between 1 and 100. If you pass in null, the default size is 25.
Return Value
Type: ConnectApi.Zone
searchInZone(String, String, String, ConnectApi.ZoneSearchResultType)
API Version
29.0
Signature
public static ConnectApi.ZoneSearchPage searchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
- zoneId
- Type: String
- zoneId—The ID of a zone.
- q
- Type: String
- q—Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards.
- filter
- Type: ConnectApi.ZoneSearchResultType
- A ZoneSearchResultType enum value. One of the following:
- Article—Search results contain only articles.
- Question—Search results contain only questions.
Return Value
searchInZone(String, String, String, ConnectApi.ZoneSearchResultType, String, Integer)
API Version
29.0
Signature
public static ConnectApi.ZoneSearchPage searchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String pageParam, Integer pageSize)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
- zoneId
- Type: String
- zoneId—The ID of a zone.
- q
- Type: String
- q—Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards.
- filter
- Type: ConnectApi.ZoneSearchResultType
- A ZoneSearchResultType enum value. One of the following:
- Article—Search results contain only articles.
- Question—Search results contain only questions.
- pageParam
- Type: String
- Specifies the page token to be used to view a page of information. Page tokens are returned as part of the response class, such as currentPageToken or nextPageToken. If you pass in null, the first page is returned.
- pageSize
- Type: Integer
- Specifies the number of items per page. Valid values are between 1 and 100. If you pass in null, the default size is 25.
Return Value
setTestSearchInZone(String, String, String, ConnectApi.ZoneSearchResultType, ConnectApi.ZoneSearchPage)
API Version
29.0
Signature
public static Void setTestSearchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, ConnectApi.ZoneSearchPage result)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
- zoneId
- Type: String
- zoneId—The ID of a zone.
- q
- Type: String
- q—Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards.
- filter
- Type: ConnectApi.ZoneSearchResultType
- A ZoneSearchResultType enum value. One of the following:
- Article—Search results contain only articles.
- Question—Search results contain only questions.
- result
- Type: ConnectApi.ZoneSearchPage
- The object containing test data.
Return Value
Type: Void
setTestSearchInZone(String, String, String, ConnectApi.ZoneSearchResultType, String, Integer, ConnectApi.ZoneSearchPage)
API Version
29.0
Signature
public static Void setTestSearchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String pageParam, Integer pageSize, ConnectApi.ZoneSearchPage result)
Parameters
- communityId
- Type: String
- Use either the ID for a community, internal, or null.
- zoneId
- Type: String
- zoneId—The ID of a zone.
- q
- Type: String
- q—Specifies the string to search. The search string must contain at least two characters, not including wildcards. See Wildcards.
- filter
- Type: ConnectApi.ZoneSearchResultType
- A ZoneSearchResultType enum value. One of the following:
- Article—Search results contain only articles.
- Question—Search results contain only questions.
- pageParam
- Type: String
- Specifies the page token to be used to view a page of information. Page tokens are returned as part of the response class, such as currentPageToken or nextPageToken. If you pass in null, the first page is returned.
- pageSize
- Type: Integer
- Specifies the number of items per page. Valid values are between 1 and 100. If you pass in null, the default size is 25.
- result
- Type: ConnectApi.ZoneSearchPage
- The object containing test data.
Return Value
Type: Void