|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectatg.nucleus.logging.VariableArgumentApplicationLoggingImpl
atg.nucleus.GenericService
atg.droplet.EmptyFormHandler
atg.droplet.GenericFormHandler
atg.targeting.FilterFormHandler
public class FilterFormHandler
This form handler takes a repository, repository view name, and SGML targeting rule and generates a RuleBasedRepositoryItemGroup that can be used to filter items in the repository that match the rule. To apply the filter to a repository, see the RuleBasedRepositoryItemGroupFilter servlet.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
static java.lang.String |
RESOURCE_BUNDLE
|
Fields inherited from class atg.droplet.GenericFormHandler |
---|
PARAM_DEFER_FORWARD_OR_REDIRECT, PARAM_USE_FORWARDS |
Fields inherited from class atg.nucleus.GenericService |
---|
SERVICE_INFO_KEY |
Fields inherited from interface atg.nucleus.logging.TraceApplicationLogging |
---|
DEFAULT_LOG_TRACE_STATUS |
Fields inherited from interface atg.nucleus.logging.ApplicationLogging |
---|
DEFAULT_LOG_DEBUG_STATUS, DEFAULT_LOG_ERROR_STATUS, DEFAULT_LOG_INFO_STATUS, DEFAULT_LOG_WARNING_STATUS |
Constructor Summary | |
---|---|
FilterFormHandler()
|
Method Summary | |
---|---|
java.lang.String |
getItemDescriptor()
Gets the view name |
java.lang.String |
getLoggingIdentifier()
Returns property LoggingIdentifier |
Repository |
getRepository()
Gets the Repository |
atg.targeting.RuleBasedRepositoryItemGroup |
getRepositoryItemGroup()
Gets the RepositoryItemGroup |
java.lang.String |
getRuleRepresentation()
Gets the SGML rule |
boolean |
handleSubmit(DynamoHttpServletRequest pRequest,
DynamoHttpServletResponse pResponse)
For each item type generate a query and then execute it. |
void |
setItemDescriptor(java.lang.String pItemDescriptor)
Sets the view name |
void |
setLoggingIdentifier(java.lang.String pLoggingIdentifier)
Sets property LoggingIdentifier |
void |
setRepository(Repository pRepository)
Sets the Repository |
protected void |
setRepositoryItemGroup(atg.targeting.RuleBasedRepositoryItemGroup pObject)
Sets the RepositoryItemGroup |
void |
setRuleRepresentation(java.lang.String pRuleRepresentation)
Sets the SGML rule param pRuleRepresentation the SGML targeting rule |
Methods inherited from class atg.droplet.EmptyFormHandler |
---|
afterGet, beforeGet |
Methods inherited from class atg.nucleus.logging.VariableArgumentApplicationLoggingImpl |
---|
vlogDebug, vlogDebug, vlogDebug, vlogDebug, vlogError, vlogError, vlogError, vlogError, vlogInfo, vlogInfo, vlogInfo, vlogInfo, vlogTrace, vlogTrace, vlogTrace, vlogTrace, vlogWarning, vlogWarning, vlogWarning, vlogWarning |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String CLASS_VERSION
public static final java.lang.String RESOURCE_BUNDLE
Constructor Detail |
---|
public FilterFormHandler()
Method Detail |
---|
public void setLoggingIdentifier(java.lang.String pLoggingIdentifier)
pLoggingIdentifier
- the logging identifierpublic java.lang.String getLoggingIdentifier()
public java.lang.String getItemDescriptor()
public void setItemDescriptor(java.lang.String pItemDescriptor)
pItemDescriptor
- the item descriptor nameprotected void setRepositoryItemGroup(atg.targeting.RuleBasedRepositoryItemGroup pObject)
pObject
- the rule based repository item grouppublic atg.targeting.RuleBasedRepositoryItemGroup getRepositoryItemGroup()
public java.lang.String getRuleRepresentation()
public void setRuleRepresentation(java.lang.String pRuleRepresentation)
public void setRepository(Repository pRepository)
pRepository
- the repositorypublic Repository getRepository()
public boolean handleSubmit(DynamoHttpServletRequest pRequest, DynamoHttpServletResponse pResponse) throws javax.servlet.ServletException, java.io.IOException
pRequest
- the servlet's requestpResponse
- the servlet's response
javax.servlet.ServletException
- if there was an error while executing the code
java.io.IOException
- if there was an error with servlet io
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |