public class BaseSDCRules
extends com.labvantage.sapphire.BaseCustom
Modifier and Type | Field and Description |
---|---|
protected com.labvantage.sapphire.services.ConnectionInfo |
connectionInfo |
protected DBAccess |
database |
static java.lang.String |
TYPE_CONFIRM
Confirmation error
|
static java.lang.String |
TYPE_INFORMATION
Information error
|
static java.lang.String |
TYPE_VALIDATION
Validation error
|
Constructor and Description |
---|
BaseSDCRules()
Constructor.
|
BaseSDCRules(com.labvantage.sapphire.services.ConnectionInfo connectionInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
customRulesRequiresAddDataSetPrimary()
Internal method.
|
boolean |
customRulesRequiresAddWorkItemPrimary()
Internal method.
|
boolean |
customRulesRequiresBeforeDataEntryImage()
Internal method.
|
boolean |
customRulesRequiresBeforeDataReleaseImage()
Internal method.
|
boolean |
customRulesRequiresBeforeEditDetailImage()
Internal method.
|
boolean |
customRulesRequiresBeforeEditImage()
Internal method.
|
boolean |
customRulesRequiresBeforeEditSDIAttributeImage()
Internal method.
|
boolean |
customRulesRequiresBeforeEditSDIDataImage()
Internal method.
|
boolean |
customRulesRequiresBeforeEditWorkItemImage()
Internal method.
|
boolean |
customRulesRequiresDataEntryPrimary()
Internal method.
|
boolean |
customRulesRequiresDataReleasePrimary()
Internal method.
|
boolean |
customRulesRequiresEditDetailPrimary()
Internal method.
|
boolean |
customRulesRequiresEditSDIDataPrimary()
Internal method.
|
boolean |
customRulesRequiresEditWorkItemPrimary()
Internal method.
|
void |
endRule()
Tidy-up.
|
SDIData |
getBeforeEditImage()
Get a handle to the SDI data containing the primary dataset of the database image prior to the update
|
com.labvantage.sapphire.services.ConnectionInfo |
getConnectionInfo()
Get details about the current connection.
|
BaseSDCRules[] |
getCustomRuleList() |
java.lang.String |
getDatabaseid()
Internal method.
|
java.lang.String |
getEvent()
Internal method.
|
static BaseSDCRules |
getInstance(com.labvantage.sapphire.services.SapphireConnection sapphireConnection,
ErrorHandler errorHandler,
java.lang.String sdcid,
PropertyList sdcProps,
java.lang.String event)
Internal method.
|
java.util.Calendar |
getOldPrimaryCalendar(DataSet newPrimary,
int primaryRow,
java.lang.String columnId)
For a given row and column in the current primary dataset, return the corresponding Calendar value in the original data
|
java.lang.String |
getOldPrimaryValue(DataSet newPrimary,
int primaryRow,
java.lang.String columnId)
For a given row and column in the current primary dataset, return the corresponding value in the original data
|
java.lang.String |
getOldSDIAttributeValue(DataSet newAttribute,
int row,
java.lang.String columnId)
For a given row and column in the current dataset, return the corresponding value in the original data
|
java.lang.String |
getOldSDIDataValue(DataSet newSDIData,
int row,
java.lang.String columnId)
For a given row and column in the current sdidata dataset, return the corresponding value in the original sdidata data
|
java.lang.String |
getOldSDIWorkItemValue(DataSet newSDIWI,
int row,
java.lang.String columnId)
For a given row and column in the current sdiworkitem dataset, return the corresponding value in the original sdiworkitem data
|
java.lang.String |
getSdcid()
Utility method to get the SDC (also available from the actionProps paramater)
|
PropertyList |
getSdcProps()
Utility method to get detailed information about the SDC.
|
SDIView |
getSDIView(SDIData sdiData)
Override this method to add a view of the data
|
boolean |
hasErrors()
Check for errors.
|
boolean |
hasPrimaryValueChanged(DataSet newPrimary,
int primaryRow,
java.lang.String columnId)
Utility method to determine whether a column value has changed as a result of the action processing.
|
boolean |
hasSDIAttributeValueChanged(DataSet newAttribute,
int row,
java.lang.String columnId)
Utility method to determine whether a column value has changed as a result of the action processing.
|
boolean |
hasSDIDataValueChanged(DataSet newSDIData,
int row,
java.lang.String columnId)
Utility method to determine whether a column value has changed as a result of the action processing.
|
boolean |
hasSDIWorkItemValueChanged(DataSet newSDIWI,
int row,
java.lang.String columnId)
Utility method to determine whether a column value has changed as a result of the action processing.
|
protected void |
logTrace(java.lang.String message)
Deprecated.
As of version 5.0 replaced by Logger API
|
void |
postAdd(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database inserts in the AddSDI action
|
void |
postAddAttribute(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database inserts in the AddSDIAttribute action
|
void |
postAddDataSet(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database inserts in the AddDataSet action
|
void |
postAddDetail(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database inserts in the AddSDIDetail action
|
void |
postAddKey(DataSet primary,
PropertyList actionProps)
Override this method to add business logic to override or create keyids in the AddSDI action
|
void |
postAddNote(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the AddSDINote action
|
void |
postAddWorkitem(SDIData sdiData,
PropertyList actionProps)
Deprecated.
Use postAddWorkItem (note the camelcase on WorkItem)
|
void |
postAddWorkItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDIWorkitem action
|
void |
postApprove(DataSet approve)
Override this method to add business logic AFTER the database performs approval action
|
void |
postDataEntry(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EnterDataItem action
|
void |
postDelete(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic AFTER the database deletes in the DeleteSDI action
|
void |
postDeleteAttribute(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic AFTER the database deletes in the DeleteSDIAttribute action
|
void |
postDeleteDetail(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic AFTER the database deletes in the DeleteSDIDetail action
|
void |
postEdit(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDI action
|
void |
postEditAttribute(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDIAttribute action
|
void |
postEditDetail(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDIDetail action
|
void |
postEditNote(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDINote action
|
void |
postEditSDIData(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditDataSet action
|
void |
postEditSDIDataApproval(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditDataApproval action
|
void |
postEditSDIDataItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditDataItem action
|
void |
postEditWorkitem(SDIData sdiData,
PropertyList actionProps)
Deprecated.
Use postEditWorkItem (note the camelcase on WorkItem)
|
void |
postEditWorkItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the EditSDIWorkitem action
|
void |
postReleaseData(DataSet releaseData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the ReleaseDataItem and UnreleaseDataItem action
|
void |
preAdd(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database inserts in the AddSDI action
|
void |
preAddAttribute(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database inserts in the AddSDIAttribute action
|
void |
preAddDataSet(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database inserts in the AddDataSet action
|
void |
preAddDetail(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database inserts in the AddSDIDetail action
|
void |
preAddNote(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the AddSDINote action
|
void |
preAddWorkItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database inserts in the AddSDIWorkItem action
|
void |
preApprove(DataSet approve)
Override this method to add business logic BEFORE the database performs approval action
|
void |
preDelete(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic BEFORE the database deletes in the DeleteSDI action
|
void |
preDeleteAttribute(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic BEFORE the database deletes in the DeleteSDIAttribute action
|
void |
preDeleteDetail(java.lang.String rsetid,
PropertyList actionProps)
Override this method to add business logic BEFORE the database deletes in the DeleteSDIDetail action
|
void |
preEdit(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditSDI action
|
void |
preEditAttribute(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditSDIAttribute action
|
void |
preEditDetail(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditSDIDetail action
|
void |
preEditNote(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditSDINote action
|
void |
preEditSDIData(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditDataSet action
|
void |
preEditSDIDataApproval(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditDataApproval action
|
void |
preEditSDIDataItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditDataItem action
|
void |
preEditWorkitem(SDIData sdiData,
PropertyList actionProps)
Deprecated.
Use preEditWorkItem (note the camelcase on WorkItem)
|
void |
preEditWorkItem(SDIData sdiData,
PropertyList actionProps)
Override this method to add business logic BEFORE the database updates in the EditSDIWorkitem action
|
void |
preReleaseData(DataSet releaseData,
PropertyList actionProps)
Override this method to add business logic AFTER the database updates in the ReleaseDataItem and UnreleaseDataItem action
|
boolean |
requiresAddDataSetPrimary()
Override this method for AddDataSet implementations to return 'true'.
|
boolean |
requiresAddWorkItemPrimary()
Override this method for AddSDIWorkItem implementations to return 'true'.
|
boolean |
requiresBeforeDataEntryImage()
Override this method for DataEntry implementations (postDataEntry) to return 'true'.
|
boolean |
requiresBeforeDataReleaseImage()
Override this method for DataRelease implementations (preReleaseData, postReleaseData) to return 'true'.
|
boolean |
requiresBeforeEditDetailImage()
Override this method for EditSDIDetail implementations (preEditDetail, postEditDetail) to return 'true'.
|
boolean |
requiresBeforeEditImage()
Override this method for EditSDI implementations (preEdit, postEdit) to return 'true'.
|
boolean |
requiresBeforeEditSDIAttributeImage()
Override this method for SDIAttribute implementations (preEditSDIAttribute etc.) to return 'true'.
|
boolean |
requiresBeforeEditSDIDataImage()
Override this method for SDIDataItem, SDIData and SDDataApproval implementations (preEditSDIDataItem, preEditSDIData, preEditSDIDataApproval etc.) to return 'true'.
|
boolean |
requiresBeforeEditWorkItemImage()
Override this method for SDIWorkItem implementations (preEditSDIWorkItem) to return 'true'.
|
boolean |
requiresDataEntryPrimary()
Override this method for DataEntry implementations (preDataEntry, postDataEntry) to return 'true'.
|
boolean |
requiresDataReleasePrimary()
Override this method for DataRelease implementations (preReleaseData, postReleaseData) to return 'true'.
|
boolean |
requiresEditDetailPrimary()
Override this method for EditSDIDetail implementations (preEditDetail, postEditDetail) to return 'true'.
|
boolean |
requiresEditSDIDataPrimary()
Override this method for SDIDataItem, SDIData and SDDataApproval implementations (preEditSDIDataItem, preEditSDIData, preEditSDIDataApproval etc.) to return 'true'.
|
boolean |
requiresEditWorkItemPrimary()
Override this method for EditSDIWorkItem implementations to return 'true'.
|
void |
setBeforeEditImage(SDIData beforeEditImage)
Internal method.
|
void |
setConnectionInfo(com.labvantage.sapphire.services.ConnectionInfo connectionInfo)
Internal method.
|
void |
setCustomRules(BaseSDCRules[] customRules)
Internal method.
|
void |
setError(java.lang.String ruleid,
java.lang.String errorType,
java.lang.String message)
This method will put an error record in the action error handler.
|
void |
setErrors(ErrorHandler errorHandler)
Internal method.
|
void |
setEvent(java.lang.String event)
Internal method.
|
void |
setSdcid(java.lang.String sdcid)
Internal method.
|
void |
setSDCProps(PropertyList sdc)
Internal method.
|
void |
setWarning(java.lang.String ruleid,
java.lang.String message)
This method will put a Warning or information record in the action error handler.
|
void |
throwError(java.lang.String ruleid,
java.lang.String errorType,
java.lang.String message)
This method will put an error record in the action error handler and then throw a sapphire exception to leave the rule and force the action to fail.
|
getAccessorErrorIds, getAccessorErrorMsgs, getActionProcessor, getConfigurationProcessor, getConnectionid, getConnectionId, getConnectionProcessor, getDAMProcessor, getDepartmentList, getHttpProcessor, getQueryProcessor, getRakFile, getSDCProcessor, getSDIProcessor, getSequenceProcessor, getTranslationProcessor, setConnectionId, setLanguage, setRakFile
protected DBAccess database
protected com.labvantage.sapphire.services.ConnectionInfo connectionInfo
public static final java.lang.String TYPE_CONFIRM
public static final java.lang.String TYPE_VALIDATION
public static final java.lang.String TYPE_INFORMATION
public BaseSDCRules()
public BaseSDCRules(com.labvantage.sapphire.services.ConnectionInfo connectionInfo)
public static BaseSDCRules getInstance(com.labvantage.sapphire.services.SapphireConnection sapphireConnection, ErrorHandler errorHandler, java.lang.String sdcid, PropertyList sdcProps, java.lang.String event) throws SapphireException
SapphireException
public void endRule() throws SapphireException
SapphireException
public boolean hasErrors()
public boolean requiresBeforeEditImage()
public boolean requiresBeforeEditDetailImage()
public boolean requiresBeforeEditSDIDataImage()
public boolean requiresBeforeEditWorkItemImage()
public boolean requiresBeforeEditSDIAttributeImage()
public boolean requiresBeforeDataEntryImage()
public boolean requiresBeforeDataReleaseImage()
public boolean requiresEditDetailPrimary()
public boolean requiresDataEntryPrimary()
public boolean requiresEditSDIDataPrimary()
public boolean requiresAddDataSetPrimary()
public boolean requiresAddWorkItemPrimary()
public boolean requiresEditWorkItemPrimary()
public boolean requiresDataReleasePrimary()
public boolean customRulesRequiresBeforeEditImage()
public boolean customRulesRequiresEditDetailPrimary()
public boolean customRulesRequiresBeforeEditDetailImage()
public boolean customRulesRequiresBeforeEditSDIAttributeImage()
public boolean customRulesRequiresAddDataSetPrimary()
public boolean customRulesRequiresDataReleasePrimary()
public boolean customRulesRequiresBeforeDataReleaseImage()
public boolean customRulesRequiresEditSDIDataPrimary()
public boolean customRulesRequiresBeforeEditSDIDataImage()
public boolean customRulesRequiresDataEntryPrimary()
public boolean customRulesRequiresBeforeDataEntryImage()
public boolean customRulesRequiresAddWorkItemPrimary()
public boolean customRulesRequiresEditWorkItemPrimary()
public boolean customRulesRequiresBeforeEditWorkItemImage()
public void setBeforeEditImage(SDIData beforeEditImage)
public SDIData getBeforeEditImage()
public boolean hasPrimaryValueChanged(DataSet newPrimary, int primaryRow, java.lang.String columnId)
newPrimary
- The (possibly) modified primary datasetprimaryRow
- The row to checkcolumnId
- The column to check.public java.lang.String getOldPrimaryValue(DataSet newPrimary, int primaryRow, java.lang.String columnId)
newPrimary
- The (possibly) modified primary datasetprimaryRow
- The row to checkcolumnId
- The column to check.public java.util.Calendar getOldPrimaryCalendar(DataSet newPrimary, int primaryRow, java.lang.String columnId)
newPrimary
- The (possibly) modified primary datasetprimaryRow
- The row to checkcolumnId
- The column to check (this must be a Date column).public boolean hasSDIWorkItemValueChanged(DataSet newSDIWI, int row, java.lang.String columnId)
newSDIWI
- The (possibly) modified sdiwi datasetrow
- The row to checkcolumnId
- The column to check.public java.lang.String getOldSDIWorkItemValue(DataSet newSDIWI, int row, java.lang.String columnId)
newSDIWI
- The (possibly) modified sdiwi datasetrow
- The row to checkcolumnId
- The column to check.public boolean hasSDIDataValueChanged(DataSet newSDIData, int row, java.lang.String columnId)
newSDIData
- The (possibly) modified sdidata datasetrow
- The row to checkcolumnId
- The column to check.public java.lang.String getOldSDIDataValue(DataSet newSDIData, int row, java.lang.String columnId)
newSDIData
- The (possibly) modified sdidata datasetrow
- The row to checkcolumnId
- The column to check.public boolean hasSDIAttributeValueChanged(DataSet newAttribute, int row, java.lang.String columnId)
newAttribute
- The (possibly) modified attribute datasetrow
- The row to checkcolumnId
- The column to check.public java.lang.String getOldSDIAttributeValue(DataSet newAttribute, int row, java.lang.String columnId)
newAttribute
- The (possibly) modified sdidata datasetrow
- The row to checkcolumnId
- The column to check.public java.lang.String getEvent()
public void setEvent(java.lang.String event)
public java.lang.String getSdcid()
public com.labvantage.sapphire.services.ConnectionInfo getConnectionInfo()
public void setConnectionInfo(com.labvantage.sapphire.services.ConnectionInfo connectionInfo)
public void setSdcid(java.lang.String sdcid)
public PropertyList getSdcProps()
public void setSDCProps(PropertyList sdc)
public java.lang.String getDatabaseid()
public BaseSDCRules[] getCustomRuleList()
public void setCustomRules(BaseSDCRules[] customRules)
public void setWarning(java.lang.String ruleid, java.lang.String message)
ruleid
- an identified you would like to associate with the errormessage
- the warning or information messagepublic void setError(java.lang.String ruleid, java.lang.String errorType, java.lang.String message)
ruleid
- an identified you would like to associate with the errorerrorType
- the errorType you would like to set (see the parameters for this class for supported types.message
- the error messagepublic void setErrors(ErrorHandler errorHandler)
public void throwError(java.lang.String ruleid, java.lang.String errorType, java.lang.String message) throws SapphireException
ruleid
- an identified you would like to associate with the errorerrorType
- the errorType you would like to set (see the parameters for this class for supported types.message
- the error messageSapphireException
protected void logTrace(java.lang.String message)
message
- the message to put into the filepublic void preAdd(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAdd(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddKey(DataSet primary, PropertyList actionProps)
primary
- Dataset holding the soon-to-be-created SDIs. You may at this point modify the primary keys and these changes will be cascaded down to the detail tables.actionProps
- original properties passed into the actionpublic void preEdit(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEdit(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preDelete(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postDelete(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preApprove(DataSet approve) throws SapphireException
approve
- dataset containing the approvaltypes to be updatedSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postApprove(DataSet approve) throws SapphireException
approve
- dataset containing the approvaltypes that have been updatedSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preAddDetail(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddDetail(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditDetail(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditDetail(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preDeleteDetail(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postDeleteDetail(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postDataEntry(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditSDIDataItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditSDIData(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditSDIDataApproval(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditSDIDataItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditSDIData(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditSDIDataApproval(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preReleaseData(DataSet releaseData, PropertyList actionProps) throws SapphireException
releaseData
- dataset containing the dataitems to be released (and the release/unrelease flag)actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postReleaseData(DataSet releaseData, PropertyList actionProps) throws SapphireException
releaseData
- dataset containing the dataitems to be released (and the release/unrelease flag)actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preAddDataSet(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddDataSet(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preAddWorkItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddWorkitem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddWorkItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditWorkitem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditWorkItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditWorkitem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditWorkItem(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preAddAttribute(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddAttribute(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditAttribute(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditAttribute(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preDeleteAttribute(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postDeleteAttribute(java.lang.String rsetid, PropertyList actionProps) throws SapphireException
rsetid
- identified for the rset containing the list of items to be deleted. The list may also be available from the actionProps.actionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preAddNote(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void preEditNote(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postAddNote(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.public void postEditNote(SDIData sdiData, PropertyList actionProps) throws SapphireException
sdiData
- holder class representing all data to be insertedactionProps
- original properties passed into the actionSapphireException
- throw this exception if you want the action to fail. You can use the throwsError method to achieve this.