|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A resource represents an object in a repository and is uniquely identified by
a resource identifier (RID). Clients use this interface and the
derived ICollection interface to manipulate the resources in a
repository. Every repository is controlled by a repository manager (getRepositoryManager()), which is resposible for createing resource instances
and carrying out all basic operations (create, update content or properties,
deleting, etc.).
The Repository Framework knows these kinds of resources:
Normal resources: A resource has an identifier (RID) which is unique
within a CM system (getRID()) and usually has content (getContent()) and properties (getProperties()).
Collections: isCollection() returns true . The
items in a collection are called "children" and are accessed with ICollection.getChildren().
Links: getLinkType() returns INTERNAL or EXTERNAL. Internal
links point to other resources (in the same or a different repository),
external links point to resources outside the CM system (URL). The link
target for internal links is access with getTargetResource(). The
target can again be a link. Links to collections are themselfs collections. A
link resource usually has no content but might have properties.
Version Controlled Resources: isVersioned() returns true
. A version controlled resource must be checked out to be modified.
All revisions of the content and/or properties will be recorded in a version
history (getVersionHistory()). The resources in the version history
are called "revisions".
Revisions: isRevision() returns true . A revision
provides read-only access to the properties and the content of a version of
the version controlled resource.
Deleted resources: As soon as the delete() method has been
called the resource instance is in a special state. All methods except
getRID() and getName() are prohibited and will throw an exception.
Copyright (c) SAP AG 2001-2004
| Method Summary | |
java.lang.Object |
as(java.lang.Class classref)
Get a representation of this resource as the specified class. |
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties)
Check in a new version of the resource with new content and/or properties. |
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures)
Check in a new version of the resource with new content and/or properties. |
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
RID expectedCheckInRID)
Check in a new version of the resource with new content and/or properties. |
ICheckInInfo |
checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
URI expectedCheckInURI)
Deprecated. As of EP 5.0 SP4 |
ICheckOutInfo |
checkOut()
Check out the resource for editing. |
IResource |
copy(RID destinationRID,
ICopyParameter param)
Copy the resource. |
IResource |
copy(RID destinationRID,
IPosition position,
ICopyParameter param)
Copy the resource to a destination collection that supports ordered children. |
IResource |
copy(URI destinationURI,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by copy() with RID parameter. |
IResource |
copy(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by copy() with RID parameter. |
void |
delete()
Deletes this resource from the repository. |
void |
deleteProperty(IPropertyName propName)
Removes the property. |
void |
enableVersioning(boolean enable)
Enables or disables versioning. |
RID |
getAccessRID()
Returns the RID that was used to create this resource object in
IResourceFactory.getResource |
URI |
getAccessURI()
Deprecated. As of EP 5.0 SP3, replaced by getAccessRID() |
IResourceList |
getCheckedOutResources()
Returns a list of currently checked out resources. |
IContent |
getContent()
Returns the content of this resource. |
IContent |
getContent(boolean handleExternalLink)
Deprecated. As of EP 5.0 SP 5 This method is deprecated because it opens a potential security hole: The URL of an external link can have different schemas (e.g. "file:") which are all accessed with the security context of the servlet engine. This could be (ab)used to access files/resources on the local server and other systems without the security context of the logged in user.
No longer supported as of SP6: Throws a NotSupportedException if
parameter is |
IResourceContext |
getContext()
Returns the resource context |
java.lang.String |
getCreatedBy()
Get value of the system property CreatedBy. |
java.util.Date |
getCreationDate()
Get value of the system property CreationDate |
java.lang.String |
getDescription()
Get value of the system property Description |
java.lang.String |
getDisplayName()
Returns the value of the Displayname system property or null
if the property is not set. |
java.lang.String |
getDisplayName(boolean orNameIfNull)
Returns the value of the Displayname system property or null
if the property is not set. |
java.lang.String |
getETag()
Get value of the system property ETag, reflecting the HTTP entity tag for the unfiltered content of this resource. |
IProperty |
getInheritedProperty(IPropertyName propName)
Get a property of the resource or inherit it. |
java.lang.String |
getLanguage()
Returns the language |
java.util.Date |
getLastModified()
Get value of the system property LastModified |
java.lang.String |
getLastModifiedBy()
Get value of the system property LastModifiedBy. |
LinkType |
getLinkType()
Returns the link type (NONE if the resource is not a link). |
ILockInfo |
getLockByToken(java.lang.String lockToken)
Get a LockInfo for the token. |
ILockInfoCollection |
getLocks()
Returns a collection of all existing locks. |
java.lang.String |
getName()
Get name of the resource. |
ICollection |
getParentCollection()
Returns the parent collection of this resource. |
IPropertyMap |
getProperties()
Returns a map with IProperty references for the resource. |
IPropertyMap |
getProperties(IPropertyNameList propNameList)
Returns a map with IProperty references for the resource. |
IProperty |
getProperty(IPropertyName propName)
Get a property. |
IRepositoryManager |
getRepositoryManager()
Get the repository manager for this resource |
java.lang.String |
getResourceType()
Returns the value of the ResourceType system property or an empty string if the property is not set. |
java.lang.String |
getRevisionID()
Returns the identifier for this revision. |
RID |
getRID()
Get the ID (path) of this resource. |
IEventList |
getSupportedEvents()
Returns a collection of supported resource events and semantic events for this resource. |
ISupportedOptionSet |
getSupportedOptions()
Returns a collection of supported options for the resource. |
IResource |
getTargetResource()
Returns the target resource of an internal link. |
URL |
getTargetURL()
Returns the target URL of a link or null if the resource is
not a link. |
IContent |
getUnfilteredContent()
Returns the content of this resource without applying content filters. |
IContent |
getUnfilteredContent(boolean handleExternalLink)
Returns the content of this resource without applying content filters. |
URI |
getURI()
Deprecated. As of EP 5.0 SP3, replaced by getRID() |
IVersionHistory |
getVersionHistory()
Returns the version history of this resource. |
boolean |
isA(java.lang.Class classtest)
Returns whether this resource has a representation as the class. |
boolean |
isCheckedOut()
Returns true if this resource is currently checked out. |
boolean |
isCollection()
Returns true if this resource is a collection |
boolean |
isHidden()
Get value of the system property Hidden |
boolean |
isLocked()
Returns true if this resource is locked. |
boolean |
isLockedByMe()
Returns true if this resource is locked by the current user in
the context. |
boolean |
isReadOnly()
Get value of the system property Readonly |
boolean |
isRevision()
Returns true if this resource is a revision. |
boolean |
isVersioned()
Returns true if versioning is enabled for this resource. |
ILockInfo |
lock()
Lock the resource using the current user in the context. |
ILockInfo |
lock(ILockProperties lockProperties)
Lock the resource using the current user in the context. |
IResource |
move(RID destinationRID,
ICopyParameter param)
Move the resource's content and properties |
IResource |
move(RID destinationRID,
IPosition position,
ICopyParameter param)
Move the resource to a destination collection that supports ordered children. |
IResource |
move(URI destinationURI,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by move() with RID parameter. |
IResource |
move(URI destinationURI,
IPosition position,
ICopyParameter param)
Deprecated. As of EP 5.0 SP5, replaced by move() with RID parameter. |
void |
refreshLock(ILockInfo lockInfo)
Refresh the lock. |
void |
rename(java.lang.String newName)
Changes the name of this resource. |
IResourceList |
search(IQueryExpression query,
int depth,
int maxResults,
boolean includeRevisions)
Queries the resource and optionally the collection hierarchy for resources. |
void |
setAsCurrentVersion()
Deprecated. As of EP 5.0 SP5 This method will fail if it's not possible to unambigously identify the version-controlled resource to be updated (this may happen when working resources or workspaces are used). Instead check out the version-controlled resource, copy the version onto it, then check it back again. |
void |
setLinkType(LinkType linkType)
Changes the link type. |
void |
setProperties(IPropertyMap props)
Set all properties of the resource. |
void |
setProperties(java.util.List propChangeList)
Change the properties of the resource. |
void |
setProperty(IProperty prop)
Sets a property. |
void |
setTargetURL(URL url)
Changes the target URL of a link. |
void |
undoCheckOut()
Undo a previous check out operation. |
void |
unlock(ILockInfo lockInfo)
Unlock the resource using the current user in the context. |
void |
update(IContent newContent,
IPropertyMap properties)
Updates the content and properties of this resource in an atomic operation. |
void |
updateContent(IContent newContent)
Updates the content of this resource. |
| Methods inherited from interface com.sapportals.wcm.repository.so.ITypeCast |
listTypes |
| Method Detail |
public IEventList getSupportedEvents()
throws ResourceException
ResourceException - Exception raised in failure situationpublic ISupportedOptionSet getSupportedOptions()
public IResourceContext getContext()
public IRepositoryManager getRepositoryManager()
public java.lang.String getName()
throws ResourceException
ResourceException - public java.util.Date getCreationDate()
public java.util.Date getLastModified()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
null
if the property is not set.null
if the property is not set.public java.lang.String getDisplayName(boolean orNameIfNull)
null
if the property is not set. If the boolean parameter is true
the name (last part of the resource identifier) is used as a fallback if
the property is not set.orNameIfNull - If true, the name (last part of the resource
identifier) is used as a fallback if the DisplayName property is not
set.public java.lang.String getResourceType()
public java.lang.String getCreatedBy()
public java.lang.String getLastModifiedBy()
public java.lang.String getETag()
Note: The ETag of a resource is not a unique identifier.
public java.lang.String getLanguage()
public URI getURI()
throws ResourceException
getRID()
ResourceException - Exception raised in failure situation
public RID getRID()
throws ResourceException
getResource("/prefix-repository-a/xxx/link-to-collection-in-repository-b/xxx/test.html",
...) getRID() returns:
/prefix-repository-b/dir1/dir2/link-target/xxx/test.html A repository might provide special RIDs for revision resources to provide access to all the resources in the version history via some kind of "virtual" collection. The syntax of the revision RID is specific to each repository.
ResourceException - isRevision(),
getAccessRID()
public URI getAccessURI()
throws ResourceException
getAccessRID()
ResourceException - Exception raised in failure situation
public RID getAccessRID()
throws ResourceException
IResourceFactory.getResourceResourceException - getRID()public boolean isReadOnly()
public boolean isHidden()
public boolean isCollection()
true if this resource is a collectiontrue if this resource is a collection
public void rename(java.lang.String newName)
throws ResourceException,
NotSupportedException,
AccessDeniedException
newName - The new nameResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ICollection getParentCollection()
throws ResourceException,
AccessDeniedException
null if this resource is the root collection. If this resource
is a revision (@link #isRevision) the returned resource is the parent
collection of the versioned controlled resource of the revision. The return
value might be null because repository manager implementation
might not support this call for revision at all or it is not possible for
some revisions, for example if the version controlled resource does not
exist anymore.ResourceException - AccessDeniedException - If authorization failed
public IContent getContent()
throws ResourceException,
AccessDeniedException
ResourceException - AccessDeniedException - If authorization failed
public IContent getContent(boolean handleExternalLink)
throws ResourceException,
AccessDeniedException
This method is deprecated because it opens a potential security hole: The URL of an external link can have different schemas (e.g. "file:") which are all accessed with the security context of the servlet engine. This could be (ab)used to access files/resources on the local server and other systems without the security context of the logged in user.
No longer supported as of SP6: Throws a NotSupportedException if
parameter is true
handleExternalLink - If true , try to read the content
from an external source, if the resource is a external link.ResourceException - AccessDeniedException - If authorization failed
public IContent getUnfilteredContent()
throws ResourceException,
AccessDeniedException
ResourceException - AccessDeniedException - If authorization failed
public IContent getUnfilteredContent(boolean handleExternalLink)
throws ResourceException,
AccessDeniedException
handleExternalLink - If true , try to read the content
from an external source, if the resource is a external link.ResourceException - AccessDeniedException - If authorization failed
public void delete()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void updateContent(IContent newContent)
throws ResourceException,
NotSupportedException,
AccessDeniedException
newContent - The new contentResourceException - NotSupportedException - AccessDeniedException - If authorization failedContent
public void update(IContent newContent,
IPropertyMap properties)
throws ResourceException,
NotSupportedException,
AccessDeniedException,
SetPropertiesException
newContent - The new contentproperties - A map with propertiesResourceException - NotSupportedException - AccessDeniedException - If authorization failedSetPropertiesException - If some properties could not be set or
removedContent
public IResource copy(URI destinationURI,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
public IResource copy(URI destinationURI,
IPosition position,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterposition - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
public IResource move(URI destinationURI,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
public IResource move(URI destinationURI,
IPosition position,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationURI - TBD: Description of the incoming method parameterposition - TBD: Description of the incoming method parameterparam - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
public IResource copy(RID destinationRID,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationRID - the RID of the destination (includes the name). All
collections in the destination RID must already exists.param - The copy parameter object, can be nullResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IResource copy(RID destinationRID,
IPosition position,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationRID - the RID of the destination (includes the name). All
collections in the destination RID must already exists.position - The positioning informationparam - The copy parameter object, can be nullResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IResource move(RID destinationRID,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
destinationRID - The RID of the destination (includes the name). All
collections in the destination RID must already exists.param - The copy parameter object, can be nullResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IResource move(RID destinationRID,
IPosition position,
ICopyParameter param)
throws ResourceException,
NotSupportedException,
AccessDeniedException
null .destinationRID - The RID of the destinationposition - The positioning informationparam - The copy parameter object, can be nullResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IPropertyMap getProperties()
throws ResourceException,
NotSupportedException,
AccessDeniedException
IProperty references for the resource.ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IPropertyMap getProperties(IPropertyNameList propNameList)
throws ResourceException,
NotSupportedException,
AccessDeniedException
IProperty references for the resource.propNameList - The list with the requested property names.ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void setProperties(IPropertyMap props)
throws ResourceException,
NotSupportedException,
AccessDeniedException,
SetPropertiesException
props - The map with the properties.ResourceException - NotSupportedException - AccessDeniedException - If authorization failedSetPropertiesException - If the call was succesfull but some of
the properties could not be set or removed
public void setProperties(java.util.List propChangeList)
throws ResourceException,
NotSupportedException,
AccessDeniedException,
SetPropertiesException
propChangeList - change list (contains IProperty entries for properties to be set and IPropertyName entries for properties to be removed)ResourceException - NotSupportedException - AccessDeniedException - If authorization failedSetPropertiesException - If the call was succesfull but some of
the properties could not be set or removed
public IProperty getProperty(IPropertyName propName)
throws ResourceException,
NotSupportedException,
AccessDeniedException
propName - The property name of the property to readResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IProperty getInheritedProperty(IPropertyName propName)
throws ResourceException,
NotSupportedException,
AccessDeniedException
propName - The property name of the property to findResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void setProperty(IProperty prop)
throws ResourceException,
NotSupportedException,
AccessDeniedException
prop - The property to setResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void deleteProperty(IPropertyName propName)
throws ResourceException,
NotSupportedException,
AccessDeniedException
propName - The property name of the property to deleteResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ILockInfo lock()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ILockInfo lock(ILockProperties lockProperties)
throws ResourceException,
NotSupportedException,
AccessDeniedException
lockProperties - The lock properties defining the scope, type and
time-out of the lock.ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void unlock(ILockInfo lockInfo)
throws ResourceException,
NotSupportedException,
AccessDeniedException
lockInfo - The LockInfoResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void refreshLock(ILockInfo lockInfo)
throws ResourceException,
NotSupportedException,
AccessDeniedException
lockInfo - The LockInfoResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ILockInfo getLockByToken(java.lang.String lockToken)
throws ResourceException,
NotSupportedException
lockToken - TBD: Description of the incoming method parameterNotSupportedException - ResourceException - Exception raised in failure situation
public ILockInfoCollection getLocks()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public boolean isLocked()
throws ResourceException
true if this resource is locked.true if this resource is locked.ResourceException -
public boolean isLockedByMe()
throws ResourceException
true if this resource is locked by the current user in
the context.true if this resource is locked by the current user in
the context.ResourceException -
public URL getTargetURL()
throws ResourceException
null if the resource is
not a link.null if the resource is
not a link.ResourceException -
public void setTargetURL(URL url)
throws ResourceException,
AccessDeniedException
url - targetURL to be setResourceException - AccessDeniedException - If authorization failed
public IResource getTargetResource()
throws ResourceException
null . The method
will resolve relativ internal links and links to target resources which are
links.ResourceException -
public LinkType getLinkType()
throws ResourceException
ResourceException -
public void setLinkType(LinkType linkType)
throws ResourceException,
AccessDeniedException
linkType - linkType to be setResourceException - AccessDeniedException - If authorization failed
public void enableVersioning(boolean enable)
throws ResourceException,
NotSupportedException,
AccessDeniedException
true /false but versioning is
already enabled/disabled.enable - TBD: Description of the incoming method parameterResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public boolean isVersioned()
throws ResourceException
true if versioning is enabled for this resource.true if versioning is enabled for this resource.ResourceException - public boolean isRevision()
true if this resource is a revision.true if this resource is a revision.public java.lang.String getRevisionID()
isVersioned()) the
return value will be null .
public boolean isCheckedOut()
throws ResourceException
true if this resource is currently checked out.true if this resource is currently checked out.ResourceException -
public ICheckOutInfo checkOut()
throws ResourceException,
NotSupportedException,
AccessDeniedException
null if the repository
does not support the "expected check-in RID" option.ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public void undoCheckOut()
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ICheckInInfo checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
URI expectedCheckInURI)
throws ResourceException,
NotSupportedException,
AccessDeniedException,
ExpectedCheckInURIException
newContent - TBD: Description of the incoming method parameterproperties - TBD: Description of the incoming method parameterignorePropertyFailures - TBD: Description of the incoming method
parameterexpectedCheckInURI - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situationExpectedCheckInURIException - Exception raised in failure
situation
public ICheckInInfo checkIn(IContent newContent,
IPropertyMap properties)
throws ResourceException,
NotSupportedException,
AccessDeniedException
newContent - The new content. Can be null : the existing
content will be used for the new version.properties - The new properties, can be nullResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ICheckInInfo checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException,
NotSupportedException,
AccessDeniedException
newContent - The new content. Can be null : the existing
content will be used for the new version.properties - The new properties, can be nullignorePropertyFailures - Ignore exceptions if some or all properties
could not be set/removedResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public ICheckInInfo checkIn(IContent newContent,
IPropertyMap properties,
boolean ignorePropertyFailures,
RID expectedCheckInRID)
throws ResourceException,
NotSupportedException,
AccessDeniedException,
ExpectedCheckInRIDException
newContent - The new content, can be nullproperties - The new properties, can be nullignorePropertyFailures - Ignore exceptions if some or all properties
could not be set/removedexpectedCheckInRID - Create the new revision with this revision RID.
The check-in may fail if the new revision RID would be
different. In this case an ExpectedCheckInRID exception will be thrown
which will contain a new "expected check-in RID". To make sure that
the expectedCheckInRID actually was used, it needs to be
compared to the RID returned by ICheckInInfo.getRevisionRID()
(this is because a repository may check-in the resource although it
couldn't use the expectedCheckInRID).ResourceException - NotSupportedException - AccessDeniedException - If authorization failedExpectedCheckInRIDException - Exception raised in failure
situationcheckOut()
public IVersionHistory getVersionHistory()
throws ResourceException,
NotSupportedException
IVersionHistory is restricted to linear (non-branching) version histories,
therefore this method will fail if the version history is not linear.ResourceException - NotSupportedException -
public void setAsCurrentVersion()
throws ResourceException,
NotSupportedException,
AccessDeniedException
Note that {@IVersionControlledResource} supports a more powerful update mechanism that will actually create proper branches in the version history.
ResourceException - NotSupportedException - AccessDeniedException - If authorization failed
public IResourceList getCheckedOutResources()
throws ResourceException,
NotSupportedException,
AccessDeniedException
null if no resources are checked outResourceException - NotSupportedException - AccessDeniedException - public boolean isA(java.lang.Class classtest)
ResourceImpl class. This base class will always return false
.isA in interface ITypeCastclasstest - class to test for.
public java.lang.Object as(java.lang.Class classref)
throws ResourceException,
NotSupportedException,
AccessDeniedException
ResourceImpl
class. This base class will always return null .as in interface ITypeCastclassref - TBD: Description of the incoming method parameternull .ResourceException - Exception raised in failure situationNotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
public IResourceList search(IQueryExpression query,
int depth,
int maxResults,
boolean includeRevisions)
throws ResourceException,
NotSupportedException,
AccessDeniedException
query - The query specificationdepth - The search depth (0, 1, or Integer.MAX_VALUE)maxResults - The maximum number of resources that will be returnedincludeRevisions - when set to true , also descend into
version history (independantly of depth)ResourceException - NotSupportedException - Exception raised in failure situationAccessDeniedException - Exception raised in failure situation
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||