|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.AbstractModelObject
public abstract class AbstractModelObject
ModelObject with some convenience methods.
| Constructor Summary | |
|---|---|
AbstractModelObject()
|
|
| Method Summary | |
|---|---|
Search |
getSearch()
This binds Search object to the URL hierarchy. |
SearchIndex |
getSearchIndex()
Returns the SearchIndex to further search sub items inside this item. |
String |
getSearchName()
Default implementation that returns the display name. |
protected SearchIndexBuilder |
makeSearchIndex()
Default implementation that returns empty index. |
protected void |
requirePOST()
Deprecated. Use RequirePOST on your method. |
protected void |
sendError(Exception e)
|
protected void |
sendError(Exception e,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
Displays the error in a page. |
protected void |
sendError(String message)
|
protected void |
sendError(String message,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
|
protected void |
sendError(String message,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
boolean pre)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.model.ModelObject |
|---|
getDisplayName |
| Methods inherited from interface hudson.search.SearchItem |
|---|
getSearchUrl |
| Constructor Detail |
|---|
public AbstractModelObject()
| Method Detail |
|---|
protected final void sendError(Exception e,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
protected final void sendError(Exception e)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
protected final void sendError(String message,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
protected final void sendError(String message,
org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp,
boolean pre)
throws javax.servlet.ServletException,
IOException
pre - If true, the message is put in a PRE tag.
javax.servlet.ServletException
IOException
protected final void sendError(String message)
throws javax.servlet.ServletException,
IOException
javax.servlet.ServletException
IOException
protected final void requirePOST()
throws javax.servlet.ServletException
RequirePOST on your method.
javax.servlet.ServletExceptionprotected SearchIndexBuilder makeSearchIndex()
public final SearchIndex getSearchIndex()
SearchItemSearchIndex to further search sub items inside this item.
getSearchIndex in interface SearchItemSearchIndex.EMPTY if this is a leaf.SearchIndexBuilderpublic Search getSearch()
SearchableModelObjectSearch object to the URL hierarchy.
getSearch in interface SearchableModelObjectpublic String getSearchName()
getSearchName in interface SearchItem
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||