Personalización avanzada > Windchill > Windchill Adapter Webject Library > Query Webjects > All-Versions
  
All-Versions
The All-Versions webject returns the values for the specified attributes for all the versions of a Windchill object. The specified Windchill class must implement the wt.vc.Mastered interface.
Syntax
<ie:webject name="All-Versions" type="OBJ">
<ie:param name="ACCEPT_LANGUAGE"
data="$(@server[]accept_language[])"/>
<ie:param name="ATTRIBUTE" data="attribute"/>
<ie:param name="AUTHORIZATION"
data="$(@server[]authorization[0])"/>
<ie:param name="CONNECTION_ATTEMPTS" data="attempts"/>
<ie:param name="CONNECTION_ATTEMPT_INTERVAL" data="interval"/>
<ie:param name="CONTAINER_REF" data="[ufid | MEMBERSHIP]"/>
<ie:param name="DBUSER" data="username"/>
<ie:param name="FORMAT" data="[TRUE | FALSE]"/>
<ie:param name="GROUP_OUT" data="group_out"/>
<ie:param name="INSTANCE" data="appl_name"/>
<ie:param name="OBJECT_REF" data="object_ref"/>
<ie:param name="PASSWD" data="password"/>
<ie:param name="REFERENCE_EXCEPTIONS" data="[TRUE | FALSE]"/>
<ie:param name="SESSION_ID" data="$(session_id[]SESSION_ID[])"/>
<ie:param name="TYPE" data="type_name"/>
<ie:param name="WHERE" data="where_clause"/>
<ie:param name="WHERE_CASE_SENSITIVITY" data="[TRUE | FALSE]"/>
</ie:webject>
Parameters
Required
Interdependent
Optional
INSTANCE
AUTHORIZATION
ACCEPT_LANGUAGE
TYPE
CONTAINER_REF
ATTRIBUTE
WHERE
DBUSER
CONNECTION_ATTEMPTS
OBJECT_REF
CONNECTION_ATTEMPT_INTERVAL
PASSWD
FORMAT
REFERENCE_EXCEPTIONS
GROUP_OUT
WHERE_CASE_SENSITIVITY
SESSION_ID
* 
If a parameter is listed in the table but is not defined below, then it has a common parameter definition. For descriptions of those parameters, see the Common Webject Parameters section in Adapter Webjects Overview.
CONTAINER_REF
A Windchill context to apply the webject against. This parameter accepts the following types of input:
The UFID of a Windchill context. Multiple UFIDs can be specified for this parameter.
MEMBERSHIP—The query finds only those contexts of which the user is a member.
When this parameter is specified, the scope of queries executed against the TYPE and WHERE parameters are restricted to the associated context.
GROUP_OUT
The name of the output group containing the results. If this parameter is omitted, then the name of the output group is constructed by appending the string “-Output” to the webject name. This parameter is optional.
OBJECT_REF
Specifies the UFID of a specific object to retrieve versions for from the database. This parameter can be specified more than once to identify multiple objects to be retrieved. This parameter can be used in addition to or instead of TYPE and WHERE.
TYPE
The object type name. If WHERE is specified, TYPE must also be specified. For more information, see Specifying the TYPE and WHERE Parameters.
WHERE
Specifies how to find exactly one instance of a Windchill object. If more than one object matches the criteria specified, only the version information for the first object found is returned. For more information, see Specifying the TYPE and WHERE Parameters. This parameter is required.