RemoteObjectController is supported only for use within Remote Objects methods. See “Overriding Default Remote Objects Operations” in the Visualforce Developer’s Guide for examples of how to use RemoteObjectController with your Visualforce pages.
The following are methods for RemoteObjectController. All methods are static.
public static Map<String,Object> create(String type, Map<String,Object> fields)
Type: Map<String,Object>
The return value is a map that represents the result of the Remote Objects operation. What is returned depends on the results of the call.
public static Map<String,Object> del(String type, List<String> recordIds)
Type: Map<String,Object>
public static Map<String,Object> retrieve(String type, List<String> fields, Map<String,Object> criteria)
Type: Map<String,Object>
The return value is a map that represents the result of the Remote Objects operation. What is returned depends on the results of the call.
public static Map<String,Object> updat(String type, List<String> recordIds, Map<String,Object> fields)
Type: Map<String,Object>
The return value is a map that represents the result of the Remote Objects operation. What is returned depends on how the method was called and the results of the call.