tinlizard.web
Class ObjectWeb<E>

java.lang.Object
  extended by tinlizard.web.ObjectWeb<E>
Type Parameters:
E - the object being exposed.
Direct Known Subclasses:
CodelineWeb, DependencyWeb, ObjectCollectionWeb, PolicyWeb, ProjectWeb, TinLizardWeb, UserWeb, ViewWeb

@ExportedBean(defaultVisibility=1)
public abstract class ObjectWeb<E>
extends Object

Base class for beans exposed via Stapler.


Constructor Summary
ObjectWeb()
           
 
Method Summary
 void doDelete(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 void doJson(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 void doPython(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 void doXml(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
abstract  Date getCreated()
           
abstract  String getCreatedBy()
           
abstract  Date getLastModified()
           
abstract  String getLastModifiedBy()
           
abstract  String getName()
           
protected abstract  E getSubject()
           
protected  void gotoMyIndex(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectWeb

public ObjectWeb()
Method Detail

getName

@Exported
public abstract String getName()

getSubject

protected abstract E getSubject()

getCreated

public abstract Date getCreated()

getCreatedBy

public abstract String getCreatedBy()

getLastModified

public abstract Date getLastModified()

getLastModifiedBy

public abstract String getLastModifiedBy()

doDelete

public void doDelete(org.kohsuke.stapler.StaplerRequest request,
                     org.kohsuke.stapler.StaplerResponse response)
              throws Exception
Throws:
Exception

doJson

public final void doJson(org.kohsuke.stapler.StaplerRequest request,
                         org.kohsuke.stapler.StaplerResponse response)
                  throws Exception
Throws:
Exception

doXml

public final void doXml(org.kohsuke.stapler.StaplerRequest request,
                        org.kohsuke.stapler.StaplerResponse response)
                 throws Exception
Throws:
Exception

doPython

public final void doPython(org.kohsuke.stapler.StaplerRequest request,
                           org.kohsuke.stapler.StaplerResponse response)
                    throws Exception
Throws:
Exception

gotoMyIndex

protected void gotoMyIndex(org.kohsuke.stapler.StaplerRequest request,
                           org.kohsuke.stapler.StaplerResponse response)
                    throws IOException,
                           javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException


Copyright © 2009. All Rights Reserved.