com.sapportals.wcm.repository

Interface IBindController


public interface IBindController

Interface for collections that can explicitly control the bindings they contain (see WebDAV BIND protocol ).

EXPERIMENTAL

Copyright (c) SAP AG 2002-2004


Method Summary
 boolean createBind(String memberName, IPosition position, IResource targetResource, boolean overwrite)
          Adds a new member name to the collection referencing the identified resource.
 boolean createBind(String memberName, IPosition position, RID targetRid, boolean overwrite)
          Adds a new member name to the collection referencing the identified resource.
 

Method Detail

createBind

public boolean createBind(String memberName,
                          IPosition position,
                          RID targetRid,
                          boolean overwrite)
                   throws ResourceException
Adds a new member name to the collection referencing the identified resource.

Parameters:
memberName - member name to be added to collection
targetRid - resource to bind to
position - position in target collection (may be null )
overwrite - set to true if an existing resource binding may be overwritten
Returns:
whether an existing internal member was overwritten
Throws:
ResourceException - Exception raised in failure situation

createBind

public boolean createBind(String memberName,
                          IPosition position,
                          IResource targetResource,
                          boolean overwrite)
                   throws ResourceException
Adds a new member name to the collection referencing the identified resource.

Parameters:
memberName - member name to be added to collection
targetResource - resource to bind to
position - position in target collection (may be null )
overwrite - set to true if an existing resource binding may be overwritten
Returns:
whether an existing internal member was overwritten
Throws:
ResourceException - Exception raised in failure situation


Copyright 2006 SAP AG Complete Copyright Notice