12.07.2015 Views

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

Database.com Metadata API Developer's Guide - Salesforce.com

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 8Utility CallsUse the following utility calls to gather information that is useful for working with the file-based or CRUD-based calls.• checkStatus()• describe<strong>Metadata</strong>()• list<strong>Metadata</strong>()checkStatus()Checks the status of asynchronous metadata calls create(), update(), or delete(), or the declarative metadata callretrieve().Note: In <strong>API</strong> version 29.0, <strong>Database</strong>.<strong>com</strong> improved the deployment status properties and removed the requirementto use checkStatus() after a deploy() call to get information about deployments. <strong>Database</strong>.<strong>com</strong> continues tosupport the use of checkStatus() when using deploy() with <strong>API</strong> version 28.0 or earlier. For more information,see deploy() on page 25.SyntaxAsyncResult[] = metadatabinding.checkStatus(ID[] ids);UsageUse this call to check whether or not an asynchronous metadata call or declarative metadata call has <strong>com</strong>pleted.Sample Code—JavaSee Step 3: Walk Through the Java Sample Code on page 7 for sample Java code using this call.ArgumentsNameidsTypeID[]DescriptionArray of one or more IDs. Each ID is returned in an AsyncResult and corresponds to a<strong>com</strong>ponent being created, updated, deleted, deployed, or retrieved.ResponseAsyncResult[]55

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!