/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link IEntry}. * * @param entry the entry to get the operation type from * @return the operation to execute or null if it's not set */ public static BatchOperationType getBatchOperationType(IEntry entry) { if (entry instanceof Element) { return getBatchOperationType((Element) entry); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) entry); } }
/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link BaseFeed}. * * @return the operation to execute or null if it's not set * @param feed */ public static BatchOperationType getBatchOperationType(IFeed feed) { if (feed instanceof Element) { return getBatchOperationType((Element) feed); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) feed); } }
/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link BaseFeed}. * * @return the operation to execute or null if it's not set * @param feed */ public static BatchOperationType getBatchOperationType(IFeed feed) { if (feed instanceof Element) { return getBatchOperationType((Element) feed); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) feed); } }
/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link IEntry}. * * @param entry the entry to get the operation type from * @return the operation to execute or null if it's not set */ public static BatchOperationType getBatchOperationType(IEntry entry) { if (entry instanceof Element) { return getBatchOperationType((Element) entry); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) entry); } }
/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link BaseFeed}. * * @return the operation to execute or null if it's not set * @param feed */ public static BatchOperationType getBatchOperationType(IFeed feed) { if (feed instanceof Element) { return getBatchOperationType((Element) feed); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) feed); } }
/** * Gets the batch operation type from the tag {@code <batch:operation>} * in a {@link IEntry}. * * @param entry the entry to get the operation type from * @return the operation to execute or null if it's not set */ public static BatchOperationType getBatchOperationType(IEntry entry) { if (entry instanceof Element) { return getBatchOperationType((Element) entry); } else { return com.google.gdata.data.batch.BatchUtils.getBatchOperationType( (ExtensionPoint) entry); } }