tinlizard.web
Class PolicyWeb
java.lang.Object
tinlizard.web.ObjectWeb<Policy>
tinlizard.web.PolicyWeb
public final class PolicyWeb
- extends ObjectWeb<Policy>
Decorate Policy for Stapler.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyWeb
public PolicyWeb(Policy c)
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.