Home > Contents > Index >
AssetInspect
Creates a list with the asset's attributes and the specification for each attribute.
Syntax
assetInspect(java.lang.String authusername, java.lang.String authpassword, java.lang.String TYPE, java.lang.String SITEID, java.lang.String SUBTYPE)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.
SITEID (optional)
- (String) ID of the site (formerly publication).
SUBTYPE (optional)
- (String) Asset subtype.
Description
The returned list has columns
NAME
andSPEC
.Returns
IList.
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. -12004 An asset was not found for a specified ID. -12006 There is no such asset type.
Example
This code inspects Product_C:
AssetService service = new AssetServiceLocator(); AssetPortType port = service.getassetPort(); IList myList = port.assetInspect("user_author", "demo", "Product_C", null, null);
Home > Contents > Index > ![]()
Oracle Web Services Reference
Copyright (c) 2013, 2019, Oracle and/or its affiliates. All rights reserved.