com.ptc.core.query.command.common
Class AttributeContainerQueryCommand

java.lang.Object
  extended by com.ptc.core.command.common.bean.AbstractCommand
      extended by com.ptc.core.command.common.bean.AbstractServerCommand
          extended by com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
              extended by com.ptc.core.query.command.common.AbstractQueryCommand
                  extended by com.ptc.core.query.command.common.BasicQueryCommand
                      extended by com.ptc.core.query.command.common.AttributeContainerQueryCommand
All Implemented Interfaces:
PageRequest, RepositoryCommand, com.ptc.core.command.common.Command, com.ptc.core.command.common.ServerCommand, Externalizable, Serializable

public class AttributeContainerQueryCommand
extends BasicQueryCommand
implements Externalizable

This class provies a query implementation based on the contents of an AttributeContainer. The results, criteria, and sort specifications are derived from the input AttributeContainer.

Supported API: true

Extendable: false

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.ptc.core.command.common.bean.repository.RepositoryCommand
PAGE_MODE, RESULT_CONTAINER, RESULT_SESSION, SORT
 
Fields inherited from interface com.ptc.core.command.common.bean.repository.PageRequest
COUNT, OFFSET
 
Method Summary
 TypeIdentifier[] getExcludedTypes()
          Gets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.
 AttributeContainer getInputContainer()
          Gets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.
 void setExcludedTypes(TypeIdentifier[] a_ExcludedTypes)
          Sets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.
 void setInputContainer(AttributeContainer a_InputContainer)
          Sets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.
 
Methods inherited from class com.ptc.core.query.command.common.BasicQueryCommand
appendCriteria, getResult, getSort, setCriteria, setResult, setSort
 
Methods inherited from class com.ptc.core.query.command.common.AbstractQueryCommand
getCriteriaAugmentor, getPageMode, setCriteriaAugmentor, setPageMode
 
Methods inherited from class com.ptc.core.command.common.bean.repository.AbstractRepositoryCommand
getCount, getOffset, getResultContainer, getResultList, getResultSession, setCount, setOffset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getInputContainer

public AttributeContainer getInputContainer()
                                     throws UnsupportedOperationException
Gets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.

Supported API: true

Returns:
AttributeContainer
Throws:
UnsupportedOperationException

setInputContainer

public void setInputContainer(AttributeContainer a_InputContainer)
                       throws UnsupportedOperationException,
                              WTPropertyVetoException,
                              com.ptc.core.command.common.CommandException
Sets the value of the attribute: inputContainer; The input attribute container that will be used as the basis of the query.

Supported API: true

Parameters:
a_InputContainer -
Throws:
UnsupportedOperationException
WTPropertyVetoException
com.ptc.core.command.common.CommandException

getExcludedTypes

public TypeIdentifier[] getExcludedTypes()
Gets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.

Supported API: true

Returns:
TypeIdentifier[]

setExcludedTypes

public void setExcludedTypes(TypeIdentifier[] a_ExcludedTypes)
                      throws WTPropertyVetoException
Sets the value of the attribute: excludedTypes; An optional list of types that will be excluded from the results.

Supported API: true

Parameters:
a_ExcludedTypes -
Throws:
WTPropertyVetoException