Class f_service
Object
f_object
f_service
- All Implemented Interfaces:
- fa_commands, fa_eventTarget, fa_filterProperties, fa_serializable
public class f_service
- extends f_object
- implements fa_filterProperties, fa_eventTarget, fa_commands, fa_serializable
Service class.
LOADED_STATE
public static final Number LOADED_STATE
ERRORED_STATE
public static final Number ERRORED_STATE
INIT_STATE
public static final Number INIT_STATE
LOADING_STATE
public static final Number LOADING_STATE
REQUESTING_STATE
public static final Number REQUESTING_STATE
f_asyncCall
public String f_asyncCall(Function resultCallback,
any parameter,
f_progressMonitor progressMonitor,
Number contentSizePercent)
- Parameters:
resultCallback - Callback which will be called, when the result has been received.parameter - Parameters of the request.progressMonitor - Progress monitor associated to the call.contentSizePercent -
- Returns:
- Request identifier.
f_findSiblingComponent
public HTMLElement f_findSiblingComponent(String id)
- Parameters:
id - Identifier of component.
f_findComponent
public HTMLElement f_findComponent(String id)
- Parameters:
id - Identifier of component.
f_getRequestState
public Number f_getRequestState(String requestId)
- Parameters:
requestId - Request identifier. (returned by f_asyncCall() )
- Returns:
- State of the request, or -1 if the request is unknown !
- See Also:
#f_asyncCall
f_syncCall
public any f_syncCall(any parameter,
f_progressMonitor progressMonitor)
- Parameters:
parameter - Parameters of the request. (Supported types: String, object, and number)progressMonitor - Progress monitor associated to the call.
- Returns:
- Result of request.
f_getServiceId
public String f_getServiceId()