| Package | Description |
|---|---|
| com.sapportals.wcm.service.relation |
Provides a service to persist relationships between relation operands.
|
| com.sapportals.wcm.service.relation.operands |
Defines objects for which relationships can be specified.
|
| com.sapportals.wcm.service.webdav |
| Modifier and Type | Method and Description |
|---|---|
IRelationTypeAttributes |
IRelationService.checkRelationTypeAttributes(IRelationTypeAttributes attributes,
IRelationOperandType sourceType,
IRelationOperandType targetType)
Get a checked set of attributes which are compatible with the given source
and target operand types and can be use to created a
IRelationType
. |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
IRelationOperand source,
IRelationOperand target)
a shortcut for
createRelation(source,
target, null). |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
IRelationOperand source,
IRelationOperand target,
IPropertyMap properties)
Create a new ordered relation from wrapped operands.
|
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
Object source,
Object target)
a shortcut for
createRelation(source, target, null). |
IRelation |
IRelationType.createRelation(IOrderedRelationPosition position,
Object source,
Object target,
IPropertyMap properties)
Create a ordered relation from operand values.
|
IRelation |
IRelationType.createRelation(IRelationOperand source,
IRelationOperand target)
a shortcut for
createRelation(source, target, null). |
IRelation |
IRelationType.createRelation(IRelationOperand source,
IRelationOperand target,
IPropertyMap properties)
Create a new relation from wrapped operands.
|
IRelation |
IRelationType.createRelation(Object source,
Object target)
a shortcut for
createRelation(source, target, null). |
IRelation |
IRelationType.createRelation(Object source,
Object target,
IPropertyMap properties)
Create a relation from operand values.
|
IRelationType |
IRelationService.createRelationType(IResourceContext context,
String namespace,
String name,
Descriptions descriptions,
IRelationOperandType sourceType,
IRelationOperandType targetType)
Create a new relation type for a given namespace and name if it does not
already exist.
|
IRelationType |
IRelationService.createRelationType(IResourceContext context,
String namespace,
String name,
Descriptions descriptions,
IRelationOperandType sourceType,
IRelationOperandType targetType,
IRelationTypeAttributes attributes)
Create a new relation type for a given namespace, name and set of
attributes if it does not already exist.
|
IRelationType |
IRelationService.createResourceRelationType(IResourceContext context,
String namespace,
String name,
Descriptions descriptions,
IRelationTypeAttributes attributes)
Convenience method to create a relation type for resources as source and
target.
|
IRelationType |
IRelationService.createStringRelationType(IResourceContext context,
String namespace,
String name,
Descriptions descriptions,
IRelationTypeAttributes attributes)
Convenience method to create a relation type for resources as source and
strings as target.
|
IRelationOperand |
IRelationOperandType.getOperand(Object object)
Create the proper operand for a given object, if it belongs to this type.
|
IRelationOperand |
IRelationOperandType.getOperand(String id,
IResourceContext context)
Get the operand for a given id and context.
|
IRelation |
IRelationType.getRelation(IRelationOperand source,
IRelationOperand target)
Get the relation for a given wrapped source and target.
|
IRelation |
IRelationType.getRelation(Object source,
Object target)
Get the relation for a given source and target value.
|
IRelation |
IRelationType.getRelation(String id)
Get a specific relation for a given type and id.
|
IRelation |
IRelationOperand.getRelationBySource(IRelationType type,
IRelationOperand target)
same as
type.getRelation(this, target); |
IRelation |
IRelationOperand.getRelationByTarget(IRelationType type,
IRelationOperand source)
same as
type.getRelation(source, this); |
IRelationList |
IRelationType.getRelations(IRelationOperand source)
Deprecated.
as of NW04. Please use getRelationsBySource instead Get all the relations
of this type for the given source operand.
|
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationOperand source,
IRelationOperand target)
Get all relations of any type for the given source and target.
|
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationQuery query)
Get the relations which match a given query expression.
|
IRelationList |
IRelationService.getRelations(IResourceContext context,
IRelationQuery query,
IRelationQueryOrder order)
Get the relations which match a given query expression, ordered by a given
order expression.
|
IRelationList |
IRelationType.getRelations(Object source)
Deprecated.
as of NW04. Please use gteRelationsBySource instead Get all the relations
of this type for the given source operand value.
|
IRelationList |
IRelationType.getRelationsBySource(IRelationOperand source)
Get all the relations of this type for the given source operand.
|
IRelationList |
IRelationOperand.getRelationsBySource(IRelationType type)
same as
type.getRelationBySource(this); |
IRelationList |
IRelationOperand.getRelationsBySource(IResourceContext context)
same as
IRelationService.getRelationsBySource(context, this); |
IRelationList |
IRelationService.getRelationsBySource(IResourceContext context,
IRelationOperand source)
Get all relations of any type for the given source.
|
IRelationList |
IRelationOperand.getRelationsBySource(IResourceContext context,
IRelationOperand target)
same as
IRelationService.getRelations(context, this, target); |
IRelationList |
IRelationType.getRelationsBySource(Object source)
Get all the relations of this type for the given source operand value.
|
IRelationList |
IRelationType.getRelationsByTarget(IRelationOperand target)
Get all the relations of this type for the given target operand.
|
IRelationList |
IRelationOperand.getRelationsByTarget(IRelationType type)
same as
type.getRelationByTarget(this); |
IRelationList |
IRelationOperand.getRelationsByTarget(IResourceContext context)
same as
IRelationService.getRelationsByTarget(context, this); |
IRelationList |
IRelationService.getRelationsByTarget(IResourceContext context,
IRelationOperand target)
Get all relations of any type for the given target.
|
IRelationList |
IRelationOperand.getRelationsByTarget(IResourceContext context,
IRelationOperand source)
same as
IRelationService.getRelations(source, this); |
IRelationList |
IRelationType.getRelationsByTarget(Object target)
Get all the relations of this type for the given target operand value.
|
IRelationType |
IRelationService.getRelationType(IResourceContext context,
String namespace,
String name)
Get a specific relation type for a given namespace and name.
|
IRelationTypeAttributes |
IRelationService.getRelationTypeAttributes(IRelationTypeHandler typeHandler,
IPropertyNameList requiredProperties,
boolean oneToOne,
boolean ordered,
boolean sourceDeleteTracking,
boolean targetDeleteTracking,
boolean sourceChangeTracking,
boolean targetChangeTracking)
Same as
IRelationService.getRelationTypeAttributes(IRelationTypeHandler,
IPropertyNameList, boolean, boolean, boolean, boolean, boolean, boolean,
boolean, boolean) with sourceCopyTracking and
targetCopyTracking set to false |
IRelationTypeAttributes |
IRelationService.getRelationTypeAttributes(IRelationTypeHandler typeHandler,
IPropertyNameList requiredProperties,
boolean oneToOne,
boolean ordered,
boolean sourceDeleteTracking,
boolean targetDeleteTracking,
boolean sourceChangeTracking,
boolean targetChangeTracking,
boolean sourceCopyTracking,
boolean targetCopyTracking)
Get a set of unchecked attributes which can be use to created a
IRelationType . |
IRelationTypeList |
IRelationService.getRelationTypes(IResourceContext context)
Get a list of all relation types which are available within the given
context.
|
IRelationTypeList |
IRelationService.getRelationTypes(IResourceContext context,
String namespace)
Get a list of all relation types of the given namespace which are available
within the given context.
|
void |
IRelationType.reorder(IOrderedRelationPositioningList ordering)
Reorder the relations for this type.
|
IRelationTypeAttributes |
IRelationType.setAttributes(IRelationTypeAttributes attributes)
Change the effective attributes of this relation type.
|
void |
IRelation.setPosition(IOrderedRelationPosition position)
Change the relation's position (only supported for
IOrderedRelation
s). |
IRelation |
IRelation.setSource(IRelationOperand source)
Set the relation's source operand.
|
IRelation |
IRelation.setSourceOperand(Object source)
Set the relation's source operand by value.
|
IRelation |
IRelation.setTarget(IRelationOperand target)
Set the relation's target operand.
|
IRelation |
IRelation.setTargetOperand(Object target)
Set the relation's target operand value.
|
void |
IRelationType.startWatching(IRelationWatcher watcher)
Register a watcher to this relation type.
|
void |
IRelationType.stopWatching(IRelationWatcher watcher)
Deregister a watcher from this relation type.
|
| Constructor and Description |
|---|
ResourceOperand(IResource resource)
Create a
RelationOperand out of a IResource . |
ResourceOperand(RID rid)
Create a
RelationOperand out of a IResource . |
ResourceOperandType(IProperty resourceType)
Create a resource operand type for a given resource's type.
|
StringOperand(String string)
Create a
StringOperand out of a String . |
| Modifier and Type | Method and Description |
|---|---|
IWebDAVSite |
IWebDAVSiteController.getNewInstance(String name,
HttpUrl server)
Create a new site object with given parameters.
|
IWebDAVSite |
IWebDAVSite.setName(String name)
Create a site object with the given name.
|
IWebDAVSite |
IWebDAVSite.setServer(HttpUrl url)
Create a site with the given server url to use.
|
IWebDAVSite |
IWebDAVSite.setServerType(String serverType)
Create a site with the given server type to use.
|
Copyright 2021 SAP SE Complete Copyright Notice