public abstract class LinkBrowseSearchRequest extends LinkRequestBase
accessCode, itemName, linkTokenUTF_8| Modifier and Type | Method and Description |
|---|---|
static LinkBrowseSearchRequest |
create(FssApiVersion apiVersion,
java.lang.String linkToken,
java.lang.String itemName,
java.lang.String accessCode,
java.lang.String path,
java.lang.String filter)
Returns a versioned LinkBrowseSearchRequest that is compatible with the specified apiVersion.
|
java.lang.String |
getFilter()
Returns the search filter used to find entries.
|
static java.lang.Class<? extends LinkBrowseSearchRequest> |
getFssApiClass(FssApiVersion apiVersion)
Returns the
Class of the LinkBrowseSearchRequest that corresponds to the
specified apiVersion. |
java.lang.String |
getPath()
Returns the path to browse relative to the link
|
protected void |
validate(java.lang.String fieldName,
BaseFssApiResource parent)
Validates this object.
|
getAccessCode, getItemName, getLinkTokenbadValue, badValue, fromJson, toJson, toJson, toString, validate, validateFieldInRange, validateFieldInRange, validateFieldIsNull, validateFieldNotNull, validateLocale, validateOptionalField, validateOptionalFieldList, validateRequiredField, validateRequiredFieldList, writeToOutputStreampublic static java.lang.Class<? extends LinkBrowseSearchRequest> getFssApiClass(FssApiVersion apiVersion) throws AwUnsupportedApiVersionException
Class of the LinkBrowseSearchRequest that corresponds to the
specified apiVersion.apiVersion - API version of the class to be returnedClass of the LinkBrowseSearchRequest that corresponds to the
specified apiVersionAwUnsupportedApiVersionExceptionpublic static LinkBrowseSearchRequest create(FssApiVersion apiVersion, java.lang.String linkToken, java.lang.String itemName, java.lang.String accessCode, java.lang.String path, java.lang.String filter) throws AwUnsupportedApiVersionException
apiVersion - API version to be supported by the LinkBrowseSearchRequestlinkToken - The token that uniquely identifies the link.itemName - The item (file or folder) that the link points to.accessCode - The access code of the link, if it has one.path - The path relative to the link to search under.filter - The filter to use for searching.AwUnsupportedApiVersionExceptionprotected void validate(java.lang.String fieldName,
BaseFssApiResource parent)
throws AwJsonException
validate in class LinkRequestBasefieldName - name of this object in the parent (containing) object. If this object is a
top-level object (not contained within another object), then enter null for this
parameterparent - parent (containing) object that contains the object specified in the fieldName
parameter. If this object is a top-level object (not contained within another
object), then enter null for this parameterAwJsonException - if any validation errors occurBaseFssApiResource.validate(String, BaseFssApiResource)public java.lang.String getPath()
public java.lang.String getFilter()