|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
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()
|
int |
getBinaryCacheMaxEntries()
|
long |
getBinaryCacheMaxEntrySize()
Gets the max size for the binary cache of a repository. |
long |
getBinaryCacheTtl()
|
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()
|
int |
getNodeCacheMaxEntries()
|
long |
getNodeCacheTtl()
|
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()
|
int |
getSearchCacheMaxEntries()
|
long |
getSearchCacheTtl()
|
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()
|
int |
getTypeCacheMaxEntries()
|
long |
getTypeCacheTtl()
|
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)
|
void |
setBinaryCacheMaxEntrySize(long binaryCacheMaxEntrySize)
Sets the binary cache max entry size in bytes. |
void |
setBinaryCacheTtl(long binaryCacheTtl)
|
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)
|
void |
setNodeCacheMaxEntries(int nodeCacheMaxEntries)
|
void |
setNodeCacheTtl(long nodeCacheTtl)
|
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 IRepositoryConfig
public String getName()
IRepositoryConfig
getName
in interface IRepositoryConfig
public String getClassName()
IRepositoryConfig
getClassName
in interface IRepositoryConfig
public Properties getProperties()
IRepositoryConfig
getProperties
in interface IRepositoryConfig
public String getUserName()
IRepositoryConfig
getUserName
in interface IRepositoryConfig
public String getPassword()
IRepositoryConfig
getPassword
in interface IRepositoryConfig
public boolean getReadOnly()
IRepositoryConfig
getReadOnly
in interface IRepositoryConfig
public int getNodeCacheMaxEntries()
getNodeCacheMaxEntries
in interface IRepositoryConfig
public long getNodeCacheTtl()
getNodeCacheTtl
in interface IRepositoryConfig
public boolean getNodeCacheIsEnabled()
getNodeCacheIsEnabled
in interface IRepositoryConfig
public int getTypeCacheMaxEntries()
getTypeCacheMaxEntries
in interface IRepositoryConfig
public long getTypeCacheTtl()
getTypeCacheTtl
in interface IRepositoryConfig
public boolean getTypeCacheIsEnabled()
getTypeCacheIsEnabled
in interface IRepositoryConfig
public int getSearchCacheMaxEntries()
getSearchCacheMaxEntries
in interface IRepositoryConfig
public long getSearchCacheTtl()
getSearchCacheTtl
in interface IRepositoryConfig
public boolean getSearchCacheIsEnabled()
getSearchCacheIsEnabled
in interface IRepositoryConfig
public int getBinaryCacheMaxEntries()
getBinaryCacheMaxEntries
in interface IRepositoryConfig
public long getBinaryCacheMaxEntrySize()
IRepositoryConfig
getBinaryCacheMaxEntrySize
in interface IRepositoryConfig
public long getBinaryCacheTtl()
getBinaryCacheTtl
in interface IRepositoryConfig
public boolean getBinaryCacheIsEnabled()
getBinaryCacheIsEnabled
in interface IRepositoryConfig
public boolean getSearchIsEnabled()
IRepositoryConfig
getSearchIsEnabled
in interface IRepositoryConfig
public boolean getFulltextSearchIsEnabled()
IRepositoryConfig
getFulltextSearchIsEnabled
in interface IRepositoryConfig
public boolean getSearchIndexingIsEnabled()
IRepositoryConfig
getSearchIndexingIsEnabled
in interface IRepositoryConfig
public String getFulltextSearchIndexLanguageType()
IRepositoryConfig
getFulltextSearchIndexLanguageType
in interface IRepositoryConfig
public String getFulltextSearchQueryLanguageType()
IRepositoryConfig
getFulltextSearchQueryLanguageType
in interface IRepositoryConfig
public Boolean getFulltextSearchQueryAnyLanguage()
IRepositoryConfig
getFulltextSearchQueryAnyLanguage
in interface IRepositoryConfig
public List<String> getFolderBadges()
public boolean isManaged()
IRepositoryConfig
isManaged
in interface IRepositoryConfig
public boolean isBeaRepository()
public boolean isExtended()
public boolean isDeprecatedBEA()
public boolean isUcmRepository()
public boolean isStreamable()
IRepositoryConfig
isStreamable
in interface IRepositoryConfig
public void setClassName(String className)
setClassName
in interface IRepositoryConfig
className
- The class namepublic void setProperties(Properties properties)
IRepositoryConfig
setProperties
in interface IRepositoryConfig
properties
- The properties to set.public void setUserName(String userName)
IRepositoryConfig
setUserName
in interface IRepositoryConfig
userName
- The username to set.public void setPassword(String password)
IRepositoryConfig
setPassword
in interface IRepositoryConfig
password
- The password to set.public void setReadOnly(boolean readOnly)
IRepositoryConfig
setReadOnly
in interface IRepositoryConfig
readOnly
- The readOnly bit for this repository.public void setNodeCacheMaxEntries(int nodeCacheMaxEntries)
setNodeCacheMaxEntries
in interface IRepositoryConfig
nodeCacheMaxEntries
- The maxinum cache entries for the node cache for this repository.public void setNodeCacheIsEnabled(boolean nodeCacheIsEnabled)
setNodeCacheIsEnabled
in interface IRepositoryConfig
nodeCacheIsEnabled
- True if enabling the node cache, else false.public void setNodeCacheTtl(long nodeCacheTtl)
setNodeCacheTtl
in interface IRepositoryConfig
nodeCacheTtl
- The time-to-live value for entries in this repository's node cache.public void setBinaryCacheMaxEntries(int binaryCacheMaxEntries)
setBinaryCacheMaxEntries
in interface IRepositoryConfig
binaryCacheMaxEntries
- The maximum number of entires in this repository's binary cache.public void setBinaryCacheMaxEntrySize(long binaryCacheMaxEntrySize)
IRepositoryConfig
setBinaryCacheMaxEntrySize
in interface IRepositoryConfig
binaryCacheMaxEntrySize
- The maximum size of an entry for this repository's binary cache.public void setBinaryCacheTtl(long binaryCacheTtl)
setBinaryCacheTtl
in interface IRepositoryConfig
binaryCacheTtl
- The time-to-live value for entries in this repository's binary cache.public void setBinaryCacheIsEnabled(boolean binaryCacheIsEnabled)
setBinaryCacheIsEnabled
in interface IRepositoryConfig
public void setSearchIsEnabled(boolean searchIsEnabled)
IRepositoryConfig
setSearchIsEnabled
in interface IRepositoryConfig
searchIsEnabled
- True if metadata search is enabled for this repository.public void setFulltextSearchIsEnabled(boolean fulltextSearchIsEnabled)
IRepositoryConfig
setFulltextSearchIsEnabled
in interface IRepositoryConfig
fulltextSearchIsEnabled
- True if fulltext search is enabled for this repository.public void setSearchIndexingIsEnabled(boolean searchIndexingIsEnabled)
IRepositoryConfig
setSearchIndexingIsEnabled
in interface IRepositoryConfig
searchIndexingIsEnabled
- True if fulltext search indexing is enabled for this repository.public String toString()
IRepositoryConfig
toString
in interface IRepositoryConfig
toString
in class Object
public IRepositoryConfig clone() throws CloneNotSupportedException
IRepositoryConfig
clone
in interface IRepositoryConfig
clone
in class Object
CloneNotSupportedException
|
Oracle Fusion Middleware Java API for Oracle WebLogic Portal 10g Release 3 (10.3.4) E14255-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |