org.apache.openjpa.persistence.jest
Class DomainCommand
java.lang.Object
org.apache.openjpa.persistence.jest.AbstractCommand
org.apache.openjpa.persistence.jest.DomainCommand
- All Implemented Interfaces:
- JESTCommand
class DomainCommand
- extends AbstractCommand
Marshals a JPA meta-model in the configured format to the response output stream.
- Author:
- Pinaki Poddar
Methods inherited from class org.apache.openjpa.persistence.jest.AbstractCommand |
debug, getArgument, getArguments, getDefaultFormat, getExecutionContext, getMandatoryArgument, getMandatoryArguments, getMinimumArguments, getObjectFormatter, getQualifier, getQualifiers, hasArgument, hasQualifier, isBooleanQualifier, parse, popFetchPlan, pushFetchPlan, toStateManager, toStateManager, validate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainCommand
public DomainCommand(JPAServletContext ctx)
getValidQualifiers
protected Collection<String> getValidQualifiers()
- Description copied from class:
AbstractCommand
- Gets the valid qualifiers.
- Overrides:
getValidQualifiers
in class AbstractCommand
- Returns:
- empty list by default.
getMaximumArguments
protected int getMaximumArguments()
- Description copied from class:
AbstractCommand
- Gets the maximum number of arguments excluding the mandatory arguments.
- Overrides:
getMaximumArguments
in class AbstractCommand
- Returns:
- Integer.MAX_VALUE by default.
getAction
public String getAction()
process
public void process()
throws ProcessingException,
IOException
- Description copied from interface:
JESTCommand
- Process the given request and write the output on to the given response in the given context.
- Throws:
ProcessingException
IOException
Copyright © 2006-2012 Apache Software Foundation. All Rights Reserved.