tinlizard.web
Class PolicyWeb

java.lang.Object
  extended by tinlizard.web.ObjectWeb<Policy>
      extended by tinlizard.web.PolicyWeb

public final class PolicyWeb
extends ObjectWeb<Policy>

Decorate Policy for Stapler.


Constructor Summary
PolicyWeb(Policy 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)
           
 Boolean getActive()
           
 CodelineCollectionWeb getCodelines()
           
 Date getCreated()
           
 String getCreatedBy()
           
 String getDescription()
           
 Integer getId()
           
 Date getLastModified()
           
 String getLastModifiedBy()
           
 String getName()
           
protected  Policy getSubject()
           
 boolean isActive()
           
 
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

PolicyWeb

public PolicyWeb(Policy c)
Method Detail

getSubject

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

getId

public Integer getId()

getName

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

getDescription

@Exported
public String getDescription()

isActive

public boolean isActive()

getActive

@Exported
public Boolean getActive()

getCreated

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

getCreatedBy

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

getLastModified

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

getLastModifiedBy

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

getCodelines

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

doDelete

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

doUpdate

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


Copyright © 2009. All Rights Reserved.