Check if the domain object exists for the input Primary Key.
true if the domain object exists for the input Primary Key. throws: FrameworkException - Indicates some system error
Returns the domain object for the input Primary Key.
the domain object for the input Primary Key. A null is returned if the domain object is not found. throws: FrameworkException - Indicates some system error
Returns a Criteria object for retrieving the domain object based on the input Primary Key.
a Criteria object for retrieving the domain object based on the input Primary Key.
This method ensures that the modified foreign-keys are valid.
throws: ApplicationExceptions - if an invalid foreign key is set. throws: FrameworkException - Indicates some system error
This method is triggered by the UOW, before adding this object to the Delete-Store.
This will raise an exception if any associated/aggregated objects exist.
This will cascade delete all composite objects.
throws: PreDeleteFailedException - if any error occurs during the process.
Use this method to update the property description.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: description - New value of property description. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property fieldName.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: fieldName - New value of property fieldName. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property legalValue.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: legalValue - New value of property legalValue. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property remarks.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: remarks - New value of property remarks. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to update the property tableName.
This method will do nothing and simply return if the input value is the same as the current value.
Validation will be performed on the input value.
This will try to lock the underlying database row, in case CAUTIOUS locking is specified at the time of query.
Parameters: tableName - New value of property tableName. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setDescription() method.
Parameters: description - New value of property description. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setFieldName() method.
Parameters: fieldName - New value of property fieldName. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setLegalValue() method.
Parameters: legalValue - New value of property legalValue. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setRemarks() method.
Parameters: remarks - New value of property remarks. throws: ValidationException - if an invalid value is passed. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
This method is present for backwards compatibility only.
It merely invokes the setTableName() method.
Parameters: tableName - New value of property tableName. throws: ValidationException - if an invalid value is passed. throws: UpdatePrimaryKeyException - if this domain object was loaded from the database. throws: ReadOnlyObjectException - if a Read-Only object is updated. throws: AlreadyLockedObjectException - if the underlying database row is already locked by another process. throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property description.
Parameters: description - Value to be validated for the property description. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property fieldName.
Parameters: fieldName - Value to be validated for the property fieldName. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property legalValue.
Parameters: legalValue - Value to be validated for the property legalValue. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property remarks.
Parameters: remarks - Value to be validated for the property remarks. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Use this method to validate a value for the property tableName.
Parameters: tableName - Value to be validated for the property tableName. throws: ValidationException - if an invalid value is passed throws: FrameworkException - Indicates some system error
Methods inherited from org.jaffa.persistence.Persistent