Fusion Tables API v1 (revision 16)



com.google.api.services.fusiontables
Class Fusiontables.Template

java.lang.Object
  extended by com.google.api.services.fusiontables.Fusiontables.Template
Enclosing class:
Fusiontables

public class Fusiontables.Template
extends java.lang.Object

The "template" collection of methods.


Nested Class Summary
 class Fusiontables.Template.Delete
           
 class Fusiontables.Template.Get
           
 class Fusiontables.Template.Insert
           
 class Fusiontables.Template.List
           
 class Fusiontables.Template.Patch
           
 class Fusiontables.Template.Update
           
 
Constructor Summary
Fusiontables.Template()
           
 
Method Summary
 Fusiontables.Template.Delete delete(java.lang.String tableId, java.lang.Integer templateId)
          Deletes a template Create a request for the method "template.delete".
 Fusiontables.Template.Get get(java.lang.String tableId, java.lang.Integer templateId)
          Retrieves a specific template by its id Create a request for the method "template.get".
 Fusiontables.Template.Insert insert(java.lang.String tableId, Template content)
          Creates a new template for the table.
 Fusiontables.Template.List list(java.lang.String tableId)
          Retrieves a list of templates.
 Fusiontables.Template.Patch patch(java.lang.String tableId, java.lang.Integer templateId, Template content)
          Updates an existing template.
 Fusiontables.Template.Update update(java.lang.String tableId, java.lang.Integer templateId, Template content)
          Updates an existing template Create a request for the method "template.update".
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Fusiontables.Template

public Fusiontables.Template()
Method Detail

delete

public Fusiontables.Template.Delete delete(java.lang.String tableId,
                                           java.lang.Integer templateId)
                                    throws java.io.IOException
Deletes a template Create a request for the method "template.delete". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table from which the template is being deleted
templateId - Identifier for the template which is being deleted
Returns:
the request
Throws:
java.io.IOException

get

public Fusiontables.Template.Get get(java.lang.String tableId,
                                     java.lang.Integer templateId)
                              throws java.io.IOException
Retrieves a specific template by its id Create a request for the method "template.get". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table to which the template belongs
templateId - Identifier for the template that is being requested
Returns:
the request
Throws:
java.io.IOException

insert

public Fusiontables.Template.Insert insert(java.lang.String tableId,
                                           Template content)
                                    throws java.io.IOException
Creates a new template for the table. Create a request for the method "template.insert". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table for which a new template is being created
content - the Template
Returns:
the request
Throws:
java.io.IOException

list

public Fusiontables.Template.List list(java.lang.String tableId)
                                throws java.io.IOException
Retrieves a list of templates. Create a request for the method "template.list". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Identifier for the table whose templates are being requested
Returns:
the request
Throws:
java.io.IOException

patch

public Fusiontables.Template.Patch patch(java.lang.String tableId,
                                         java.lang.Integer templateId,
                                         Template content)
                                  throws java.io.IOException
Updates an existing template. This method supports patch semantics. Create a request for the method "template.patch". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table to which the updated template belongs
templateId - Identifier for the template that is being updated
content - the Template
Returns:
the request
Throws:
java.io.IOException

update

public Fusiontables.Template.Update update(java.lang.String tableId,
                                           java.lang.Integer templateId,
                                           Template content)
                                    throws java.io.IOException
Updates an existing template Create a request for the method "template.update". This request holds the parameters needed by the the fusiontables server. After setting any optional parameters, call the AbstractGoogleClientRequest.execute() method to invoke the remote operation.

Parameters:
tableId - Table to which the updated template belongs
templateId - Identifier for the template that is being updated
content - the Template
Returns:
the request
Throws:
java.io.IOException