Purpose: Used for updating existing objects into the database. This class does not have much behavior. It inherits most of it's behavior from WriteObjectQuery
| Access | Constructor and Description |
|---|---|
| public | |
| public | UpdateObjectQuery(Object objectToUpdate)
PUBLIC: Create an update query with the object being updated. |
| public |
| UpdateObjectQuery | back to summary |
|---|---|
| public UpdateObjectQuery() PUBLIC: Default constructor. | |
| UpdateObjectQuery | back to summary |
|---|---|
| public UpdateObjectQuery(Object objectToUpdate) PUBLIC: Create an update query with the object being updated. | |
| UpdateObjectQuery | back to summary |
|---|---|
| public UpdateObjectQuery(Call call) PUBLIC: Create an update query with the custom call. | |
| checkForCustomQuery | back to summary |
|---|---|
| protected DatabaseQuery checkForCustomQuery(AbstractSession session, AbstractRecord translationRow) Overrides org. INTERNAL: Check to see if a custom query should be used for this query. This is done before the query is copied and prepared/executed. null means there is none.
| |
| executeCommit | back to summary |
|---|---|
| public void executeCommit() throws DatabaseException, OptimisticLockException Overrides org. INTERNAL: Perform an update.
| |
| executeCommitWithChangeSet | back to summary |
|---|---|
| public void executeCommitWithChangeSet() throws DatabaseException, OptimisticLockException Overrides org. INTERNAL: Perform an update.
| |
| getDefaultRedirector | back to summary |
|---|---|
| protected QueryRedirector getDefaultRedirector() Overrides org. INTERNAL: Returns the specific default redirector for this query type. There are numerous default query redirectors. See ClassDescriptor for their types.
| |
| isUpdateObjectQuery | back to summary |
|---|---|
| public boolean isUpdateObjectQuery() Overrides org. PUBLIC: Return if this is an update object query.
| |
| prepare | back to summary |
|---|---|
| protected void prepare() Overrides org. INTERNAL: Prepare the receiver for execution in a session.
| |
| prepareCustomQuery | back to summary |
|---|---|
| protected void prepareCustomQuery(DatabaseQuery customQuery) Overrides org. INTERNAL: Set the properties needed to be cascaded into the custom query.
| |