|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.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()
Return the default unmodifiable list of system property keys |
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. |
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()
IRepositoryConfig
getSystemPropertyKeys in interface IRepositoryConfigpublic String getName()
IRepositoryConfig
getName in interface IRepositoryConfigpublic String getClassName()
IRepositoryConfig
getClassName in interface IRepositoryConfigpublic Properties getProperties()
IRepositoryConfig
getProperties in interface IRepositoryConfigpublic String getUserName()
IRepositoryConfig
getUserName in interface IRepositoryConfigpublic String getPassword()
IRepositoryConfig
getPassword in interface IRepositoryConfigpublic boolean getReadOnly()
IRepositoryConfig
getReadOnly in interface IRepositoryConfigpublic int getNodeCacheMaxEntries()
IRepositoryConfig
getNodeCacheMaxEntries in interface IRepositoryConfigpublic long getNodeCacheTtl()
IRepositoryConfig
getNodeCacheTtl in interface IRepositoryConfigpublic boolean getNodeCacheIsEnabled()
IRepositoryConfig
getNodeCacheIsEnabled in interface IRepositoryConfigpublic int getTypeCacheMaxEntries()
IRepositoryConfig
getTypeCacheMaxEntries in interface IRepositoryConfigpublic long getTypeCacheTtl()
IRepositoryConfig
getTypeCacheTtl in interface IRepositoryConfigpublic boolean getTypeCacheIsEnabled()
IRepositoryConfig
getTypeCacheIsEnabled in interface IRepositoryConfigpublic int getSearchCacheMaxEntries()
IRepositoryConfig
getSearchCacheMaxEntries in interface IRepositoryConfigpublic long getSearchCacheTtl()
IRepositoryConfig
getSearchCacheTtl in interface IRepositoryConfigpublic boolean getSearchCacheIsEnabled()
IRepositoryConfig
getSearchCacheIsEnabled in interface IRepositoryConfigpublic int getBinaryCacheMaxEntries()
IRepositoryConfig
getBinaryCacheMaxEntries in interface IRepositoryConfigpublic long getBinaryCacheMaxEntrySize()
IRepositoryConfig
getBinaryCacheMaxEntrySize in interface IRepositoryConfigpublic long getBinaryCacheTtl()
IRepositoryConfig
getBinaryCacheTtl in interface IRepositoryConfigpublic boolean getBinaryCacheIsEnabled()
IRepositoryConfig
getBinaryCacheIsEnabled in interface IRepositoryConfigpublic boolean getSearchIsEnabled()
IRepositoryConfig
getSearchIsEnabled in interface IRepositoryConfigpublic boolean getFulltextSearchIsEnabled()
IRepositoryConfig
getFulltextSearchIsEnabled in interface IRepositoryConfigpublic boolean getSearchIndexingIsEnabled()
IRepositoryConfig
getSearchIndexingIsEnabled in interface IRepositoryConfigpublic String getFulltextSearchIndexLanguageType()
IRepositoryConfig
getFulltextSearchIndexLanguageType in interface IRepositoryConfigpublic String getFulltextSearchQueryLanguageType()
IRepositoryConfig
getFulltextSearchQueryLanguageType in interface IRepositoryConfigpublic Boolean getFulltextSearchQueryAnyLanguage()
IRepositoryConfig
getFulltextSearchQueryAnyLanguage in interface IRepositoryConfigpublic List<String> getFolderBadges()
public boolean isManaged()
IRepositoryConfig
isManaged in interface IRepositoryConfigpublic boolean isBeaRepository()
public boolean isExtended()
public boolean isDeprecatedBEA()
public boolean isStreamable()
IRepositoryConfig
isStreamable in interface IRepositoryConfigpublic void setClassName(String className)
setClassName in interface IRepositoryConfigclassName - The class namepublic void setProperties(Properties properties)
IRepositoryConfig
setProperties in interface IRepositoryConfigproperties - The properties to set.public void setUserName(String userName)
IRepositoryConfig
setUserName in interface IRepositoryConfiguserName - The username to set.public void setPassword(String password)
IRepositoryConfig
setPassword in interface IRepositoryConfigpassword - The password to set.public void setReadOnly(boolean readOnly)
IRepositoryConfig
setReadOnly in interface IRepositoryConfigreadOnly - The readOnly bit for this repository.public void setNodeCacheMaxEntries(int nodeCacheMaxEntries)
IRepositoryConfig
setNodeCacheMaxEntries in interface IRepositoryConfignodeCacheMaxEntries - The maxinum cache entries for the node cache for this repository.public void setNodeCacheIsEnabled(boolean nodeCacheIsEnabled)
IRepositoryConfig
setNodeCacheIsEnabled in interface IRepositoryConfignodeCacheIsEnabled - True if enabling the node cache, else false.public void setNodeCacheTtl(long nodeCacheTtl)
IRepositoryConfig
setNodeCacheTtl in interface IRepositoryConfignodeCacheTtl - The time-to-live value for entries in this repository's node cache.public void setBinaryCacheMaxEntries(int binaryCacheMaxEntries)
IRepositoryConfig
setBinaryCacheMaxEntries in interface IRepositoryConfigbinaryCacheMaxEntries - The maximum number of entires in this repository's binary cache.public void setBinaryCacheMaxEntrySize(long binaryCacheMaxEntrySize)
IRepositoryConfig
setBinaryCacheMaxEntrySize in interface IRepositoryConfigbinaryCacheMaxEntrySize - The maximum size of an entry for this repository's binary cache.public void setBinaryCacheTtl(long binaryCacheTtl)
IRepositoryConfig
setBinaryCacheTtl 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)
IRepositoryConfig
setSearchIsEnabled in interface IRepositoryConfigsearchIsEnabled - True if metadata search is enabled for this repository.public void setFulltextSearchIsEnabled(boolean fulltextSearchIsEnabled)
IRepositoryConfig
setFulltextSearchIsEnabled in interface IRepositoryConfigfulltextSearchIsEnabled - True if fulltext search is enabled for this repository.public void setSearchIndexingIsEnabled(boolean searchIndexingIsEnabled)
IRepositoryConfig
setSearchIndexingIsEnabled in interface IRepositoryConfigsearchIndexingIsEnabled - True if fulltext search indexing is enabled for this repository.public String toString()
IRepositoryConfig
toString in interface IRepositoryConfigtoString in class Object
public IRepositoryConfig clone()
throws CloneNotSupportedException
IRepositoryConfig
clone in interface IRepositoryConfigclone in class ObjectCloneNotSupportedException
|
Copyright © 2000, 2009, Oracle and/or its affiliates. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||