com.bea.content.manager.servlets.attribute.property
Interface PropertyResolverConstants

All Superinterfaces
ContentResolverConstants
All Known Implementing Classes:
BinaryPropertyResolver, ContentPropertyResolver, DownloadBinaryPropertyResolver, MultiValuePropertyResolver, ShowBinaryPropertyResolver, SingleValuePropertyResolver, TextBinaryPropertyResolver, URLBinaryPropertyResolver

public interface PropertyResolverConstants
extends ContentResolverConstants

Defines attribute names required by implementations of ContentAttributeResolver.


Field Summary
static String ATTR_CONVERSION_TYPE
          If resultId is not set, this specifies how to encode the property value when printing it to the JSP.
static String ATTR_DATE_FORMATTER
          Formatter to use during toString() for numeric properties;
static String ATTR_DEFAULT_VALUE
          Specifies the default value of the property returned if the property is null.
static String ATTR_END_INDEX
          The index (from 0) in the document's bytes at which to start printing.
static String ATTR_HTTP_SERVLET_REQUEST
          This context attribute is used for URL based binary properties for generating the right url based on the binary property.
static String ATTR_HTTP_SERVLET_RESPONSE
          This context attribute is used for URL based binary properties for generating the right url based on the binary property.
static String ATTR_IS_MULTIVALUED
          Instructs the provider to expect a multi-valued property when resolving the property.
static String ATTR_IS_NESTED_PROPERTY
          Specifies that this property resolver is part of the nested property resolution.
static String ATTR_NODE_VERSION
          Specifies the version of the node to retrieve the property from.
static String ATTR_NUMBER_FORMATTER
          Formatter to use during toString() for numeric properties;
static String ATTR_OVERRIDING_PROPERTY
          This context attribute uses the caller-specified property rather than trying to resolve the property by name.
static String ATTR_PROPERTY_NAME
          The property name to retrieve.
static String ATTR_READ_WRITE_BLOCK_SIZE
          Sets the block read/write size.
static String ATTR_SELECTED_NODE
          The node from which to retrieve the property on.
static String ATTR_START_INDEX
          The index (from 0) in the document's bytes at which to stop printing.
static String ATTR_TRANSACTION_TIMEOUT_SECS
          When the result is streamed to the output (id is not specified), the call to the CM system is wrapped in a Transaction.
 

Field Detail

ATTR_SELECTED_NODE

static final String ATTR_SELECTED_NODE
The node from which to retrieve the property on.

See Also
Constants Summary

ATTR_PROPERTY_NAME

static final String ATTR_PROPERTY_NAME
The property name to retrieve.

See Also
Constants Summary

ATTR_NUMBER_FORMATTER

static final String ATTR_NUMBER_FORMATTER
Formatter to use during toString() for numeric properties;

See Also
Constants Summary

ATTR_DATE_FORMATTER

static final String ATTR_DATE_FORMATTER
Formatter to use during toString() for numeric properties;

See Also
Constants Summary

ATTR_START_INDEX

static final String ATTR_START_INDEX
The index (from 0) in the document's bytes at which to stop printing.

See Also
Constants Summary

ATTR_END_INDEX

static final String ATTR_END_INDEX
The index (from 0) in the document's bytes at which to start printing.

See Also
Constants Summary

ATTR_IS_MULTIVALUED

static final String ATTR_IS_MULTIVALUED
Instructs the provider to expect a multi-valued property when resolving the property.

See Also
Constants Summary

ATTR_READ_WRITE_BLOCK_SIZE

static final String ATTR_READ_WRITE_BLOCK_SIZE
Sets the block read/write size. Only applicable for binary property types. Default value is 2048.

See Also
Constants Summary

ATTR_NODE_VERSION

static final String ATTR_NODE_VERSION
Specifies the version of the node to retrieve the property from.

See Also
Constants Summary

ATTR_DEFAULT_VALUE

static final String ATTR_DEFAULT_VALUE
Specifies the default value of the property returned if the property is null.

See Also
Constants Summary

ATTR_CONVERSION_TYPE

static final String ATTR_CONVERSION_TYPE
If resultId is not set, this specifies how to encode the property value when printing it to the JSP. This should be one of: html, url, or none. html will convert HTML special characters to their entity form; url will convert the text via the java.net.URLEncoder. Default is to do no conversion.

See Also
Constants Summary

ATTR_TRANSACTION_TIMEOUT_SECS

static final String ATTR_TRANSACTION_TIMEOUT_SECS
When the result is streamed to the output (id is not specified), the call to the CM system is wrapped in a Transaction. The default transaction timeout is set by the system, but might be too short for large content. This attribute sets the timeout of that transaction (in seconds). A value of 0 (zero) sets the timeout to the system's default value. Defaults to 0. Only applicable for binary property types.

See Also
Constants Summary

ATTR_IS_NESTED_PROPERTY

static final String ATTR_IS_NESTED_PROPERTY
Specifies that this property resolver is part of the nested property resolution. If this context attribute is specified, ATTR_OVERRIDING_PROPERTY must also be specified.

See Also
ATTR_OVERRIDING_PROPERTY, Constants Summary

ATTR_OVERRIDING_PROPERTY

static final String ATTR_OVERRIDING_PROPERTY
This context attribute uses the caller-specified property rather than trying to resolve the property by name. This context attribute should be used in conjunction with ATTR_IS_NESTED_PROPERTY

See Also
ATTR_OVERRIDING_PROPERTY, Constants Summary

ATTR_HTTP_SERVLET_REQUEST

static final String ATTR_HTTP_SERVLET_REQUEST
This context attribute is used for URL based binary properties for generating the right url based on the binary property.

See Also
Constants Summary

ATTR_HTTP_SERVLET_RESPONSE

static final String ATTR_HTTP_SERVLET_RESPONSE
This context attribute is used for URL based binary properties for generating the right url based on the binary property.

See Also
Constants Summary


Copyright © 2011, Oracle. All rights reserved.