|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IWebDAVSiteController
Controls the lifecycle (setup, change, teardown) of
IWebDAVSites inside a collection.
Collections allowing multiple IWebDAVSites as child resources
should support this interface. The caller will invoke the
IResource.as(Class) or
IResource.isA(Class) methods to
test for support and in order to retrieve an instance.
Via this interface the caller can inspect the existing IWebDAVSites,
create new ones or tear down existing ones.
If the caller has insufficient access rights, all methods will throw
AccessDeniedExceptions, even on
non-modifying calls. What the necessary access rights are is handled
by the underlying implementation.
Copyright (c) SAP AG 2006
| Method Summary | |
|---|---|
IWebDAVSite |
add(IWebDAVSite site,
boolean replaceExisting)
Add a new site with the given settings. |
IWebDAVSite |
get(String name)
Get the IWebDAVSite for the given name. |
IWebDAVSite |
getNewInstance(String name,
HttpUrl server)
Create a new site object with given parameters. |
IWebDAVSite[] |
getSites()
Get all sites managed by this controller. |
void |
remove(String name)
Remove a site of given name. |
IWebDAVSite |
update(IWebDAVSite site)
Update a site with the settings from the given object. |
| Method Detail |
|---|
IWebDAVSite get(String name)
throws ResourceException
IWebDAVSite for the given name.
name - of site to retrieve
null
ResourceException - on general failures
IWebDAVSite[] getSites()
throws ResourceException
null.
ResourceException
IWebDAVSite update(IWebDAVSite site)
throws ResourceException
site - site with parameters for update
ResourceException - on general failure
IWebDAVSite add(IWebDAVSite site,
boolean replaceExisting)
throws ResourceException
replaceExisting=true means that the add behaves as if update was called
replaceExisting=false means that the call will fail and throw a NameAlreadyExistsException
site - to addreplaceExisting - true iff existing sites shall be overwritten
NameAlreadyExistsException - on name collisions
ResourceException - on general failure
void remove(String name)
throws ResourceException
name - name of site to remove
com.sapportals.wcm.repository.ResourceNotFoundException} - if no site under that name exists
ResourceException - on genernal failure
IWebDAVSite getNewInstance(String name,
HttpUrl server)
throws InvalidArgumentException
add(IWebDAVSite, boolean) or update(IWebDAVSite).
name - of new siteserver - url of server to connect o
InvalidArgumentException - if parameters are not valid, see also
IWebDAVSite for restrictions| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[sap.com] KMC-CM
|
[sap.com] tc/km/frwk
|
api
|
EP-KM-CM
|
[sap.com] KMC-WPC
|
[sap.com] tc/kmc/wpc/wpcfacade
|
api
|
EP-PIN-WPC-WCM
|
|
SAP NetWeaver 7.40 SP 06 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||