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.
Returns a related Part object.
a related Part object. throws: ValidationException - if an invalid foreign key is set. throws: FrameworkException - Indicates some system error
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 part.
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: part - New value of property part. 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
This method is present for backwards compatibility only.
It merely invokes the setPart() method.
Parameters: part - New value of property part. 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
Use this method to validate a value for the property part.
Parameters: part - Value to be validated for the property part. 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
Methods inherited from org.jaffa.persistence.Persistent