| java.lang.Object | |
| ↳ | com.google.gdata.data.batch.BatchUtils |
Utility methods for setting up and using batch feeds and entries.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Declares only the entry extensions in an extension profile.
| |||||||||||
Declares batch feed and entry extensions as well as the
batch namespace in an extension profile.
| |||||||||||
Declares only the feed extensions in an extension profile.
| |||||||||||
Gets the value of the tag
<batch:id>. | |||||||||||
Gets the value of the tag
<batch:interrupted>. | |||||||||||
Gets the batch operation type from the tag
<batch:operation>
in a ExtensionPoint. | |||||||||||
Gets the value of the tag
<batch:status>. | |||||||||||
Checks whether a batch entry is an error report.
| |||||||||||
Checks whether a batch entry is a success report.
| |||||||||||
Sets the value of the tag
<batch:id>. | |||||||||||
Sets the batch operation to execute in a
BaseEntry. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Declares only the entry extensions in an extension profile.
| extProfile |
|---|
Declares batch feed and entry extensions as well as the batch namespace in an extension profile.
| extProfile | ExtensionProfile |
|---|
Declares only the feed extensions in an extension profile.
| extProfile |
|---|
Gets the value of the tag <batch:id>.
| entry |
|---|
Gets the value of the tag <batch:interrupted>.
| extPoint | The extension point to get the interrupted tag from |
|---|
Gets the batch operation type from the tag <batch:operation>
in a ExtensionPoint.
| extPoint | Extension point to get the operation type from |
|---|
Gets the value of the tag <batch:status>.
| extPoint | The extension point to get the status from |
|---|
Checks whether a batch entry is an error report.
This method is a shortcut for checking the code of
the entry's BatchStatus object.
You'll want to call getBatchStatus(ExtensionPoint)
to get the error description and message when this
method returns true.
| extPoint | The extension point to check the status of. |
|---|
| IllegalArgumentException | if the entry does not contain a BatchStatus object. |
|---|
Checks whether a batch entry is a success report.
This method is a shortcut for checking the code of
the entry's BatchStatus object.
| extPoint | The extension point to check the status on. |
|---|
| IllegalArgumentException | if the entry does not contain a BatchStatus object. |
|---|
Sets the value of the tag <batch:id>.
| extPoint | Extension point to put the id on |
|---|---|
| id | The batch id or null to remove it |
Sets the batch operation to execute in a BaseEntry.
| extPoint | Extension point to set the operation type on |
|---|---|
| op | Batch operation type or null to remove it |