org.glassfish.admin.rest.resources
Class CollectionLeafResource

java.lang.Object
  extended by org.glassfish.admin.rest.resources.CollectionLeafResource

public abstract class CollectionLeafResource
extends java.lang.Object

Author:
Rajeshwar Patil

Field Summary
protected  java.util.List<java.lang.String> entity
           
protected  org.jvnet.hk2.component.Habitat habitat
           
static LocalStringManagerImpl localStrings
           
protected  org.jvnet.hk2.config.Dom parent
           
protected  java.lang.String profiler
           
protected  javax.ws.rs.core.HttpHeaders requestHeaders
           
protected  com.sun.jersey.api.core.ResourceContext resourceContext
           
protected  java.lang.String tagName
           
protected  java.lang.String target
           
protected  javax.ws.rs.core.UriInfo uriInfo
           
 
Constructor Summary
CollectionLeafResource()
          Creates a new instance of xxxResource
 
Method Summary
 javax.ws.rs.core.Response add(java.util.HashMap<java.lang.String,java.lang.String> data)
           
protected  void addDefaultParameter(java.util.Map<java.lang.String,java.lang.String> data)
           
protected  ActionReportResult buildActionReportResult()
           
 javax.ws.rs.core.Response create(java.util.HashMap<java.lang.String,java.lang.String> data)
           
 javax.ws.rs.core.Response delete(java.util.HashMap<java.lang.String,java.lang.String> data)
           
protected  void deleteExistingOptions()
           
protected  java.lang.String escapeOptionPart(java.lang.String part)
          Escapes special chars (e.g., colons) in a JVM Option part
 javax.ws.rs.core.Response get(int expandLevel)
           
protected  java.lang.String getDeleteCommand()
           
 java.util.List<java.lang.String> getEntity()
           
protected  java.util.Map<java.lang.String,MethodMetaData> getMethodMetaData()
           
protected  java.lang.String getName()
           
protected  java.lang.String getPostCommand()
           
 javax.ws.rs.core.Response options()
           
 void setEntity(java.util.List<java.lang.String> p)
           
 void setParentAndTagName(org.jvnet.hk2.config.Dom parent, java.lang.String tagName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

requestHeaders

@Context
protected javax.ws.rs.core.HttpHeaders requestHeaders

uriInfo

@Context
protected javax.ws.rs.core.UriInfo uriInfo

resourceContext

@Context
protected com.sun.jersey.api.core.ResourceContext resourceContext

habitat

@Context
protected org.jvnet.hk2.component.Habitat habitat

entity

protected java.util.List<java.lang.String> entity

parent

protected org.jvnet.hk2.config.Dom parent

tagName

protected java.lang.String tagName

target

protected java.lang.String target

profiler

protected java.lang.String profiler

localStrings

public static final LocalStringManagerImpl localStrings
Constructor Detail

CollectionLeafResource

public CollectionLeafResource()
Creates a new instance of xxxResource

Method Detail

setEntity

public void setEntity(java.util.List<java.lang.String> p)

getEntity

public java.util.List<java.lang.String> getEntity()

setParentAndTagName

public void setParentAndTagName(org.jvnet.hk2.config.Dom parent,
                                java.lang.String tagName)

get

public javax.ws.rs.core.Response get(int expandLevel)

create

public javax.ws.rs.core.Response create(java.util.HashMap<java.lang.String,java.lang.String> data)
                                 throws org.jvnet.hk2.config.TransactionFailure
Throws:
org.jvnet.hk2.config.TransactionFailure

add

public javax.ws.rs.core.Response add(java.util.HashMap<java.lang.String,java.lang.String> data)
                              throws org.jvnet.hk2.config.TransactionFailure
Throws:
org.jvnet.hk2.config.TransactionFailure

delete

public javax.ws.rs.core.Response delete(java.util.HashMap<java.lang.String,java.lang.String> data)

options

public javax.ws.rs.core.Response options()

buildActionReportResult

protected ActionReportResult buildActionReportResult()

getMethodMetaData

protected java.util.Map<java.lang.String,MethodMetaData> getMethodMetaData()

addDefaultParameter

protected void addDefaultParameter(java.util.Map<java.lang.String,java.lang.String> data)

getPostCommand

protected java.lang.String getPostCommand()

getDeleteCommand

protected java.lang.String getDeleteCommand()

getName

protected java.lang.String getName()

escapeOptionPart

protected java.lang.String escapeOptionPart(java.lang.String part)
Escapes special chars (e.g., colons) in a JVM Option part

Parameters:
part -
Returns:

deleteExistingOptions

protected void deleteExistingOptions()


Copyright © 2012 GlassFish Community. All Rights Reserved.