|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Extended interface for collections, providing
- extended link creation methods.
- workspace support methods.
* Copyright (c) SAP AG 2002-2004
| Method Summary | |
IResource |
createExternalLink(java.lang.String name,
IUri absoluteTargetUri,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an external link, compatible to LinkType.EXTERNAL |
IResource |
createInternalDynamicLink(java.lang.String name,
RID targetRid,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an internal link that automatically follows the target resource and disappears when the link target disappears. |
IResource |
createInternalStaticLink(java.lang.String name,
RID targetRid,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
Creates an internal link, compatible to LinkType.INTERNAL |
IResource |
createVersionControlledResource(RID baseRevisionRid,
java.lang.String name,
IPosition position)
If called on a workspace controlled collection, a new version controlled resource based on the given revision is created |
ICollection |
createWorkspace(java.lang.String name,
IPosition position)
Creates a new workspace resource. |
IResourceList |
getChildren(java.lang.Boolean visible,
java.lang.Boolean collections,
java.lang.Boolean links)
Returns a filtered list of the resources in this collection. |
| Method Detail |
public IResource createExternalLink(java.lang.String name,
IUri absoluteTargetUri,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException
LinkType.EXTERNALname - member name in collectionisPermanent - whether the redirection is temporary (continue using the
RID of the link) or permanent (use of the RID of the link discouraged)position - position where to create the link (or null
when unspecified)properties - initial property map for link resourceignorePropertyFailures - set to true to ignore errors
while initializing the property mapabsoluteTargetUri - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situation
public IResource createInternalDynamicLink(java.lang.String name,
RID targetRid,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException
Note that a relative RID will be resolved upon creation of the link resource.
name - member name in collectiontargetRid - link targetposition - position where to create the link (or null
when unspecified)properties - initial property map for link resourceignorePropertyFailures - set to true to ignore errors
while initializing the property mapResourceException - Exception raised in failure situation
public IResource createInternalStaticLink(java.lang.String name,
RID targetRid,
boolean isPermanent,
IPosition position,
IPropertyMap properties,
boolean ignorePropertyFailures)
throws ResourceException
LinkType.INTERNALname - member name in collectionisPermanent - whether the redirection is temporary (continue using the
RID of the link) or permanent (use of the RID of the link discouraged)position - position where to create the link (or null
when unspecified)properties - initial property map for link resourceignorePropertyFailures - set to true to ignore errors
while initializing the property maptargetRid - TBD: Description of the incoming method parameterResourceException - Exception raised in failure situation
public ICollection createWorkspace(java.lang.String name,
IPosition position)
throws ResourceException,
NotSupportedException
name - member name in collectionposition - position where to create the link (or null
when unspecified)ResourceException - Exception raised in failure situationNotSupportedException - if called on a resource that is not a
workspace collection
public IResource createVersionControlledResource(RID baseRevisionRid,
java.lang.String name,
IPosition position)
throws ResourceException,
NotSupportedException
baseRevisionRid - the rid of the new vcr's base revisionname - member name in collectionposition - position where to create the vcr (or null when
unspecified)ResourceException - Exception raised in failure situationNotSupportedException - if called on a resource that is not a sibling
of a workspace resource
public IResourceList getChildren(java.lang.Boolean visible,
java.lang.Boolean collections,
java.lang.Boolean links)
throws ResourceException,
AccessDeniedException
visible - true: only visible resource (system property "hidden" is
false), false: only hidden resources, null: not relevantcollections - true: only collections, false: only resources which are
not collections, null: note relevantlinks - true: only links, false: only non-link resources, null: not
relevantResourceException - AccessDeniedException - If the resource is locked, readonly or
authorization failed
|
SAP NetWeaver '04 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||