public interface IDfResultObjectManager
Modifier and Type | Method and Description |
---|---|
IDfPersistentObject |
getAsPersistentObject(IDfResultEntry entry)
Gets the IDfTypedObject corresponding to the result.
|
IDfResultContent |
getContent(IDfResultEntry entry)
Gets the content corresponding to the result.
|
IDfId |
getObjectId(IDfResultEntry entry)
Gets the object ID of the object corresponding to the result.
|
java.lang.String |
getURL(IDfResultEntry entry)
Gets the URL where the result's content can be accessed.
|
boolean |
isRepositoryObject(IDfResultEntry entry)
Indicates whether the result comes from a repository and can be accessed as a IDfSysObject.
|
boolean |
isURLAdressible(IDfResultEntry entry)
Indicates if the result's content is accessible directly through a URL.
|
boolean isRepositoryObject(IDfResultEntry entry) throws DfException
entry
- An object representing a single result entry.true
, if the result entry is a reporitory object.DfException
IDfPersistentObject getAsPersistentObject(IDfResultEntry entry) throws DfException
entry
- An object representing a single result entry.DfException
- If a server error occurs or if the result doesn't come from a repository.IDfId getObjectId(IDfResultEntry entry) throws DfException
entry
- An object representing a single result entry.DfException
- If a server error occurs or if the result doesn't come from a repository.boolean isURLAdressible(IDfResultEntry entry) throws DfException
entry
- An object representing a single result entry.true
, if the result entry is accessible through a URL.DfException
java.lang.String getURL(IDfResultEntry entry) throws DfException
entry
- An object representing a single result entry.DfException
- If the result is not URL addressible.IDfResultContent getContent(IDfResultEntry entry) throws DfException
entry
- The result entry whose content to retrieve.DfException
- If the connection to the external source fails.Copyright 1994-2023 OpenText Corporation. All rights reserved.