|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.yammer.dropwizard.views.View
org.axway.grapes.server.webapp.resources.AbstractResource
public abstract class AbstractResource
Abstract resource
Provide documentation and repository management support. This class should be extended by all the server resources.
| Constructor Summary | |
|---|---|
protected |
AbstractResource(RepositoryHandler repoHandler,
String templateName,
GrapesServerConfig dmConfig)
|
| Method Summary | |
|---|---|
protected ArtifactHandler |
getArtifactHandler()
Return an ArtifactHandler |
String |
getArtifactJsonModel()
Returns an empty model of an Artifact in Json |
protected GrapesServerConfig |
getConfig()
Return Grapes configuration |
protected DependencyHandler |
getDependencyHandler()
Return a DependencyHandler |
String |
getDependencyJsonModel()
Returns an empty model of a Dependency in Json |
javax.ws.rs.core.Response |
getDocumentation()
Provide the documentation of the LicenseResource when the server got a request GET |
protected GraphsHandler |
getGraphsHandler(FiltersHolder filtersHolder)
Return a GraphsHandler |
String |
getIssueTrackerUrl()
Return the issue-tracker url configured in the server configuration file (null if empty) |
protected LicenseHandler |
getLicenseHandler()
Return a LicenseHandler |
String |
getLicenseJsonModel()
Returns an empty model of a License in Json |
protected ModelMapper |
getModelMapper()
Returns model mapper for data-model conversion |
protected ModuleHandler |
getModuleHandler()
Return a ModuleHandler |
String |
getModuleJsonModel()
Returns an empty model of a Module in Json |
String |
getOnlineDocumentation()
Return the online documentation url configured in the server configuration file (null if empty) |
protected OrganizationHandler |
getOrganizationHandler()
Return a OrganizationHandler |
String |
getOrganizationJsonModel()
Returns an empty model of a Organization in Json |
protected ProductHandler |
getProductHandler()
Return a ProductHandler |
String |
getProgramVersion()
Return the version of the application |
String |
getScopes()
Returns the list of available scopes |
| Methods inherited from class com.yammer.dropwizard.views.View |
|---|
getCharset, getTemplateName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractResource(RepositoryHandler repoHandler,
String templateName,
GrapesServerConfig dmConfig)
| Method Detail |
|---|
public javax.ws.rs.core.Response getDocumentation()
protected OrganizationHandler getOrganizationHandler()
protected ProductHandler getProductHandler()
protected ModuleHandler getModuleHandler()
protected ArtifactHandler getArtifactHandler()
protected DependencyHandler getDependencyHandler()
protected LicenseHandler getLicenseHandler()
protected GraphsHandler getGraphsHandler(FiltersHolder filtersHolder)
protected GrapesServerConfig getConfig()
protected ModelMapper getModelMapper()
public String getProgramVersion()
public String getIssueTrackerUrl()
public String getOnlineDocumentation()
public String getOrganizationJsonModel()
throws IOException
IOException
public String getModuleJsonModel()
throws IOException
IOException
public String getArtifactJsonModel()
throws IOException
IOException
public String getDependencyJsonModel()
throws IOException
IOException
public String getLicenseJsonModel()
throws IOException
IOExceptionpublic String getScopes()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||