| Modifier and Type | Method and Description |
|---|---|
void |
ServiceErrors.addErrors(ServiceException e)
Extracts errors from a
ServiceException. |
| Modifier and Type | Method and Description |
|---|---|
<F extends IFeed> |
GoogleBaseService.batch(URL url,
F f) |
GoogleBaseEntry |
GoogleBaseService.getEntry(URL entryUrl)
Returns an Google Base entry instance, given the URL of the entry.
|
GoogleBaseEntry |
GoogleBaseService.getEntry(URL entryUrl,
DateTime ifModifiedSince)
Returns an Google Base entry instance, given the URL of the entry and an
if-modified-since date.
|
GoogleBaseFeed |
GoogleBaseService.getFeed(URL feedUrl)
Returns the Google base feed associated with a particular feed URL.
|
GoogleBaseFeed |
GoogleBaseService.getFeed(URL feedUrl,
DateTime ifModifiedSince)
Returns the Google Base feed associated with a particular feed URL, if
it's been modified since the specified date.
|
GoogleBaseMediaEntry |
GoogleBaseService.getMediaEntry(URL entryUrl)
Returns the media entry referenced by the entryUrl.
|
GoogleBaseMediaEntry |
GoogleBaseService.getMediaEntry(URL entryUrl,
DateTime ifModifiedSince)
Returns the media entry referenced by the entryUrl, if it's been modified
since the specified date.
|
GoogleBaseMediaFeed |
GoogleBaseService.getMediaFeed(URL feedUrl)
Returns the Google base media feed associated with the specified feed URL.
|
GoogleBaseMediaFeed |
GoogleBaseService.getMediaFeed(URL feedUrl,
DateTime ifModifiedSince)
Returns the Google Base media feed associated with a particular feed URL,
if it's been modified since the specified date.
|
<E extends IEntry> |
GoogleBaseService.insert(URL url,
E e) |
GoogleBaseFeed |
GoogleBaseService.query(Query query)
Executes a GData query against the target service and returns the
Feed containing entries that match the
query result. |
GoogleBaseFeed |
GoogleBaseService.query(Query query,
DateTime ifModifiedSince)
Executes a GData query against the target service and returns the
GoogleBaseFeed containing entries that match the query result, if
it's been modified since the specified date. |
<E extends IEntry> |
GoogleBaseService.update(URL url,
E e) |
| Constructor and Description |
|---|
ServiceErrors(ServiceException e)
Creates a ServiceErrors object corresponding
to the errors contained in a
ServiceException. |
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleService.AccountDeletedException
Authentication failed, account has been deleted.
|
static class |
GoogleService.AccountDisabledException
Authentication failed, account has been disabled.
|
static class |
GoogleService.CaptchaRequiredException
Authentication failed, CAPTCHA requires answering.
|
static class |
GoogleService.InvalidCredentialsException
Authentication failed, invalid credentials presented to server.
|
static class |
GoogleService.NotVerifiedException
Authentication failed, account has not been verified.
|
static class |
GoogleService.ServiceUnavailableException
Authentication failed, authentication service not available.
|
static class |
GoogleService.SessionExpiredException
Authentication failed, the token's session has expired.
|
static class |
GoogleService.TermsNotAgreedException
Authentication failed, user did not agree to the terms of service.
|
| Modifier and Type | Method and Description |
|---|---|
<F extends IFeed> |
Service.batch(URL feedUrl,
F inputFeed)
Executes several operations (insert, update or delete) on the entries that
are part of the input
IFeed. |
<F extends IFeed> |
GoogleService.batch(URL feedUrl,
F inputFeed)
Executes several operations (insert, update or delete) on the entries that
are part of the input
IFeed. |
Service.GDataRequest |
Service.createBatchRequest(URL feedUrl)
Creates a new GDataRequest that can be used to execute several
insert/update/delete operations in one request by writing a feed into the
request stream to read a feed containing the result of the batch operations
from the response stream.
|
Service.GDataRequest |
Service.createDeleteRequest(URL entryUrl)
Creates a new GDataRequest that can be used to delete an Atom entry.
|
Service.GDataRequest |
Service.createEntryRequest(URL entryUrl)
Returns a GDataRequest instance that can be used to access an entry's
contents as a stream, given the URL of the entry.
|
Service.GDataRequest |
Service.createFeedRequest(Query query)
Executes a GData query request against the target service and returns the
resulting feed results via an input stream.
|
Service.GDataRequest |
Service.createFeedRequest(URL feedUrl)
Executes a GData feed request against the target service and returns the
resulting feed results via an input stream.
|
Service.GDataRequest |
Service.createInsertRequest(URL feedUrl)
Creates a new GDataRequest that can be used to insert a new entry into a
feed using the request stream and to read the resulting entry content from
the response stream.
|
Service.GDataRequest |
Service.createLinkQueryRequest(ILink link)
Returns a query (GET) request that targets the provided link.
|
Service.GDataRequest |
Service.createPatchRequest(URL entryUrl)
Creates a new GDataRequest that can be used to update an existing Atom
entry.
|
protected Service.GDataRequest |
Service.createRequest(Query query,
ContentType inputType)
Creates a new GDataRequest for querying the service.
|
protected Service.GDataRequest |
GoogleService.createRequest(Query query,
ContentType contentType) |
Service.GDataRequest |
Service.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType inputType)
Creates a new GDataRequest for use by the service.
|
Service.GDataRequest |
GoogleService.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
Service.GDataRequest |
Service.createUpdateRequest(URL entryUrl)
Creates a new GDataRequest that can be used to update an existing Atom
entry.
|
void |
Service.delete(URI resourceUri)
Deletes an existing entry (and associated media content, if any) using the
specified edit URI.
|
void |
Service.delete(URI resourceUri,
String etag)
Deletes an existing entry (and associated media content, if any) using the
specified edit URI.
|
void |
Service.delete(URL resourceUrl)
Deletes an existing entry (and associated media content, if any) using the
specified edit URL.
|
void |
GoogleService.delete(URL entryUrl) |
void |
Service.delete(URL resourceUrl,
String etag)
Deletes an existing entry (and associated media content, if any) using the
specified edit URL.
|
void |
GoogleService.delete(URL entryUrl,
String etag) |
void |
Service.GDataRequest.execute()
Executes the GData service request.
|
<E extends IEntry> |
Service.getEntry(URL entryUrl,
Class<E> entryClass)
Returns an Atom entry instance, given the URL of the entry.
|
<E extends IEntry> |
Service.getEntry(URL entryUrl,
Class<E> entryClass,
DateTime ifModifiedSince)
Returns an Atom entry instance, given the URL of the entry and an
if-modified-since date.
|
<E extends IEntry> |
GoogleService.getEntry(URL entryUrl,
Class<E> entryClass,
DateTime ifModifiedSince) |
<E extends IEntry> |
Service.getEntry(URL entryUrl,
Class<E> entryClass,
String etag)
Returns an Atom entry instance given the URL of the entry, if its current
entity tag is different than the provided value.
|
<E extends IEntry> |
GoogleService.getEntry(URL entryUrl,
Class<E> entryClass,
String etag) |
<F extends IFeed> |
Service.getFeed(Query query,
Class<F> feedClass)
Returns the feed resulting from execution of a query.
|
<F extends IFeed> |
Service.getFeed(Query query,
Class<F> feedClass,
DateTime ifModifiedSince)
Returns the Feed resulting from executing a query, if it's been modified
since the specified date.
|
<F extends IFeed> |
GoogleService.getFeed(Query query,
Class<F> feedClass,
DateTime ifModifiedSince) |
<F extends IFeed> |
Service.getFeed(Query query,
Class<F> feedClass,
String etag)
Returns the Feed resulting from query execution, if if the entity tag
associated with it has changed.
|
<F extends IFeed> |
GoogleService.getFeed(Query query,
Class<F> feedClass,
String etag) |
<F extends IFeed> |
Service.getFeed(URL feedUrl,
Class<F> feedClass)
Returns the Feed associated with a particular feed URL.
|
<F extends IFeed> |
Service.getFeed(URL feedUrl,
Class<F> feedClass,
DateTime ifModifiedSince)
Returns the Feed associated with a particular feed URL, if it's been
modified since the specified date.
|
<F extends IFeed> |
GoogleService.getFeed(URL feedUrl,
Class<F> feedClass,
DateTime ifModifiedSince) |
<F extends IFeed> |
Service.getFeed(URL feedUrl,
Class<F> feedClass,
String etag)
Returns the Feed associated with a particular feed URL if the entity tag
associated with it has changed.
|
<F extends IFeed> |
GoogleService.getFeed(URL feedUrl,
Class<F> feedClass,
String etag) |
ParseSource |
Service.GDataRequest.getParseSource()
Returns a parse source that can be used to read response data from the
GData service.
|
Service.GDataRequest |
Service.GDataRequestFactory.getRequest(Query query,
ContentType contentType)
Creates a new GDataRequest instance for querying a service.
|
Service.GDataRequest |
Service.GDataRequestFactory.getRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType)
Creates a new GDataRequest instance of the specified RequestType.
|
ContentType |
Service.GDataRequest.getResponseContentType()
Returns the content type of the GData response.
|
InputStream |
Service.getStreamFromLink(ILink link)
Deprecated.
Use
Service.createLinkQueryRequest(ILink) instead. |
protected URL |
GoogleService.handleRedirectException(RedirectRequiredException redirect)
Handles a redirect exception by generating the new URL to use for the
redirect.
|
protected void |
GoogleService.handleSessionExpiredException(GoogleService.SessionExpiredException e)
Delegates session expired exception to
AuthTokenFactory. |
<E extends IEntry> |
Service.insert(URL feedUrl,
E entry)
Inserts a new
IEntry into a feed associated
with the target service. |
<E extends IEntry> |
GoogleService.insert(URL feedUrl,
E entry) |
<S extends IServiceDocument> |
Service.introspect(URL feedUrl,
Class<S> serviceClass)
Returns the Atom introspection Service Document associated with a
particular feed URL.
|
protected <E> E |
Service.parseResponseData(ParseSource source,
ContentType responseType,
Class<E> resultType)
Parses the response stream for a request based upon response content type
and an expected result type.
|
<E> E |
Service.parseResponseData(Service.GDataRequest req,
Class<E> resultType)
Parses the response stream for a request based upon request properties and
an expected result type.
|
<E extends IEntry> |
Service.patch(URL entryUrl,
String fields,
E entry)
Patches an existing
IEntry by removing a set of selected fields and
then merging a partial entry representation into the resource at the
specified entry edit URL. |
<E extends IEntry> |
Service.patch(URL entryUrl,
String fields,
E entry,
String etag)
Patches an existing
IEntry by removing a set of selected fields and
then merging a partial entry representation into the resource at the
specified entry edit URL. |
<F extends IFeed> |
Service.query(Query query,
Class<F> feedClass)
Executes a GData query against the target service and returns the
IFeed containing entries that match the query result. |
<F extends IFeed> |
Service.query(Query query,
Class<F> feedClass,
DateTime ifModifiedSince)
Executes a GData query against the target service and returns the
IFeed containing entries that match the query result, if it's been
modified since the specified date. |
<F extends IFeed> |
Service.query(Query query,
Class<F> feedClass,
String etag)
Executes a GData query against the target service and returns the
IFeed containing entries that match the query result if the etag
for the target feed does not match the provided value. |
<E extends IEntry> |
Service.update(URL entryUrl,
E entry)
Updates an existing
IEntry by writing it to
the specified entry edit URL. |
<E extends IEntry> |
GoogleService.update(URL entryUrl,
E entry) |
<E extends IEntry> |
Service.update(URL entryUrl,
E entry,
String etag)
Updates an existing
IEntry by writing it to the specified entry
edit URL. |
| Constructor and Description |
|---|
Service.ClientInputProperties(ContentType inputType,
Class<?> expectType) |
Service.ClientInputProperties(Service.GDataRequest req,
Class<?> expectType) |
| Modifier and Type | Method and Description |
|---|---|
GenericEntry |
AppsGroupsService.addMemberToGroup(String groupId,
String memberName)
Adds a new member to the group.
|
GenericEntry |
AppsGroupsService.addOwnerToGroup(String groupId,
String ownerName)
Adds a new member as owner to the group.
|
GenericEntry |
AppsGroupsService.createGroup(String groupId,
String groupName,
String groupDescription,
String emailPermission)
Creates a new group in the domain.
|
void |
AppsForYourDomainService.delete(URL entryUrl) |
void |
AppsGroupsService.deleteGroup(String groupId)
Deletes a group from the domain.
|
void |
AppsGroupsService.deleteMemberFromGroup(String groupId,
String memberName)
Removes member subscription to the group.
|
boolean |
AppsGroupsService.doesEntityExist(String feedUrlSuffix)
Checks for an available feed from a given Url.
|
protected <E extends IEntry,F extends IFeed> |
AppsForYourDomainService.getAllPages(URL feedUrl,
Class<F> feedClass)
Executes a GData query against the target service and returns a
List containing all the
IEntry that match the query result. |
<E extends IEntry> |
AppsForYourDomainService.getEntry(URL entryUrl,
Class<E> entryClass)
The call to super.getEntry should fall through to Service and the
behaviour is unknown if this method is overloaded in GoogleService.
|
<E extends IEntry> |
AppsForYourDomainService.getEntry(URL entryUrl,
Class<E> entryClass,
DateTime ifModifiedSince)
Returns an Atom entry instance, given the URL of the entry and an
if-modified-since date.
|
<F extends IFeed> |
AppsForYourDomainService.getFeed(URL feedUrl,
Class<F> feedClass)
The call to super.getEntry should fall through to Service and the
behaviour is unknown if this method is overloaded in GoogleService.
|
<F extends IFeed> |
AppsForYourDomainService.getFeed(URL feedUrl,
Class<F> feedClass,
DateTime ifModifiedSince)
Executes a GData query against the target service and returns the
IFeed containing entries that match the query result, if
it's been modified since the specified date. |
GenericFeed |
AppsGroupsService.getNextPage(Link atomLink)
Get the next page from the atom:next link
|
<E extends IEntry> |
AppsForYourDomainService.insert(URL feedUrl,
E entry) |
boolean |
AppsGroupsService.isMember(String groupId,
String memberId)
Checks if an user/group is a member of the group specified.
|
boolean |
AppsGroupsService.isOwner(String groupId,
String email)
Checks if an user is a owner of the group specified.
|
<F extends IFeed> |
AppsForYourDomainService.query(Query query,
Class<F> feedClass)
The call to super.getEntry should fall through to Service and the
behaviour is unknown if this method is overloaded in GoogleService.
|
void |
AppsGroupsService.removeOwnerFromGroup(String email,
String groupId)
Removes an owner from the group.
|
GenericFeed |
AppsGroupsService.retreiveGroupOwners(String groupId)
Retrieves all the owners of a given Group.
|
GenericFeed |
AppsGroupsService.retrieveAllGroups()
Retrieves all groups in a domain as a GenericFeed.
|
GenericFeed |
AppsGroupsService.retrieveAllMembers(String groupId)
Retrieves all the members of a group as a GenericFeed.
|
List<GenericEntry> |
AppsGroupsService.retrieveAllPagesOfGroups()
Retrieves all the pages of the groups feed.
|
GenericEntry |
AppsGroupsService.retrieveGroup(String groupId)
Retrieves the group details.
|
GenericFeed |
AppsGroupsService.retrieveGroups(String memberName,
boolean directOnly)
Retrieves all groups of the given member.
|
GenericFeed |
AppsGroupsService.retrievePageOfGroups(Link next)
Retrieves next page of groups in a domain as a GenericFeed.
|
GenericFeed |
AppsGroupsService.retrievePageOfMembers(Link next)
Retrieves next page of members of a group as a GenericFeed.
|
<E extends IEntry> |
AppsForYourDomainService.update(URL entryUrl,
E entry) |
GenericEntry |
AppsGroupsService.updateGroup(String groupId,
String groupName,
String groupDescription,
String emailPermission)
Updates the group properties.
|
| Modifier and Type | Method and Description |
|---|---|
String |
DomainSettingsService.getCountryCodeForDomain()
Retrieves the country code for the domain registered.
|
String |
DomainSettingsService.getCustomerPIN()
Retrieves Customer PIN associated with the domain.
|
String |
DomainSettingsService.getDefaultLanguage()
Retrieves the default language for the Google Apps domain
|
String |
DomainSettingsService.getDomainCreationTime()
Gets the time domain was created.
|
String |
DomainSettingsService.getDomainEdition()
Retrieves the domain edition.
|
String |
DomainSettingsService.getDomainSecondaryEmailAddress()
Retrieves the secondary Email address registered with the domain
|
String |
DomainSettingsService.getDomainVerificationStatus()
Retrieves the status of verification for the domain.
|
int |
DomainSettingsService.getMaxUserCount()
Retrieves the maximum number of users that can be created in the domain
|
String |
DomainSettingsService.getOrganizationName()
Retrieves the organization name associated with the domain
|
GenericEntry |
SingleSignOnService.getSsoSettings()
Retrieves the SSO properties configured for the domain.
|
GenericEntry |
SingleSignOnService.getSsoSigningKey()
Retrieves the certificate uploaded to the domain for SSO.
|
String |
DomainSettingsService.getSupportPIN()
Retrieves the Support PIN for the domain.
|
boolean |
EmailManagementService.isUserMigrationEnabled()
Retrieves the migration access settings
|
GenericEntry |
DomainVerificationService.retrieveCnameVerificationStatus() |
GenericFeed |
EmailManagementService.retrieveEmailRoutingSettings()
Retrieves all configured email routing settings as a GenericFeed.
|
GenericEntry |
DomainVerificationService.retrieveMxVerificationStatus() |
GenericEntry |
EmailManagementService.retrieveOutboundGatewaySettings()
Retrieves the outbound gateway settings for the domain.
|
GenericEntry |
DomainSettingsService.setDefaultLanguage(String language)
Sets the default language for Google Apps domain.
|
GenericEntry |
DomainSettingsService.setDomainLogo(String base64EncodedImage)
Updates the custom logo with the new image provided.
|
GenericEntry |
DomainSettingsService.setDomainSecondaryEmailAddress(String adminSecondaryEmail)
Registers the given Email as domain's secondary Email address
|
GenericEntry |
DomainSettingsService.setOrganizationName(String organizationName)
Set the organization name for the domain
|
void |
EmailManagementService.setUserMigrationAccess(boolean enableUserMigration)
Grants email migration access to users.
|
GenericEntry |
EmailManagementService.updateOutboundGatewaySettings(String smartHost,
String smtpMode)
Updates the outbound gateway settings for the domain.
|
GenericEntry |
SingleSignOnService.updateSSOSettings(GenericEntry entry)
Updates the SSO properties with the GenericEntry values.
|
GenericEntry |
SingleSignOnService.updateSsoSigningKey(String base64EncodedKey)
Updates the public key used for SSO.
|
GenericEntry |
DomainVerificationService.updateVerifiedStatus(GenericEntry entry,
boolean status)
Sets the verified status as true for a previously retrieved MX or CNAME
verification status entry;
|
| Modifier and Type | Method and Description |
|---|---|
GenericEntry |
AuditService.createAccountInfoRequest(String user)
Creates a new Account Information request.
|
GenericEntry |
AuditService.createMailboxDumpRequest(MailBoxDumpRequest mailBoxDumpRequest)
Creates a new request for obtaining a user mailbox dump.
|
GenericEntry |
AuditService.createMailMonitor(String sourceUser,
MailMonitor mailMonitor)
Creates a new monitoring task to begin an audit.
|
void |
AuditService.deleteAccountInfoRequest(String user,
String requestId)
Deletes the account info request for the given user
|
boolean |
AuditService.deleteMailboxDumpRequest(String user,
String id)
Deletes the mailbox dump request for the given ID and user.
|
void |
AuditService.deleteMonitor(String sourceUser,
String destUser)
Removes the monitor configured for the given source and destination user.
|
GenericEntry |
AuditService.retrieveAccountInfoRequest(String user,
String requestId)
Retrieves a previously created account/services related information request
for the given user.
|
List<GenericEntry> |
AuditService.retrieveAllAccountInfoRequests(Date fromDate)
Retrieve all the Account info requests from the given start date.
|
List<GenericEntry> |
AuditService.retrieveAllMailboxDumpRequests(Date fromDate)
Retrieves all mailbox dump requests from the given start date.
|
GenericEntry |
AuditService.retrieveMailboxDumpRequest(String user,
String id)
Retrieves the mailbox dump request for the given ID and user.
|
GenericFeed |
AuditService.retrieveMonitors(String sourceUser)
Retrieves all the monitors of a given user.
|
GenericFeed |
AuditService.retrieveNextPageOfAccountInfoRequests(Link next)
Retrieves the next page of account info requests by following the atom next
link.
|
GenericFeed |
AuditService.retrieveNextPageOfMailboxDumpRequests(Link next)
Retrieves the next page of mailbox dump requests by following the atom next
link.
|
GenericFeed |
AuditService.retrievePageOfAccountInfoRequests(Date fromDate)
Retrieves a page of account info requests from the given optional start
date.
|
GenericFeed |
AuditService.retrievePageOfMailboxDumpRequests(Date fromDate)
Retrieves a page of mailbox dump requests from the given start date.
|
GenericEntry |
AuditService.uploadPublicKey(String base64encodedKey)
Upload a public key for signing mailbox dump archives.
|
| Modifier and Type | Method and Description |
|---|---|
GenericFeed |
GmailFilterService.batch(String domain,
GenericFeed feed)
Inserts one or more Gmail filter entries in a single batch operation.
|
GenericEntry |
GmailFilterService.insert(String domain,
GenericEntry entry)
Inserts one Gmail filter entry.
|
| Modifier and Type | Method and Description |
|---|---|
MailItemFeed |
MailItemService.batch(String domain,
String userName,
MailItemFeed feed)
Inserts one or more MailItem entries in a single batch operation.
|
| Modifier and Type | Class and Description |
|---|---|
class |
BatchInterruptedException
Exception thrown by the client when an entry with a
<batch:interrupted> tag has been detected. |
| Modifier and Type | Method and Description |
|---|---|
void |
DocsService.delete(URL aclFeedUrl,
AclScope scope)
Deletes an existing AclEntry from the specified feed URL.
|
AclEntry |
DocsService.insert(URL aclFeedUrl,
AclScope scope,
AclRole role)
Inserts a new
AclEntry into a feed
associated with the target service. |
DocumentExportEntry |
DocsService.insert(URL exportFeedUrl,
List<QueryParameter> params)
Start a new request to download the documents that match all search
criteria as a zip file.
|
AclEntry |
DocsService.update(URL aclFeedUrl,
AclScope scope,
AclRole role)
Updates an existing
AclEntry by writing
it to the specified feed URL. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
HttpGDataRequest.checkResponse()
Called after a request is executed to process the response and generate an
appropriate exception (on failure).
|
protected Service.GDataRequest |
HttpGDataRequest.Factory.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType)
Creates a
Service.GDataRequest instance. |
protected Service.GDataRequest |
GoogleGDataRequest.Factory.createRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
void |
HttpGDataRequest.execute() |
void |
GoogleGDataRequest.execute() |
Service.GDataRequest |
HttpGDataRequest.Factory.getRequest(Query query,
ContentType contentType) |
Service.GDataRequest |
HttpGDataRequest.Factory.getRequest(Service.GDataRequest.RequestType type,
URL requestUrl,
ContentType contentType) |
protected void |
HttpGDataRequest.handleErrorResponse()
Handles an error response received while executing a GData service request.
|
protected void |
GoogleGDataRequest.handleErrorResponse() |
| Modifier and Type | Method and Description |
|---|---|
ResumableGDataFileUploader |
ResumableGDataFileUploader.Builder.build()
Creates a
ResumableGDataFileUploader instance. |
MediaSource |
MediaService.getMedia(IMediaContent mediaContent)
Returns a
MediaSource that can be used to read the external
media content of an entry. |
MediaSource |
MediaService.getMedia(IMediaContent mediaContent,
DateTime ifModifiedSince)
Returns a
MediaSource that can be used to read the external
media content of an entry. |
<E extends IEntry> |
ResumableGDataFileUploader.getResponse(Class<E> entryClass)
Returns the upload response as an instance of parsed entryClass.
|
<E extends IEntry> |
MediaService.insert(URL feedUrl,
Class<E> entryClass,
MediaSource media)
Inserts a new media resource read from
MediaSource into a
media feed associated with the target service. |
<E extends IEntry> |
MediaService.insert(URL feedUrl,
E entry)
Inserts a new
Entry into a feed associated
with the target service. |
<E extends IEntry> |
MediaService.update(URL url,
E entry)
Updates an existing entry metadata by writing it to the specified edit
URL.
|
<E extends IEntry> |
MediaService.updateMedia(URL mediaUrl,
Class<E> entryClass,
MediaSource media)
Updates an existing media resource with data read from the
MediaSource by writing it it to the specified media edit URL. |
<E extends IEntry> |
MediaService.updateMedia(URL mediaUrl,
E entry)
Updates an existing entry and associated media resource by writing it
to the specified media edit URL.
|
| Modifier and Type | Method and Description |
|---|---|
<E extends IEntry> |
YouTubeService.getFormUploadToken(URL url,
E entry)
Generate a form-upload token given the XML description of a new media entry.
|
| Modifier and Type | Class and Description |
|---|---|
static class |
Kind.AdaptorException
The AdaptorException class defines a simple
ServiceException
type that is thrown on kind adaptation failures. |
| Modifier and Type | Method and Description |
|---|---|
void |
BaseEntry.delete()
Deletes this entry by sending a request to the associated GData
service.
|
F |
BaseFeed.getSelf()
Returns the current representation of the feed by requesting it from
the associated service using the feed's self link.
|
E |
BaseEntry.getSelf()
Retrieves the current version of this Entry by requesting it from
the associated GData service.
|
<T extends E> |
BaseFeed.insert(T newEntry)
Inserts a new Entry into the feed, if the feed is currently
associated with a Service.
|
static BaseEntry<?> |
BaseEntry.readEntry(ParseSource source)
Reads an entry representation from the provided
ParseSource. |
static <T extends BaseEntry> |
BaseEntry.readEntry(ParseSource source,
Class<T> entryClass,
ExtensionProfile extProfile)
Reads an entry of type
T using the given extension profile. |
static BaseFeed<?,?> |
BaseFeed.readFeed(ParseSource source)
Reads a feed representation from the provided
ParseSource. |
static <F extends BaseFeed> |
BaseFeed.readFeed(ParseSource source,
Class<F> feedClass,
ExtensionProfile extProfile)
This method provides the base implementation of feed reading using either
static or dynamic typing.
|
E |
BaseEntry.update()
Updates this entry by sending the current representation to the
associated GData service.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AppsForYourDomainException
The AppsForYourDomainException indicates a failure in the use of the
Google Apps for Your Domain API.
|
| Modifier and Type | Method and Description |
|---|---|
static AppsForYourDomainException |
AppsForYourDomainException.narrow(ServiceException se)
This is a helper method for Clients to use to obtain specific information
regarding a ServiceException.
|
| Constructor and Description |
|---|
BatchStatus(ServiceException e)
Creates a BatchStatus and initializes it
based on an exception.
|
| Modifier and Type | Method and Description |
|---|---|
WorksheetEntry |
SpreadsheetEntry.getDefaultWorksheet()
Gets the first worksheet in the spreadsheet.
|
List<WorksheetEntry> |
SpreadsheetEntry.getWorksheets()
Gets all worksheet entries that are part of this spreadsheet.
|
| Modifier and Type | Method and Description |
|---|---|
E |
MediaFeed.insert(MediaSource media)
Inserts a new media resource into the feed, if the feed is currently
associated with a Service.
|
protected <T extends E> |
MediaFeed.insert(MediaSource media,
Class<T> mediaEntryClass)
Inserts a new media resource into the feed, if the feed is currently
associated with a Service.
|
E |
MediaEntry.updateMedia(boolean updateEntry)
Updates the media content associated with this entry by sending the
data contained in the
MediaSource of the entry to the associated
GData service. |
| Modifier and Type | Method and Description |
|---|---|
Long |
AlbumFeed.getBytesUsed() |
Long |
AlbumData.getBytesUsed()
The number of bytes that are used by photos in this album.
|
Integer |
PhotoFeed.getCommentCount() |
Integer |
PhotoEntry.getCommentCount() |
Integer |
PhotoData.getCommentCount()
The number of comments on this photo.
|
Integer |
AlbumFeed.getCommentCount() |
Integer |
AlbumData.getCommentCount()
The number of comments on the album.
|
Boolean |
PhotoFeed.getCommentsEnabled() |
Boolean |
PhotoEntry.getCommentsEnabled() |
Boolean |
PhotoData.getCommentsEnabled()
Gets the status of the commenting preference on the photo.
|
Boolean |
AlbumFeed.getCommentsEnabled() |
Boolean |
AlbumData.getCommentsEnabled()
Whether or not commenting is allowed on this album.
|
Date |
AlbumFeed.getDate() |
Date |
AlbumData.getDate()
The date the album was taken.
|
<F extends GphotoFeed<F>> |
GphotoEntry.getFeed(Class<F> feedClass,
String... kinds)
Get the feed of entries related to this entry.
|
UserFeed |
UserEntry.getFeed(String... kinds)
Retrieve the user feed and associated entries.
|
PhotoFeed |
PhotoEntry.getFeed(String... kinds)
Retrieve the photo feed and associated entries.
|
AlbumFeed |
AlbumEntry.getFeed(String... kinds)
Retrieve the album feed and associated entries.
|
Long |
PhotoFeed.getHeight() |
Long |
PhotoEntry.getHeight() |
Long |
PhotoData.getHeight()
The height of the photo in pixels.
|
Integer |
AlbumFeed.getPhotosLeft() |
Integer |
AlbumData.getPhotosLeft()
The number of spaces for photos that are available in the album.
|
Integer |
AlbumFeed.getPhotosUsed() |
Integer |
AlbumData.getPhotosUsed()
The number of photos that are contained in this album.
|
Float |
PhotoFeed.getPosition() |
Float |
PhotoEntry.getPosition() |
Float |
PhotoData.getPosition()
The position of the photo in the album.
|
Integer |
PhotoFeed.getRotation() |
Integer |
PhotoEntry.getRotation() |
Integer |
PhotoData.getRotation()
The rotation of the photo.
|
Long |
PhotoFeed.getSize() |
Long |
PhotoEntry.getSize() |
Long |
PhotoData.getSize()
The size of the photo in bytes.
|
Date |
PhotoFeed.getTimestamp() |
Date |
PhotoEntry.getTimestamp() |
Date |
PhotoData.getTimestamp()
The time the photo was taken.
|
Long |
PhotoFeed.getVersion() |
Long |
PhotoEntry.getVersion() |
Long |
PhotoData.getVersion()
The version of the image.
|
Long |
PhotoFeed.getWidth() |
Long |
PhotoEntry.getWidth() |
Long |
PhotoData.getWidth()
The width of the photo in pixels.
|
PhotoEntry |
AlbumFeed.insertPhoto(MediaSource photoSource)
Insert a photo into this album by inserting a
MediaSource
containing the photo data. |
| Modifier and Type | Method and Description |
|---|---|
WorksheetEntry |
SpreadsheetEntry.getDefaultWorksheet()
Gets the first worksheet in the spreadsheet.
|
List<WorksheetEntry> |
SpreadsheetEntry.getWorksheets()
Gets all worksheet entries that are part of this spreadsheet.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Entry.delete()
Deletes this entry by sending a request to the associated GData service.
|
Feed |
Feed.getSelf()
Returns the current representation of the feed by requesting it from the
associated service using the feed's self link.
|
Entry |
Entry.getSelf()
Retrieves the current version of this Entry by requesting it from the
associated GData service.
|
<T extends Entry> |
Feed.insert(T newEntry)
Inserts a new Entry into the feed, if the feed is currently associated with
a Service.
|
Entry |
Entry.update()
Updates this entry by sending the current representation to the associated
GData service.
|
| Constructor and Description |
|---|
BatchStatus(ServiceException e)
Creates a BatchStatus and initializes it
based on an exception.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AuthenticationException
The AuthenticationException class is used to represent a GData service
failure due to authentication.
|
class |
EntityTooLargeException
The EntityTooLargeException should be thrown by a service provider
when its refusing to process a request because request entity is larger
than service provider is willing to process.
|
class |
InvalidEntryException
Thrown when the format of a ServiceRequest is invalid.
|
class |
NoLongerAvailableException
Thrown by a service provider when the resource identified by the request is
no longer available at the server and no forwarding address is known.
|
class |
NotAcceptableException
Thrown by a service provider when the resource identified by the request is
only capable of generating response entities which have content
characteristics not acceptable according to the accept headers sent in the
request.
|
class |
NotImplementedException
The NotImplementedException should be thrown by a service provider
when an attempt is made to send a request that is not supported by the
target service.
|
class |
NotModifiedException
The NotModifiedException should be thrown by a service provider
when an attempt is made to access content using a date-conditional
GET and the resource has not been modified since the provided date.
|
class |
OAuthProxyException
Represents an error thrown by the OAuth Proxy in an App Engine environment.
|
class |
ParseException
The ParseException indicates a failure parsing GData request content.
|
class |
PreconditionFailedException
The PreconditionFailedException should be thrown by a service provider
when an attempt is made to access content using a date-conditional
GET and the resource has not been modified since the provided date.
|
class |
RateLimitExceededException
Exception that indicates a user is requesting too frequently.
|
class |
RedirectRequiredException
Exception thrown when a redirect is required to satisfy a request.
|
class |
ResourceNotFoundException
The ResourceNotFoundException should be thrown by a service provider
when an attempt is made to perform an operation upon a resource (feed
or entry) that cannot be found.
|
class |
ResumableUploadException
The ResumableUploadException should be thrown by a client when
a resumable upload io operation failed while uploading media.
|
class |
ServiceConfigurationException
The ServiceConfigurationException should be thrown if a GData server
or client configuration is not valid.
|
class |
ServiceForbiddenException
The ServiceForbiddenException should be thrown by a service provider
when an attempt is made to perform an operation upon a resource (feed
or entry) that is not supported.
|
class |
ServiceUnavailableException
Thrown when an exception occurs that is temporary; i.e., the user should
try again.
|
class |
UnprocessableEntityException
The UnprocessableEntityException is thrown by a service provider when it
receives a request that it understands but where processing the request will
leave resources in an inconsistent state.
|
class |
UnsupportedMediaTypeException
The UnsupportedMediaTypeException will be thrown by a GData service
when a GData request body contains a media type that is not supported
by the service.
|
class |
VersionConflictException
The VersionConflictException should be thrown by a service provider
when an attempt is made to modify an entry based on a stale version ID.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceException |
ServiceException.addSibling(ServiceException newbie)
Make and siblings, returning .
|
| Modifier and Type | Method and Description |
|---|---|
List<ServiceException> |
ServiceException.getSiblings()
Return an unmodifiable copy of the sibling list.
|
| Modifier and Type | Method and Description |
|---|---|
ServiceException |
ServiceException.addSibling(ServiceException newbie)
Make and siblings, returning .
|
| Modifier and Type | Method and Description |
|---|---|
static IEntry |
ParseUtil.readEntry(ParseSource source)
Reads an entry from a parse source.
|
static <T extends IEntry> |
ParseUtil.readEntry(ParseSource source,
Class<T> requestedClass,
ExtensionProfile extProfile,
Schema schema)
Reads an entry from a parse source, returning an instance of the requested
class, and using the given extension profile if parsing into the old data
model.
|
static IFeed |
ParseUtil.readFeed(ParseSource source)
Reads a feed from a parse source.
|
static <F extends IFeed> |
ParseUtil.readFeed(ParseSource source,
Class<F> requestedClass,
ExtensionProfile extProfile,
Schema schema)
This method provides the base implementation of feed reading using either
static or dynamic typing.
|
| Constructor and Description |
|---|
ServiceExceptionInitializer(ServiceException se) |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentCreationException
The ContentCreationException indicates that content cannot
be created.
|
class |
ContentModelException
The ContentModelException indicates that a content model
is incompatible with request content being generated or
parsed.
|
class |
ContentValidationException
The ContentValidationException indicates that an instance
document does not conform to the content model.
|
| Modifier and Type | Method and Description |
|---|---|
<R extends IAtom> |
AtomDualParser.parse(ParseSource parseSource,
InputProperties inProps,
Class<R> resultClass) |
<R extends IServiceDocument> |
AtomServiceDualParser.parse(ParseSource parseSource,
InputProperties inProps,
Class<R> resultClass) |
<R extends T> |
XmlInputParser.parse(ParseSource parseSource,
InputProperties inProps,
Class<R> targetClass) |
<R extends T> |
InputParser.parse(ParseSource parseSource,
InputProperties inProps,
Class<R> resultClass)
Parses data in the supported representation format from the input stream
based upon the provided input properties into the provided target object.
|
<R extends T> |
CharacterParser.parse(ParseSource parseSource,
InputProperties inProps,
Class<R> targetClass)
The parse method will use the character encoding found in the output
properties instance to construct an appropriate
Reader and then
delegate to the CharacterParser.parse(Reader, InputProperties, Class) method
to perform the parsing. |
<R extends IAtom> |
AtomDataParser.parse(Reader inputReader,
InputProperties inProps,
Class<R> resultClass) |
<R extends ServiceDocument> |
AtomServiceDataParser.parse(Reader inputReader,
InputProperties inProps,
Class<R> resultClass) |
<R extends T> |
ElementParser.parse(Reader inputReader,
InputProperties inProps,
Class<R> resultClass) |
abstract <R extends T> |
CharacterParser.parse(Reader inputReader,
InputProperties inProps,
Class<R> resultClass)
Parses character content with the specified properties to produce a result
of an expected type.
|
protected <R extends IAtom> |
AtomDataParser.parse(XmlEventSource eventSource,
InputProperties inProps,
Class<R> resultClass) |
protected abstract <R extends T> |
XmlInputParser.parse(XmlEventSource eventSource,
InputProperties inProps,
Class<R> targetClass)
The parse method should be implemented by subclasses and should parse
input data from the provided
XmlEventSource instance. |
| Modifier and Type | Method and Description |
|---|---|
<R extends MediaMultipart> |
MediaMultipartParser.parse(ParseSource parseSource,
InputProperties inputProperties,
Class<R> resultClass) |
Copyright © 2012. All Rights Reserved.