public abstract class PostProcess
extends com.technia.tvc.structurebrowser.form.process.FormProcess
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
METHOD_NAME_PERFORM |
| Constructor and Description |
|---|
PostProcess() |
| Modifier and Type | Method and Description |
|---|---|
static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog |
perform(Form fc,
FormComponent field) |
abstract com.technia.tvc.structurebrowser.form.process.ProcessResultsLog |
perform(Form fc,
FormComponent field,
java.util.List<java.lang.String> parentObjectIds)
Used to perform post processing on a form, or a field.
|
static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog |
perform(Form fc,
java.lang.String processorClass) |
static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog |
perform(Form fc,
java.lang.String processorClass,
FormComponent field)
This method is takes care of executing the specified postprocess class.
|
static void |
performConnect(Form fc,
com.technia.tvc.structurebrowser.form.model.ConnectField connectField,
java.util.List<java.lang.String> parentObjectIds)
This method is used by
connect fields to perform
connections between objects as a postprocess on forms. |
protected static void |
performConnect(Form fc,
com.technia.tvc.structurebrowser.form.model.ConnectField connectField,
java.util.List<java.lang.String> parentObjectIds,
PostProcess childConnectProcess)
This method is used by
connect fields to perform
connections between objects as a postprocess on forms. |
protected static void |
performConnect(Form fc,
com.technia.tvc.structurebrowser.form.model.ConnectField connectField,
java.util.List<java.lang.String> parentObjectIds,
PostProcess childConnectProcess,
java.lang.String masterId,
com.technia.tvc.structurebrowser.form.model.RelationshipDesignation relPattern)
This method is used by
connect fields to perform
connections between objects as a postprocess on forms. |
public static final java.lang.String METHOD_NAME_PERFORM
public static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog perform(Form fc, FormComponent field)
public static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog perform(Form fc, java.lang.String processorClass)
public static com.technia.tvc.structurebrowser.form.process.ProcessResultsLog perform(Form fc, java.lang.String processorClass, FormComponent field)
public static void performConnect(Form fc, com.technia.tvc.structurebrowser.form.model.ConnectField connectField, java.util.List<java.lang.String> parentObjectIds) throws matrix.util.MatrixException, TVCException, com.technia.tvc.structurebrowser.form.exception.FormException
connect fields to perform
connections between objects as a postprocess on forms. Typically only
used by connect fields.fc - The formconnectField - An instance of a connect fieldparentObjectIds - A list of strings representing object ids. These
id's are the objects that have been created or modified as a
result of the form.matrix.util.MatrixExceptionTVCExceptioncom.technia.tvc.structurebrowser.form.exception.FormExceptionprotected static void performConnect(Form fc, com.technia.tvc.structurebrowser.form.model.ConnectField connectField, java.util.List<java.lang.String> parentObjectIds, PostProcess childConnectProcess) throws matrix.util.MatrixException, TVCException, com.technia.tvc.structurebrowser.form.exception.FormException
connect fields to perform
connections between objects as a postprocess on forms. Typically only
used by connect fields.fc - The formconnectField - An instance of a connect fieldparentObjectIds - A list of strings representing object ids. These
id's are the objects that have been created or modified as a
result of the form.childConnectProcess - A post process to call
after this one.matrix.util.MatrixExceptionTVCExceptioncom.technia.tvc.structurebrowser.form.exception.FormExceptionprotected static void performConnect(Form fc, com.technia.tvc.structurebrowser.form.model.ConnectField connectField, java.util.List<java.lang.String> parentObjectIds, PostProcess childConnectProcess, java.lang.String masterId, com.technia.tvc.structurebrowser.form.model.RelationshipDesignation relPattern) throws matrix.util.MatrixException, TVCException, com.technia.tvc.structurebrowser.form.exception.FormException
connect fields to perform
connections between objects as a postprocess on forms. Typically only
used by connect fields.fc - The formconnectField - An instance of a connect fieldparentObjectIds - A list of strings representing object ids. These
id's are the objects that have been created or modified as a
result of the form.childConnectProcess - A post process to call
after this one.masterId - relPattern - matrix.util.MatrixExceptionTVCExceptioncom.technia.tvc.structurebrowser.form.exception.FormExceptionpublic abstract com.technia.tvc.structurebrowser.form.process.ProcessResultsLog perform(Form fc, FormComponent field, java.util.List<java.lang.String> parentObjectIds) throws java.lang.Exception
fc - The formfield - The instance of a field. Null if post
process applies to the form.parentObjectIds - A list of object ids containing the resulting
objects of the form (If it's a create form, this will contain the
created objects, if it's an edit form, the modified object)ProcessResultsLog if
needed, but it's not necessary. This is only needed if the post
process logic needs to be reflected in a table, for instance
objects to be added to a structurejava.lang.ExceptionCopyright ? Technia AB. All Rights Reserved.