tinlizard.web
Class ViewWeb

java.lang.Object
  extended by tinlizard.web.ObjectWeb<View>
      extended by tinlizard.web.ViewWeb

public final class ViewWeb
extends ObjectWeb<View>

Decorate View for Stapler.


Constructor Summary
ViewWeb(View c)
           
 
Method Summary
 void doDelete(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 void doUpdate(org.kohsuke.stapler.StaplerRequest request, org.kohsuke.stapler.StaplerResponse response)
           
 CodelineCollectionWeb getActiveCodelines()
           
 CodelineCollectionWeb getCodelines()
           
 Date getCreated()
           
 String getCreatedBy()
           
 String getDescription()
           
 Integer getId()
           
 Date getLastModified()
           
 String getLastModifiedBy()
           
 String getName()
           
protected  View getSubject()
           
 
Methods inherited from class tinlizard.web.ObjectWeb
doJson, doPython, doXml, gotoMyIndex
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ViewWeb

public ViewWeb(View c)
Method Detail

getSubject

protected View getSubject()
Specified by:
getSubject in class ObjectWeb<View>

getId

public Integer getId()

getName

public String getName()
Specified by:
getName in class ObjectWeb<View>

getDescription

@Exported
public String getDescription()

getCreated

@Exported
public Date getCreated()
Specified by:
getCreated in class ObjectWeb<View>

getCreatedBy

@Exported
public String getCreatedBy()
Specified by:
getCreatedBy in class ObjectWeb<View>

getLastModified

@Exported
public Date getLastModified()
Specified by:
getLastModified in class ObjectWeb<View>

getLastModifiedBy

@Exported
public String getLastModifiedBy()
Specified by:
getLastModifiedBy in class ObjectWeb<View>

getCodelines

@Exported(visibility=1)
public CodelineCollectionWeb getCodelines()

getActiveCodelines

public CodelineCollectionWeb getActiveCodelines()

doDelete

@RolesAllowed(value="TINLIZARD_USER")
public void doDelete(org.kohsuke.stapler.StaplerRequest request,
                                       org.kohsuke.stapler.StaplerResponse response)
              throws Exception
Overrides:
doDelete in class ObjectWeb<View>
Throws:
Exception

doUpdate

@RolesAllowed(value="TINLIZARD_USER")
public void doUpdate(org.kohsuke.stapler.StaplerRequest request,
                                       org.kohsuke.stapler.StaplerResponse response)
              throws Exception
Throws:
Exception


Copyright © 2009. All Rights Reserved.