|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
com.bea.content.federated.RepositoryConfig
public class RepositoryConfig
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
RepositoryConfig(String name)Constructs an instance with just the given name using the defined DEFAULTS for other attributes. |
|
RepositoryConfig(String name, String className, Properties properties)Constructs an instance with just name, className and properties using the defined DEFAULTS for other attributes. |
|
RepositoryConfig(String name, String className, Properties properties, String userName, String password, boolean readOnly, int nodeCacheMaxEntries, long nodeCacheTtl, boolean nodeCacheIsEnabled, int binaryCacheMaxEntries, long binaryCacheMaxEntrySize, long binaryCacheTtl, boolean binaryCacheIsEnabled)Deprecated |
|
RepositoryConfig(String name, String className, Properties properties, String userName, String password, boolean readOnly, int nodeCacheMaxEntries, long nodeCacheTtl, boolean nodeCacheIsEnabled, int binaryCacheMaxEntries, long binaryCacheMaxEntrySize, long binaryCacheTtl, boolean binaryCacheIsEnabled, boolean searchIsEnabled)Constructs an instance using all attributes. |
|
RepositoryConfig(String name, String className, Properties properties, String userName, String password, boolean readOnly, int nodeCacheMaxEntries, long nodeCacheTtl, boolean nodeCacheIsEnabled, int binaryCacheMaxEntries, long binaryCacheMaxEntrySize, long binaryCacheTtl, boolean binaryCacheIsEnabled, boolean searchIsEnabled, boolean searchIndexingEnabled, boolean fullTextSearchIsEnabled)Construct a repository config. |
|
| Method Summary | |
|---|---|
IRepositoryConfig |
clone()Clone this |
boolean |
getBinaryCacheIsEnabled()Gets the active state for the binary cache of a repository. |
int |
getBinaryCacheMaxEntries()Gets the max entries for the binary cache of a repository. |
long |
getBinaryCacheMaxEntrySize()Gets the max size for the binary cache of a repository. |
long |
getBinaryCacheTtl()Gets the time-to-live for entries in a binary cache of a repository. |
String |
getClassName()The class that implements com.bea.content.repostiory.Repository. |
List<String> |
getFolderBadges() |
String |
getFulltextSearchIndexLanguageType()Retrieves the full-text search index language type, or null if it is not set. |
boolean |
getFulltextSearchIsEnabled()Returns true if fulltext searches are allowed for this repository. |
Boolean |
getFulltextSearchQueryAnyLanguage()Retrieves the full-text-search query any lanuage setting, or null if it is not set. |
String |
getFulltextSearchQueryLanguageType()Retrieves the full-text search query language type, or null if it is not set. |
String |
getName()The name of the Repository. |
boolean |
getNodeCacheIsEnabled()Gets the active state for the node cache of a repository. |
int |
getNodeCacheMaxEntries()Gets the max entries for the node cache of a repository. |
long |
getNodeCacheTtl()Gets the time-to-live for entries in a node cache of a repository. |
String |
getPassword()Gets the password for the repository. |
Properties |
getProperties()Gets the configuration properties for the repository. |
boolean |
getReadOnly()Gets the read-only attribute for the repository. |
boolean |
getSearchCacheIsEnabled()Gets the active state for the search cache of a repository. |
int |
getSearchCacheMaxEntries()Gets the max entries for the search cache of a repository. |
long |
getSearchCacheTtl()Gets the time-to-live for entries in a search cache of a repository. |
boolean |
getSearchIndexingIsEnabled()Returns true if this repository will index items into its full text search index. |
boolean |
getSearchIsEnabled()Returns true if metadata searches are allowed for this repository. |
List<String> |
getSystemPropertyKeys()system properties are properties which are publicly available. |
boolean |
getTypeCacheIsEnabled()Gets the active state for the type cache of a repository. |
int |
getTypeCacheMaxEntries()Gets the max entries for the type cache of a repository. |
long |
getTypeCacheTtl()Gets the time-to-live for entries in a type cache of a repository. |
String |
getUserName()Gets the username for the repository. |
boolean |
isBeaRepository() |
boolean |
isDeprecatedBEA() |
boolean |
isExtended() |
boolean |
isManaged()True if this repository is versionable, false otherwise. |
boolean |
isStreamable()True if this repository has enabled streaming support for binary data. |
boolean |
isUcmRepository() |
void |
setBinaryCacheIsEnabled(boolean binaryCacheIsEnabled) |
void |
setBinaryCacheMaxEntries(int binaryCacheMaxEntries)Sets the binary cache max entries |
void |
setBinaryCacheMaxEntrySize(long binaryCacheMaxEntrySize)Sets the binary cache max entry size in bytes. |
void |
setBinaryCacheTtl(long binaryCacheTtl)Sets the binary cache time to live |
void |
setClassName(String className)Setters for the repo config |
void |
setFulltextSearchIsEnabled(boolean fulltextSearchIsEnabled)Sets whether or not this repository is fulltext searchable via the search API. |
void |
setNodeCacheIsEnabled(boolean nodeCacheIsEnabled)Sets whether or not the node cache is enabled for the repository |
void |
setNodeCacheMaxEntries(int nodeCacheMaxEntries)Sets the ndoe cache max entires for the repository |
void |
setNodeCacheTtl(long nodeCacheTtl)Sets the node cache time to live for the repo |
void |
setPassword(String password)Sets the password |
void |
setProperties(Properties properties)Sets the properties for the repository config |
void |
setReadOnly(boolean readOnly)Sets the readOnly attribute of the repository |
void |
setSearchIndexingIsEnabled(boolean searchIndexingIsEnabled)Sets whether or not this repository is indexing content into its full text search index. |
void |
setSearchIsEnabled(boolean searchIsEnabled)Sets whether or not this repository is metadata searchable via the search API. |
void |
setUserName(String userName)Sets the user name |
String |
toString()Gets attributes as String. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public RepositoryConfig(String name)
name - The name of the repository configuration.
public RepositoryConfig(String name,
String className,
Properties properties)
name - The name of the repository configuration.className - The class name for the repository connection.properties - The properties for this configuration.
@Deprecated
public RepositoryConfig(String name,
String className,
Properties properties,
String userName,
String password,
boolean readOnly,
int nodeCacheMaxEntries,
long nodeCacheTtl,
boolean nodeCacheIsEnabled,
int binaryCacheMaxEntries,
long binaryCacheMaxEntrySize,
long binaryCacheTtl,
boolean binaryCacheIsEnabled)
name - The name of the repository configuration.className - The class name for the repository connection.properties - The properties for this configuration.userName - The username to use when connecting to this repository.password - The password to use when connecting to this repository.readOnly - True if this repository is read-only.nodeCacheMaxEntries - The maximum number of entries in the node cache for this repository.nodeCacheTtl - The time-to-live value for this repository's node cache.nodeCacheIsEnabled - True if the node cache is enabled for this repository.binaryCacheMaxEntries - The maximum number of entries in the binary cache for this repository.binaryCacheMaxEntrySize - The maximum size of a binary value in the binary cache for this repository.binaryCacheTtl - The time-to-live value for this repository's binary cache.binaryCacheIsEnabled - True if the binary cache is enabled for this repository.
public RepositoryConfig(String name,
String className,
Properties properties,
String userName,
String password,
boolean readOnly,
int nodeCacheMaxEntries,
long nodeCacheTtl,
boolean nodeCacheIsEnabled,
int binaryCacheMaxEntries,
long binaryCacheMaxEntrySize,
long binaryCacheTtl,
boolean binaryCacheIsEnabled,
boolean searchIsEnabled)
name - The name of the repository configuration.className - The class name for the repository connection.properties - The properties for this configuration.userName - The username to use when connecting to this repository.password - The password to use when connecting to this repository.readOnly - True if this repository is read-only.nodeCacheMaxEntries - The maximum number of entries in the node cache for this repository.nodeCacheTtl - The time-to-live value for this repository's node cache.nodeCacheIsEnabled - True if the node cache is enabled for this repository.binaryCacheMaxEntries - The maximum number of entries in the binary cache for this repository.binaryCacheMaxEntrySize - The maximum size of a binary value in the binary cache for this repository.binaryCacheTtl - The time-to-live value for this repository's binary cache.binaryCacheIsEnabled - True if the binary cache is enabled for this repository.searchIsEnabled - True if search (metadata) is enabled for this repository.
public RepositoryConfig(String name,
String className,
Properties properties,
String userName,
String password,
boolean readOnly,
int nodeCacheMaxEntries,
long nodeCacheTtl,
boolean nodeCacheIsEnabled,
int binaryCacheMaxEntries,
long binaryCacheMaxEntrySize,
long binaryCacheTtl,
boolean binaryCacheIsEnabled,
boolean searchIsEnabled,
boolean searchIndexingEnabled,
boolean fullTextSearchIsEnabled)
name - The name of the repository configuration.className - The class name for the repository connection.properties - The properties for this configuration.userName - The username to use when connecting to this repository.password - The password to use when connecting to this repository.readOnly - True if this repository is read-only.nodeCacheMaxEntries - The maximum number of entries in the node cache for this repository.nodeCacheTtl - The time-to-live value for this repository's node cache.nodeCacheIsEnabled - True if the node cache is enabled for this repository.binaryCacheMaxEntries - The maximum number of entries in the binary cache for this repository.binaryCacheMaxEntrySize - The maximum size of a binary value in the binary cache for this repository.binaryCacheTtl - The time-to-live value for this repository's binary cache.binaryCacheIsEnabled - True if the binary cache is enabled for this repository.searchIsEnabled - True if search (metadata) is enabled for this repository.searchIndexingEnabled - True if search indexing (for full-text search) is enabled for this repository.fullTextSearchIsEnabled - True if full-text search is enabled for this repository.| Method Detail |
|---|
public List<String> getSystemPropertyKeys()
getSystemPropertyKeys in interface IRepositoryConfigpublic String getName()
IRepositoryConfiggetName in interface IRepositoryConfigpublic String getClassName()
IRepositoryConfiggetClassName in interface IRepositoryConfigpublic Properties getProperties()
IRepositoryConfiggetProperties in interface IRepositoryConfigpublic String getUserName()
IRepositoryConfiggetUserName in interface IRepositoryConfigpublic String getPassword()
IRepositoryConfiggetPassword in interface IRepositoryConfigpublic boolean getReadOnly()
IRepositoryConfiggetReadOnly in interface IRepositoryConfigpublic int getNodeCacheMaxEntries()
IRepositoryConfiggetNodeCacheMaxEntries in interface IRepositoryConfigpublic long getNodeCacheTtl()
IRepositoryConfiggetNodeCacheTtl in interface IRepositoryConfigpublic boolean getNodeCacheIsEnabled()
IRepositoryConfiggetNodeCacheIsEnabled in interface IRepositoryConfigpublic int getTypeCacheMaxEntries()
IRepositoryConfiggetTypeCacheMaxEntries in interface IRepositoryConfigpublic long getTypeCacheTtl()
IRepositoryConfiggetTypeCacheTtl in interface IRepositoryConfigpublic boolean getTypeCacheIsEnabled()
IRepositoryConfiggetTypeCacheIsEnabled in interface IRepositoryConfigpublic int getSearchCacheMaxEntries()
IRepositoryConfiggetSearchCacheMaxEntries in interface IRepositoryConfigpublic long getSearchCacheTtl()
IRepositoryConfiggetSearchCacheTtl in interface IRepositoryConfigpublic boolean getSearchCacheIsEnabled()
IRepositoryConfiggetSearchCacheIsEnabled in interface IRepositoryConfigpublic int getBinaryCacheMaxEntries()
IRepositoryConfiggetBinaryCacheMaxEntries in interface IRepositoryConfigpublic long getBinaryCacheMaxEntrySize()
IRepositoryConfiggetBinaryCacheMaxEntrySize in interface IRepositoryConfigpublic long getBinaryCacheTtl()
IRepositoryConfiggetBinaryCacheTtl in interface IRepositoryConfigpublic boolean getBinaryCacheIsEnabled()
IRepositoryConfiggetBinaryCacheIsEnabled in interface IRepositoryConfigpublic boolean getSearchIsEnabled()
IRepositoryConfiggetSearchIsEnabled in interface IRepositoryConfigpublic boolean getFulltextSearchIsEnabled()
IRepositoryConfiggetFulltextSearchIsEnabled in interface IRepositoryConfigpublic boolean getSearchIndexingIsEnabled()
IRepositoryConfiggetSearchIndexingIsEnabled in interface IRepositoryConfigpublic String getFulltextSearchIndexLanguageType()
IRepositoryConfiggetFulltextSearchIndexLanguageType in interface IRepositoryConfigpublic String getFulltextSearchQueryLanguageType()
IRepositoryConfiggetFulltextSearchQueryLanguageType in interface IRepositoryConfigpublic Boolean getFulltextSearchQueryAnyLanguage()
IRepositoryConfiggetFulltextSearchQueryAnyLanguage in interface IRepositoryConfigpublic List<String> getFolderBadges()
public boolean isManaged()
IRepositoryConfigisManaged in interface IRepositoryConfigpublic boolean isBeaRepository()
public boolean isExtended()
public boolean isDeprecatedBEA()
public boolean isUcmRepository()
public boolean isStreamable()
IRepositoryConfigisStreamable in interface IRepositoryConfigpublic void setClassName(String className)
setClassName in interface IRepositoryConfigclassName - The class namepublic void setProperties(Properties properties)
IRepositoryConfigsetProperties in interface IRepositoryConfigproperties - The properties to set.public void setUserName(String userName)
IRepositoryConfigsetUserName in interface IRepositoryConfiguserName - The username to set.public void setPassword(String password)
IRepositoryConfigsetPassword in interface IRepositoryConfigpassword - The password to set.public void setReadOnly(boolean readOnly)
IRepositoryConfigsetReadOnly in interface IRepositoryConfigreadOnly - The readOnly bit for this repository.public void setNodeCacheMaxEntries(int nodeCacheMaxEntries)
IRepositoryConfigsetNodeCacheMaxEntries in interface IRepositoryConfignodeCacheMaxEntries - The maxinum cache entries for the node cache for this repository.public void setNodeCacheIsEnabled(boolean nodeCacheIsEnabled)
IRepositoryConfigsetNodeCacheIsEnabled in interface IRepositoryConfignodeCacheIsEnabled - True if enabling the node cache, else false.public void setNodeCacheTtl(long nodeCacheTtl)
IRepositoryConfigsetNodeCacheTtl in interface IRepositoryConfignodeCacheTtl - The time-to-live value for entries in this repository's node cache.public void setBinaryCacheMaxEntries(int binaryCacheMaxEntries)
IRepositoryConfigsetBinaryCacheMaxEntries in interface IRepositoryConfigbinaryCacheMaxEntries - The maximum number of entires in this repository's binary cache.public void setBinaryCacheMaxEntrySize(long binaryCacheMaxEntrySize)
IRepositoryConfigsetBinaryCacheMaxEntrySize in interface IRepositoryConfigbinaryCacheMaxEntrySize - The maximum size of an entry for this repository's binary cache.public void setBinaryCacheTtl(long binaryCacheTtl)
IRepositoryConfigsetBinaryCacheTtl in interface IRepositoryConfigbinaryCacheTtl - The time-to-live value for entries in this repository's binary cache.public void setBinaryCacheIsEnabled(boolean binaryCacheIsEnabled)
setBinaryCacheIsEnabled in interface IRepositoryConfigpublic void setSearchIsEnabled(boolean searchIsEnabled)
IRepositoryConfigsetSearchIsEnabled in interface IRepositoryConfigsearchIsEnabled - True if metadata search is enabled for this repository.public void setFulltextSearchIsEnabled(boolean fulltextSearchIsEnabled)
IRepositoryConfigsetFulltextSearchIsEnabled in interface IRepositoryConfigfulltextSearchIsEnabled - True if fulltext search is enabled for this repository.public void setSearchIndexingIsEnabled(boolean searchIndexingIsEnabled)
IRepositoryConfigsetSearchIndexingIsEnabled in interface IRepositoryConfigsearchIndexingIsEnabled - True if fulltext search indexing is enabled for this repository.public String toString()
IRepositoryConfigtoString in interface IRepositoryConfigtoString in class Object
public IRepositoryConfig clone()
throws CloneNotSupportedException
IRepositoryConfigclone in interface IRepositoryConfigclone in class ObjectCloneNotSupportedException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.2) E14255-01 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Copyright © 2010, Oracle. All rights reserved.