|
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 IWebDAVSite
Manages all configuration data of a WebDAVSite, e.g. access to a WebDAV
server as managed by
IWebDAVSiteController.
Notice that implementations of this interface are immutable objects. All
setter methods create new instances and leave the called one unchanged.
For changes to have any effect, you must use the
IWebDAVSiteController.add(IWebDAVSite, boolean)
or IWebDAVSiteController.update(IWebDAVSite)
methods.
Note that the name of a IWebDAVSite also acts as its identifier. It must be unique and it cannot be changed. If you want to renamed a site, you have to create a new one and delete the old.
Copyright (c) SAP AG 2006
| Field Summary | |
|---|---|
static String |
TYPE_GENERIC
|
static String |
TYPE_IIS
|
static String |
TYPE_MODDAV
|
| Method Summary | |
|---|---|
String |
getName()
Get the name under which this site is accessible. |
String |
getPortalLandscapeSystemName()
Get the name of the server as used in the portal landscape, e.g. for user mapping of credentials. |
HttpUrl |
getServer()
Get the URL of the server this site connects to. |
String |
getServerType()
Get the type of server the remote WebDAV site runs on. |
UserInfo |
getStandardUser()
Return the stanard user credentials or null for authentication
at the server. |
boolean |
isInSameUserDomain()
Determine if the server is believed to be in the same user domain and may therefore understand our SSO tickets (single sign on). |
IWebDAVSite |
setName(String name)
Create a site object with the given name. |
IWebDAVSite |
setPortalLandscapeSystemName(String lName)
Create a site with the given landscape name to use for usermapping, e.g. |
IWebDAVSite |
setSameUserDomain(boolean active)
Create a site with the given user domain setting to use. |
IWebDAVSite |
setServer(HttpUrl url)
Create a site with the given server url to use. |
IWebDAVSite |
setServerType(String serverType)
Create a site with the given server type to use. |
IWebDAVSite |
setStandardUser(UserInfo ui)
Create a site with the given credentials to use. |
| Field Detail |
|---|
static final String TYPE_GENERIC
static final String TYPE_IIS
static final String TYPE_MODDAV
| Method Detail |
|---|
String getName()
IResource which
represents this site in the repository.
HttpUrl getServer()
boolean isInSameUserDomain()
String getPortalLandscapeSystemName()
null
is returned.
nullString getServerType()
TYPE_GENERIC
works against all servers.
UserInfo getStandardUser()
null for authentication
at the server. If standard user credentials are defined, no user mapping
is applied and all requests to the server are done as standard user.
null
IWebDAVSite setName(String name)
throws InvalidArgumentException
IWebDAVSiteController.
The name must be a valid part of a RID and
may not contain any slashes for example.
name - of new site object
InvalidArgumentException - if name is not valid
IWebDAVSite setServer(HttpUrl url)
throws InvalidArgumentException
IWebDAVSiteController.
url - of server to work against
InvalidArgumentException - if url is not validIWebDAVSite setSameUserDomain(boolean active)
IWebDAVSiteController.
active - iff SSO ticket forwarding is enabled
IWebDAVSite setPortalLandscapeSystemName(String lName)
IWebDAVSiteController.
In order to disable any use of user mapping pass a null as argument
lName - portal landscape name to use or null
IWebDAVSite setServerType(String serverType)
throws InvalidArgumentException
IWebDAVSiteController.
serverType - to use
InvalidArgumentException - when the type is not knownIWebDAVSite setStandardUser(UserInfo ui)
IWebDAVSiteController.
Use a null argument to disable standard user credentials.
ui - standard user credentials to use or null
| 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 | |||||||||