author: wseyler author: TODO To change the template for this generated type comment go to Window - author: Preferences - Java - Code Style - Code Templates
Syncronizes the schedule with the Scheduler's trigger for that subscription
getDocument
Document getDocument(String rootName, Element ele)(Code)
Convienence method for creating a new Document with a root of the passed in
'rootName'. If 'ele' is not null, it is added to the Document root.
Parameters: rootName - Name of the root node to create Parameters: ele - element to add to the new root The new Document
Adds the passed in parameters from the HTTP request to the passed in XML
document. The Parameters are added as new Elements to the passed in 'parent'
Element. If 'parent' is null, a new Element is created to be the parent. The
parent is returned to the caller.
Parameters: parent - The element that the new Elements will be added to. If null, a newone will be created Parameters: paramNames - The names of the parameters to pull out of the request.
Element validateCronExpression(String cronExpr)(Code)
Has the scheduler check the validity of the CRON expression. Returns Error XML
if invalid or null if ok.
validateParameters
Element validateParameters(String params, boolean notEmpty, Element ele)(Code)
Verify that the passed in parameterNames exist in the HTTP request. Missing
parameters are added to ele as new parameter error nodes (see
NODE_PARAM_ERRORS, and NODE_PARAM_MISSING) If 'ele' is null, a new Element is
created to contain the error messages. The Element 'ele' is returned to the
caller unchanged if all the parameters pass verification.
Parameters: ele - The element that the new parameter error Elements will be added to.If null, a new one will be created Parameters: paramNames - The names of the parameters to verify in the request. Parameters: notEmpty - if true, the parameter must exist and can not be the empty string ""
Methods inherited from org.pentaho.ui.XmlComponent