Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


oracle.stellent.wcm.core.config.jaxb
Class JAXBIdcConfiguration

java.lang.Object
  extended by oracle.stellent.wcm.core.config.jaxb.JAXBIdcConfiguration

All Implemented Interfaces:
IdcConfiguration

public class JAXBIdcConfiguration
extends java.lang.Object
implements IdcConfiguration

Field Summary

 

Fields inherited from interface oracle.stellent.wcm.core.config.IdcConfiguration
DEFAULT_POLLER_ANABLED, DEFAULT_POLLER_INTERVAL_MILLIS, IDC_SERVER_URL

 

Constructor Summary
JAXBIdcConfiguration()
           
JAXBIdcConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentServerType contentServerType)
           

 

Method Summary
protected  java.lang.String decodePassword(java.lang.String encodedPassword)
          Decode the password
protected  java.lang.String encodePassword(java.lang.String password)
          Encode the password
 java.lang.String getAdminPassword()
           
 java.lang.String getAdminUser()
           
 java.lang.String getConnectionName()
           
 java.util.Set<java.lang.String> getConnectionProperties()
           
 java.lang.String getConnectionProperty(java.lang.String name)
          A connection property
 java.lang.String getConnectionUrl()
           
 java.lang.String getIdcServerUrl()
           
 oracle.stellent.wcm.core.config.jaxb.model.ContentServerType getModel()
           
 java.lang.String getPasswordEncoding()
           
 long getPollerIntervalMillis()
           
 ContentID.Revision getRevision()
           
 boolean isPollerEnabled()
           
 void setAdminPassword(java.lang.String password)
           
 void setAdminUser(java.lang.String adminUser)
           
 void setConnectionName(java.lang.String name)
           
 void setConnectionProperty(java.lang.String name, java.lang.String value)
          Set a connection property
 void setConnectionUrl(java.lang.String intradocServerPortUrl)
           
 void setIdcServerUrl(java.lang.String url)
           
 void setPasswordEncoding(java.lang.String encoding)
           
 void setPollerEnabled(boolean enablePoller)
          Enable/disable the polling of the Content Server
 void setPollerIntervalMillis(long pollIntervalMillis)
          Set the polling interval
 void setRevision(ContentID.Revision revision)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

JAXBIdcConfiguration

public JAXBIdcConfiguration()

JAXBIdcConfiguration

public JAXBIdcConfiguration(oracle.stellent.wcm.core.config.jaxb.model.ContentServerType contentServerType)

Method Detail

getModel

public oracle.stellent.wcm.core.config.jaxb.model.ContentServerType getModel()

getRevision

public ContentID.Revision getRevision()
Specified by:
getRevision in interface IdcConfiguration
Returns:
the revision of content to retrieve in Live mode (Latest or LatestReleased)

setRevision

public void setRevision(ContentID.Revision revision)
Specified by:
setRevision in interface IdcConfiguration
Parameters:
revision - the revision used to retrieve content

getConnectionName

public java.lang.String getConnectionName()
Specified by:
getConnectionName in interface IdcConfiguration
Returns:
the connection name

setConnectionName

public void setConnectionName(java.lang.String name)
Specified by:
setConnectionName in interface IdcConfiguration
Parameters:
name - the connection name

getConnectionProperty

public java.lang.String getConnectionProperty(java.lang.String name)
A connection property
Specified by:
getConnectionProperty in interface IdcConfiguration
Parameters:
name - the property name
Returns:
the property value

setConnectionProperty

public void setConnectionProperty(java.lang.String name,
                                  java.lang.String value)
Set a connection property
Specified by:
setConnectionProperty in interface IdcConfiguration
Parameters:
name - the name
value - the value (if null, removes the property)

getConnectionProperties

public java.util.Set<java.lang.String> getConnectionProperties()
Specified by:
getConnectionProperties in interface IdcConfiguration
Returns:
the available connection properties

getConnectionUrl

public java.lang.String getConnectionUrl()
Specified by:
getConnectionUrl in interface IdcConfiguration
Returns:
the connection url

setConnectionUrl

public void setConnectionUrl(java.lang.String intradocServerPortUrl)
Specified by:
setConnectionUrl in interface IdcConfiguration
Parameters:
intradocServerPortUrl - the connection url

getIdcServerUrl

public java.lang.String getIdcServerUrl()
Specified by:
getIdcServerUrl in interface IdcConfiguration
Returns:
the full Content Server URL

setIdcServerUrl

public void setIdcServerUrl(java.lang.String url)
Specified by:
setIdcServerUrl in interface IdcConfiguration
Parameters:
url - the Content Server url

getAdminUser

public java.lang.String getAdminUser()
Specified by:
getAdminUser in interface IdcConfiguration
Returns:
the admin user

setAdminUser

public void setAdminUser(java.lang.String adminUser)
Specified by:
setAdminUser in interface IdcConfiguration
Parameters:
adminUser - the admin user

getAdminPassword

public java.lang.String getAdminPassword()
Specified by:
getAdminPassword in interface IdcConfiguration
Returns:
the admin password

setAdminPassword

public void setAdminPassword(java.lang.String password)
Specified by:
setAdminPassword in interface IdcConfiguration
Parameters:
password - the admin password

setPasswordEncoding

public void setPasswordEncoding(java.lang.String encoding)
Specified by:
setPasswordEncoding in interface IdcConfiguration
Parameters:
encoding - the password encoding

getPasswordEncoding

public java.lang.String getPasswordEncoding()
Specified by:
getPasswordEncoding in interface IdcConfiguration
Returns:
the password encoding

isPollerEnabled

public boolean isPollerEnabled()
Specified by:
isPollerEnabled in interface IdcConfiguration
Returns:
true to poll the Content Server for live content
See Also:
#PROPERTY_POLL_CONTENT_PROVIDER

setPollerEnabled

public void setPollerEnabled(boolean enablePoller)
Enable/disable the polling of the Content Server
Specified by:
setPollerEnabled in interface IdcConfiguration
Parameters:
enablePoller - the polling flag

getPollerIntervalMillis

public long getPollerIntervalMillis()
Specified by:
getPollerIntervalMillis in interface IdcConfiguration
Returns:
milliseconds to wait between polling the Content Server
See Also:
#PROPERTY_POLL_INTERVAL_MILLIS

setPollerIntervalMillis

public void setPollerIntervalMillis(long pollIntervalMillis)
Set the polling interval
Specified by:
setPollerIntervalMillis in interface IdcConfiguration
Parameters:
pollIntervalMillis - the interval in milliseconds

encodePassword

protected java.lang.String encodePassword(java.lang.String password)
Encode the password
Parameters:
password - the password
Returns:
the encoded password
See Also:
intradoc.apputilities.systemproperties.DBPanel#exchangeComponentValue(intradoc.gui.DynamicComponentExchange, boolean)

decodePassword

protected java.lang.String decodePassword(java.lang.String encodedPassword)
Decode the password
Parameters:
encodedPassword - the encoded password
Returns:
the decoded password
See Also:
intradoc.apputilities.systemproperties.DBPanel#exchangeComponentValue(intradoc.gui.DynamicComponentExchange, boolean)

Skip navigation links

Oracle® Fusion Middleware Site Studio for External Applications Java API Reference
11g Release 1 (11.1.1)

E17273-02


Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved.