|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.netweaver.coll.wiki.WikiContext
public class WikiContext
Used in order to pass context to the WikiFactory.
WikiFactory| Constructor Summary | |
|---|---|
WikiContext()
Default constructor. |
|
WikiContext(long rootSpaceID)
Wiki Context is created without user identity. |
|
WikiContext(Principal contextUser)
Wiki Context is created with identity of the specified user. |
|
WikiContext(Principal contextUser,
long rootSpaceID)
Wiki Context is created with identity of the specified user and specified root community unique identifier. |
|
| Method Summary | |
|---|---|
protected Context |
createJNDIContext()
|
String |
getJNDIPrincipal()
Returns the JNDI principal used to create InitialContext from the Wiki Context. |
String |
getJNDIProviderURL()
Returns the JNDI provider URL. |
void |
setJNDICredentials(String jndiCredentials)
Sets JNDI password. |
void |
setJNDIPrincipal(String jndiPrincipal)
Sets JNDI principal. |
void |
setJNDIProviderURL(String jndiProviderURL)
Sets the JNDI ProviderURL |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WikiContext()
public WikiContext(Principal contextUser)
contextUser - should not be nullpublic WikiContext(long rootSpaceID)
rootSpaceID - the unique identifier of the root community
public WikiContext(Principal contextUser,
long rootSpaceID)
contextUser - the user name of the context user. Should not be null.rootSpaceID - the unique identifier of the root community. Should not be zero or negative.| Method Detail |
|---|
public void setJNDIPrincipal(String jndiPrincipal)
jndiPrincipal - the JNDI priniciaplpublic String getJNDIPrincipal()
public void setJNDICredentials(String jndiCredentials)
jndiCredentials - the JNDI password.public String getJNDIProviderURL()
public void setJNDIProviderURL(String jndiProviderURL)
jndiProviderURL -
protected Context createJNDIContext()
throws NamingException
NamingException| Access Rights |
|---|
| SC | DC | Public Part | ACH |
|---|---|---|---|
[com.sap] KMC-WIKI
|
[com.sap] com.sap.netweaver.coll.wiki.api
|
api
|
BC-COM-WIK
|
|
SAP NetWeaver 7.40 SP 07 KMC | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||