Class Index | File Index

Classes


Class Alfresco.component.ReplicationJob

Extends Alfresco.component.Base
Replication Job Form component.
Defined in: replication-job.js
Constructor Summary
Constructor Attributes Constructor Name and Description
 
ReplicationJob constructor.
Field Summary
Field Attributes Field Name and Description
 
Form controls loaded deferred event utility instance
 
Form Runtime instance
 
Object container for initialization options
 
Payload property extracted from object picker control.
 
Transfer Target property extracted from object picker control.
Fields borrowed from class Alfresco.component.Base:
modules, services, widgets
Method Summary
Method Attributes Method Name and Description
 
Generate the Payload control
 
Generate the Schedule Start control
 
Generate the Transfer Target control
 
Interceptor just before Ajax request is sent
 
Evaluate create mode (rather than edit mode)
 
Schedule enabled evaluator
 
onCancel(type, args)
Cancel button click handler.
 
Called when a date has been selected from a date picker.
 
onFailure(response)
Failure handler
 
Form controls loaded deferred event handler
 
Fired by YUI when parent element is available for scripting.
 
Register validation handler event handler
 
Schedule Checkbox onChange event handler
 
onSuccess(response)
Success handler
Methods borrowed from class Alfresco.component.Base:
attachLinkClickListeners, bind, createYUIButtons, destroy, fire, invokeAction, msg, onComponentLoaded, onComponentsLoaded, onReadyWrapper, refresh, setMessages, setOptions
Constructor Detail
Alfresco.component.ReplicationJob(htmlId)
ReplicationJob constructor.
Parameters:
{String} htmlId
The HTML id of the parent element
Returns:
{Alfresco.component.ReplicationJob} The new ReplicationJob instance
Field Detail
{Alfresco.util.Deferred} controlsLoadedDeferred
Form controls loaded deferred event utility instance

{Alfresco.forms.Form} form
Form Runtime instance

{object} options
Object container for initialization options

{Array} payload
Payload property extracted from object picker control.

{String} targetName
Transfer Target property extracted from object picker control.
Method Detail
createPayloadControl(p_id)
Generate the Payload control
Parameters:
{String} p_id
DOM ID of container element in which to render the control

createScheduleStartControl(p_id)
Generate the Schedule Start control
Parameters:
{String} p_id
DOM ID of container element in which to render the control

createTransferTargetControl(p_id)
Generate the Transfer Target control
Parameters:
{String} p_id
DOM ID of container element in which to render the control

{boolean} doBeforeAjaxRequest(p_config)
Interceptor just before Ajax request is sent
Parameters:
{object} p_config
Object literal containing request config
Returns:
{boolean} True to continue sending form, False to prevent it

{Boolean} isCreateMode()
Evaluate create mode (rather than edit mode)
Returns:
{Boolean} true for create mode

isScheduleEnabled()
Schedule enabled evaluator

onCancel(type, args)
Cancel button click handler.
Parameters:
{string} type
Event type
{object} args
Event arguments

onDatePickerMandatoryControlValueUpdated(layer, args)
Called when a date has been selected from a date picker.
Will cause the forms validation to run.
Parameters:
layer
args

onFailure(response)
Failure handler
Parameters:
{object} response
The response from the ajax request

onFormControlsLoaded()
Form controls loaded deferred event handler

onReady()
Fired by YUI when parent element is available for scripting.

onRegisterValidationHandler(layer, args)
Register validation handler event handler
Parameters:
{object} layer
Event fired
{array} args
Event parameters (depends on event type)

onScheduleChange(p_event)
Schedule Checkbox onChange event handler
Parameters:
p_event

onSuccess(response)
Success handler
Parameters:
{object} response
The response from the ajax request

Documentation generated by JsDoc Toolkit 2.4.0 on Thu Feb 16 2012 12:24:24 GMT-0000 (GMT)