2010-01-26 1.2.0

org.eclipse.soda.dk.epcglobal.llrp.write.profile.servlet.operations
Class AbstractOperation

java.lang.Object
  extended by org.eclipse.soda.dk.epcglobal.llrp.write.profile.servlet.operations.AbstractOperation
All Implemented Interfaces:
IOperation
Direct Known Subclasses:
BlockErase, BlockWrite, Filter, History, IncrementWrite, Kill, Lock, Read, Write

public abstract class AbstractOperation
extends java.lang.Object
implements IOperation

Since:
1.0
Version:
1.2.0

Field Summary
static java.lang.String INCREMENT
          Define the increment (String) constant.
static java.lang.String MEMORYBANK
          Define the memorybank (String) constant.
static java.lang.String OP_COUNT
          Define the op count (String) constant.
static java.lang.String OPERATIONID
          Define the operationid (String) constant.
static java.lang.String PASSWORD
          Define the password (String) constant.
static java.lang.String REPEAT
          Define the repeat (String) constant.
static java.lang.String TIMEOUT
          Define the timeout (String) constant.
static java.lang.String WORDCOUNT
          Define the wordcount (String) constant.
static java.lang.String WORDPOINTER
          Define the wordpointer (String) constant.
static java.lang.String WRITEDATA
          Define the writedata (String) constant.
 
Constructor Summary
protected AbstractOperation(java.lang.String name)
          Constructs an instance of this class from the specified name parameter.
 
Method Summary
protected  java.lang.String getActionFieldId()
          Gets the action field ID (String) value.
protected  java.lang.String getCustomFieldId()
          Gets the custom field ID (String) value.
protected  java.lang.String getFormHeader(java.lang.String servletPath)
          Get form header with the specified servlet path parameter and return the String result.
protected  java.lang.String getFormTail()
          Gets the form tail (String) value.
 java.lang.String getName()
          Gets the name (String) value.
protected  java.lang.String getOpNameFieldId()
          Gets the op name field ID (String) value.
 java.lang.String linkOutput(java.lang.String url)
          Link output with the specified url parameter and return the String result.
protected  boolean matchedOperation(javax.servlet.http.HttpServletRequest request)
          Matched operation with the specified request parameter and return the boolean result.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.soda.dk.epcglobal.llrp.write.profile.servlet.operations.IOperation
htmlOutput, opOutput, setValues
 

Field Detail

MEMORYBANK

public static final java.lang.String MEMORYBANK
Define the memorybank (String) constant.

See Also:
Constant Field Values

WORDPOINTER

public static final java.lang.String WORDPOINTER
Define the wordpointer (String) constant.

See Also:
Constant Field Values

PASSWORD

public static final java.lang.String PASSWORD
Define the password (String) constant.

See Also:
Constant Field Values

WRITEDATA

public static final java.lang.String WRITEDATA
Define the writedata (String) constant.

See Also:
Constant Field Values

WORDCOUNT

public static final java.lang.String WORDCOUNT
Define the wordcount (String) constant.

See Also:
Constant Field Values

OP_COUNT

public static final java.lang.String OP_COUNT
Define the op count (String) constant.

See Also:
Constant Field Values

REPEAT

public static final java.lang.String REPEAT
Define the repeat (String) constant.

See Also:
Constant Field Values

TIMEOUT

public static final java.lang.String TIMEOUT
Define the timeout (String) constant.

See Also:
Constant Field Values

INCREMENT

public static final java.lang.String INCREMENT
Define the increment (String) constant.

See Also:
Constant Field Values

OPERATIONID

public static final java.lang.String OPERATIONID
Define the operationid (String) constant.

See Also:
Constant Field Values
Constructor Detail

AbstractOperation

protected AbstractOperation(java.lang.String name)
Constructs an instance of this class from the specified name parameter.

Parameters:
name - The name (String) parameter.
Method Detail

getActionFieldId

protected java.lang.String getActionFieldId()
Gets the action field ID (String) value.

Returns:
The action field id (String) value.

getCustomFieldId

protected java.lang.String getCustomFieldId()
Gets the custom field ID (String) value.

Returns:
The custom field id (String) value.

getFormHeader

protected java.lang.String getFormHeader(java.lang.String servletPath)
Get form header with the specified servlet path parameter and return the String result.

Parameters:
servletPath - The servlet path (String) parameter.
Returns:
Results of the get form header (String) value.

getFormTail

protected java.lang.String getFormTail()
Gets the form tail (String) value.

Returns:
The form tail (String) value.

getName

public java.lang.String getName()
Gets the name (String) value.

Specified by:
getName in interface IOperation
Returns:
The name (String) value.

getOpNameFieldId

protected java.lang.String getOpNameFieldId()
Gets the op name field ID (String) value.

Returns:
The op name field id (String) value.

linkOutput

public java.lang.String linkOutput(java.lang.String url)
Link output with the specified url parameter and return the String result.

Specified by:
linkOutput in interface IOperation
Parameters:
url - The url (String) parameter.
Returns:
Results of the link output (String) value.
See Also:
IOperation.htmlOutput(String), IOperation.opOutput()

matchedOperation

protected boolean matchedOperation(javax.servlet.http.HttpServletRequest request)
Matched operation with the specified request parameter and return the boolean result.

Parameters:
request - The request (HttpServletRequest) parameter.
Returns:
Results of the matched operation (boolean) value.
See Also:
AbstractOperation(String)

2010-01-26 1.2.0

Copyright (c) 2010 IBM. See license in Legal section.