Home > Contents > Index >
ASGetAttributeValues
Returns specified attribute values for all flex assets for the created assetset.
Syntax
ASGetAttributeValues(java.lang.String authusername, java.lang.String authpassword, java.lang.String TYPENAME, java.lang.String ATTRIBUTE, java.lang.String ORDERING, java.lang.String ASSETTYPES, com.FatWire.IList ASSETTYPESLIST, com.FatWire.Searchstate SEARCHSTATE, java.lang.String LOCALE (deprecated), com.FatWire.IList ASSETS)Parameters
authusername (required)- (String) Name of the user to log in, as registered in Sites .
authpassword(required)- (String) Password for the associated user name.
TYPENAME (optional)- (String) Input parameter. The internal asset name for the attribute (either CAttributes for content attribute, or PAttributes for product attribute). CAttribute specifies the content flex asset type. PAttribute indicates the product flex asset type. If you do not specify
TYPENAME, a value is supplied from a property in thegator.iniproperty file:mwb.defaultattributes=PAttributes. The default value, which isPAttributes, may be changed.
ATTRIBUTE (required)- Input parameter. Name of the attribute for which you want to retrieve values.
ORDERING (optional)- Input parameter. Indicates whether the result list should be in ascending or descending order. Value can be either
ascendingordescending.
ASSETTYPES (optional)- (String) Input parameter. Name of a list of asset types to include in building the asset count. Comma separated list of flex asset types to match. If null, then all assets in the system are considered. Specify either
ASSETTYPESLISTandASSETSorSEARCHSTATEandASSETTYPES, but not both.
ASSETTYPESLIST (optional)- (
IListobject) Input list containing oneassettypecolumn that includes values that restrict the count.
- Specify either
ASSETTYPESLISTandASSETSorSEARCHSTATEandASSETTYPES, but not both. If you specifyASSETTYPESLIST,ASSETSis required. If both parameters are supplied,ASSETTYPESLISTis used by default.
SEARCHSTATE (optional)- (
Searchstateobject) Input parameter.Searchstateobject that contains the criteria to match. TheSearchstateobject describes the search constraints, if any.
- Specify either
SEARCHSTATEandASSETTYPESorASSETTYPESLISTandASSET, but not both. If both parameters are supplied,ASSETTYPESLISTandASSETSis used by default.
LOCALE(deprecated)- (String) Language and country specification associated with the asset. Locale ensures that information and figures on a page are presented to users according to accepted conventions in their country. A locale specification comprises two-character language and country codes separated by an underscore character and enclosed in quotes. For example, for English speakers in the United States:
"en_us"
ASSETS (optional)- (IList) Name of a list of assets passed to Sites that form the asset set. The list of assets is an IList with two columns (
assetidandassettype). This operation is required if you are supplying a list of assets to build the asset set instead of a SearchState. Specify eitherASSETTYPELISTandASSETSorASSETTYPESandSEARCHSTATE, but not both. If both parameters are supplied,ASSETSis used by default.
Returns
List with a column named
valuethat contains values for the specified attribute for all flex assets in the created assetset.Example
The following code creates a SearchState, passes the SearchState to the
GetAttributeValuesoperation, and returns values of the attributes.AssetsetService service = new AssetsetServiceLocator(); AssetsetPortType port = service.getAssetsetPort(); Searchstate ss = new Searchstate(); IList myList = port.ASGetAttributeValues("user_author", "demo", "PAttributes", "FundFamily", null, "Products", null, ss , null, null);See Also
Home > Contents > Index > ![]()
Oracle Web Services Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.