<%=name%>
object.
* @param obj the <%=name%>
object with the new values
* @throws JGDIException on any error on the GDI layer
*/
public void update<%=name%>(<%=classname%> obj) throws JGDIException;
/**
* Update a <%=name%>
object.
* @param obj the <%=name%>
object with the new values
* @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void update<%=name%>WithAnswer(<%=classname%> obj, List<%=name%>
object.
* @return the <%=classname%>
object.
* @throws JGDIException on any error on the GDI layer
*/
public <%=classname%> get<%=name%>() throws JGDIException;
/**
* Get the <%=name%>
object.
* @param answers the answer list
object
* @return the <%=classname%>
object.
* @throws JGDIException on any error on the GDI layer
*/
public <%=classname%> get<%=name%>WithAnswer(List<%=name%>
objects.
* @return list of <%=name%>
objects
* @throws JGDIException on any error on the GDI layer
*/
public List< <%=classname%> > get<%=name%>List() throws JGDIException;
/**
* Get the list of all defined <%=name%>
objects.
* @param answers the answer list
object
* @return list of <%=name%>
objects
* @throws JGDIException on any error on the GDI layer
*/
public List< <%=classname%> > get<%=name%>ListWithAnswer(List<%=name%>
object.
* @param obj the new <%=name%>
object
* @throws JGDIException on any error on the GDI layer
*/
public void add<%=name%>(<%=classname%> obj) throws JGDIException;
/**
* Add a new <%=name%>
object.
* @param obj the new <%=name%>
object
* @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void add<%=name%>WithAnswer(<%=classname%> obj, List<%=name%>
object.
* @param name the new String
object
* @throws JGDIException on any error on the GDI layer
*/
public void add<%=name%>(String name) throws JGDIException;
/**
* Add a new <%=name%>
object.
* @param name the new String
object
* @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void add<%=name%>WithAnswer(String name, List<%=name%>
object.
* @param obj <%=name%>
object with the primary key information
* @throws JGDIException on any error on the GDI layer
*/
public void delete<%=name%>(<%=classname%> obj) throws JGDIException;
/**
* Delete a <%=name%>
object.
* @param obj the <%=name%>
object with the primary key information
* @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void delete<%=name%>WithAnswer(<%=classname%> obj, List<%=name%>
object by its primary key
<%
for (java.util.Map.Entry<%=name%>
object
<% } // end of for
%> * @throws JGDIException on any error on the GDI layer
*/
public void delete<%=name%>(<%
boolean first = true;
for (java.util.Map.Entry<%=name%>
object by its primary key
<%
for (java.util.Map.Entry<%=name%>
object
<%
} // end of for
%> * @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void delete<%=name%>WithAnswer(<%
first = true;
for (java.util.Map.Entry<%=name%>
objects by their primary key
<%
for (java.util.Map.Entry<%=name%>
objects
<%
} // end of for
%> * @param answers the answer list
object
* @throws JGDIException on any error on the GDI layer
*/
public void delete<%=name%>sWithAnswer(<%
first = true;
for (java.util.Map.Entry<%=name%>
object
<%
} // end of for
%> * @return the found <%=name%>
object of null
* @throws JGDIException on any error on the GDI layer
*/
public <%=classname%> get<%=name%>(<%
boolean first = true;
for (java.util.Map.Entry<%=name%>
object
<%
} // end of for
%> * @param answers the answer list
object
* @return the found <%=name%>
object of null
* @throws JGDIException on any error on the GDI layer
*/
public <%=classname%> get<%=name%>WithAnswer(<%
first = true;
for (java.util.Map.EntryThe class JGDI
is the central interface for communication with
* the SGE master.
An instanceof of the interface can be obtained via the {@link JGDIFactory}.
* For each JGDI
instance the close
method has to
* called to give the native parts of the implementation a chance to release
* the resources.
Example:
** String url = "bootstrap:///opt/sge@default:1026"; * String user = "sge_admin"; * String password = "secret"; * * JGDI jgdi = JGDIFactory.newInstance(url, user, password); * ... * jgdi.close(); * ** * Warning: The JGDI interface will not be compatible with future Sun™ Grid Engine releases. * * @version 6.5 * */ public interface JGDI extends JGDIBase { <% for (JGDIGenerator gen : generators) { gen.genMethods(); } %> }