The following are methods for Zones. All methods are static.
29.0
No
public static ConnectApi.Zone getZone(String communityId, String zoneId)
Type: ConnectApi.Zone
29.0
No
public static ConnectApi.ZonePage getZones(String communityId)
Type: ConnectApi.ZonePage
29.0
No
public static ConnectApi.Zone getZones(String communityId, Integer pageParam, Integer pageSize)
Type: ConnectApi.ZonePage
29.0
37.0
No
public static ConnectApi.ZoneSearchPage searchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter)
To test code that uses this method, use the matching set test method (prefix the method name with setTest). Use the set test method with the same parameters or the code throws an exception.
29.0
37.0
No
public static ConnectApi.ZoneSearchPage searchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String pageParam, Integer pageSize)
To test code that uses this method, use the matching set test method (prefix the method name with setTest). Use the set test method with the same parameters or the code throws an exception.
36.0
37.0
No
public static ConnectApi.ZoneSearchPage searchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String language)
To test code that uses this method, use the matching set test method (prefix the method name with setTest). Use the set test method with the same parameters or the code throws an exception.
The following are the test methods for Zones. All methods are static.
For information about using these methods to test your ConnectApi code, see Testing ConnectApi Code.
29.0
public static Void setTestSearchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, ConnectApi.ZoneSearchPage result)
Type: Void
29.0
public static Void setTestSearchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String pageParam, Integer pageSize, ConnectApi.ZoneSearchPage result)
Type: Void
36.0
public static Void setTestSearchInZone(String communityId, String zoneId, String q, ConnectApi.ZoneSearchResultType filter, String language, ConnectApi.ZoneSearchPage result)
Type: Void