Purpose TOC | Annotated TOC |
AssetGetLegalSubtypes
Gets a list of asset subtypes that are valid for this asset type.
Syntax
assetGetLegalSubtypes(java.lang.String authusername, java.lang.String authpassword, java.lang.String TYPE, java.lang.String PUBID)Parameters
authusername (required)
- (String) Name of the user to log in, as registered in Sites .
authpassword(required)
- (String) Password for the associated user name.
TYPE (required)
- (String) The asset type of the asset that you want to retrieve from the database.
PUBID (required for flex asset types)
- (String) Site ID. The list of asset subtypes can be restricted by specifying the site ID.
Description
The generated list has a
subtype
column. If the subtype for the asset type is itself an asset type, such as with Collection, Query and Template types, the list also has adescription
column also.Returns
IList containing legal subtypes
Error Numbers
The possible values of
errno
include:
Value Description -10001 The implementing class is invalid. -10002 There is a missing method for the implementing class. -10003 The method could not be invoked successfully. -10004 A required parameter is missing. -12006 There is no such asset type.
Example
This code retrieves the legal subtypes for a flex asset type:
AssetService service = new AssetServiceLocator(); AssetPortType port = service.getassetPort(); IList myList = port.assetGetLegalSubtypes("user_author", "demo", "Product_C", "1112198287026");
Home > Contents > Index > ![]()
Oracle Web Services Reference
Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.