src/de/uka/ipd/idaho/goldenGateServer/imp/GoldenGateIMP.java
/**
	 * Enqueue batch processing of an Image Markup document. If the argument
	 * batch name is <code>null</code>, the configured default is used. Valid
	 * values for the document style mode are 'R' (require), 'U' (use if
	 * available), 'I' (ignore even if available), and 'B' (use configured mode
	 * of batch with argument name). The mode for the configured default batch
	 * must always be 'R'.
	 * @param docId the ID of the document to process
	 * @param batchName the name of the batch to use
	 * @param docStyleMode the way of handling of document style templates
	 * @param userName the user name to use for document updates
	 * @param priority the priority of the processing (0 is normal)
	 */
Enqueue batch processing of an Image Markup document. If the argument
batch name is null, the configured default is used.
Enqueue batch processing of an Image Markup document . If the argument batch name is null the configured default is used .
public void batchProcessDocument(String docId, String batchName, char docStyleMode, String userName, int priority) {
		if (batchName == null)
			docStyleMode = 'R'; 
		else if (this.getBatchForName(batchName) == null)
			throw new IllegalArgumentException("Batch '" + batchName + "' does not exist.");
		else if ((docStyleMode != 'R') && (docStyleMode != 'U') && (docStyleMode != 'I'))
			docStyleMode = 'B';
		this.scheduleProcessing(docId, batchName, docStyleMode, false, userName, priority);
	}
public void batchProcessDocument ( String docId , String batchName , char docStyleMode , String userName , int priority ) { if ( batchName == null ) docStyleMode = 'R' ; else if ( this . getBatchForName ( batchName ) == null ) throw new IllegalArgumentException ( "Batch '" + batchName + "' does not exist." ) ; else if ( ( docStyleMode != 'R' ) && ( docStyleMode != 'U' ) && ( docStyleMode != 'I' ) ) docStyleMode = 'B' ; this . scheduleProcessing ( docId , batchName , docStyleMode , false , userName , priority ) ; }
Enqueue batch processing of an Image Markup document.
Enqueue batch processing of an Image Markup document .
// always require document style for default batch