# com.bea.content.mbeans
ContentStoreMBean Interface

public interface ContentStoreMBean
extends `ServiceConfigurationMBean`

Configuration for repositories in the Content Management system. Repositories are dynamic storage locations for content and documents. For each repository, there exists a corresponding MBean instance. The Content Manager aggregates the sum of all repositories and provides a single, unified view for usage. Child of ContentManagementMBean

All Superinterfaces
  `ConfigurationMBean`, `DynamicMBean`, `MBeanRegistration`, `NotificationBroadcaster`, `ServiceConfigurationMBean`, `WebLogicMBean`

## Field Summary

Fields from interface weblogic.management.configuration`.`ConfigurationMBean``
`CACHING_STUB_SVUID, DEFAULT_EMPTY_BYTE_ARRAY`

## Method Summary

`public long` | `getBinaryCacheMaxEntrySize`() Returns the maximum size for a byte[] inside the repository binary cache.
`public `String`` | `getClassName`() Returns the fully-qualified class name representing the connection interface for a repository.
`public byte[]` | `getPasswordEncrypted`() Returns password for accessing repository.
`public `Properties`` | `getProperties`() Returns any properties for repository in key=value format.
`public boolean` | `getReadOnly`() Provides read-only setting for a repository.
`public `String`` | `getUsername`() Returns username for accessing repository.
`public void` | `setBinaryCacheMaxEntrySize`(long maxEntrySize) Sets the max size for an entry inside the repository binary cache.
`public void` | `setClassName`(`String` newClassName) Sets the fully-qualified class name representing the connection interface for a repository.
`public void` | `setPasswordEncrypted`(byte[] passwordBytes) Sets password for accessing repository.
`public void` | `setProperties`(`Properties` newProperties) Sets any properties for repository in key=value format.
`public void` | `setReadOnly`(boolean newReadOnly) Sets the read-only attribute for a repository.
`public void` | `setUsername`(`String` newUsername) Sets username for accessing repository.

Methods from interface `weblogic.management.configuration.`ConfigurationMBean``
`freezeCurrentValue, getAttributeStringValue, getComments, getNotes, getSetFields, getXml, getXmlConverter, isDefaultedMBean, isPersistenceEnabled, preDeregister, registerConfigMBean, restoreDefaultValue, setComments, setDefaultedMBean, setNotes, setPersistenceEnabled, touch, unRegisterConfigMBean`

Methods from interface `javax.management.`DynamicMBean``
`getAttribute, getAttributes, getMBeanInfo, invoke, setAttribute, setAttributes`

Methods from interface `javax.management.`MBeanRegistration``
`postDeregister, postRegister, preDeregister, preRegister`

Methods from interface `javax.management.`NotificationBroadcaster``
`addNotificationListener, getNotificationInfo, removeNotificationListener`

Methods from interface `com.bea.p13n.management.`ServiceConfigurationMBean``
``

Methods from interface `weblogic.management.`WebLogicMBean``
`getMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParent`

## Method Detail

### getBinaryCacheMaxEntrySize() Method

    public long getBinaryCacheMaxEntrySize()

Returns the maximum size for a byte[] inside the repository binary cache.

#### Returns

Current username for accessing repository.

### getClassName() Method

    public String getClassName()

Returns the fully-qualified class name representing the connection interface for a repository. The Content Manager attempts to load this class when working with content from a repository.

#### Returns

Class name serving as SPI.

### getPasswordEncrypted() Method

    public byte[] getPasswordEncrypted()

Returns password for accessing repository.

#### Returns

Encrypted password for accessing repository.

### getProperties() Method

    public Properties getProperties()

Returns any properties for repository in key=value format.

#### Returns

Properties for configuring a repository.

### getReadOnly() Method

    public boolean getReadOnly()

Provides read-only setting for a repository.

#### Returns

Read-only setting for a repository.

### getUsername() Method

    public String getUsername()

Returns username for accessing repository.

#### Returns

Current username for accessing repository.

### setBinaryCacheMaxEntrySize(long) Method

    public void setBinaryCacheMaxEntrySize(long maxEntrySize)

Sets the max size for an entry inside the repository binary cache. The Content Manager will validate the size of each BinaryValue property against this setting before adding the associated byte[] to the cache.

#### Parameters

maxEntrySize
  Maximum size of a BinaryValue for caching.

### setClassName(String) Method

    public void setClassName(String newClassName)

Sets the fully-qualified class name representing the connection interface for a repository. The Content Manager attempts to load this class when working with content from a repository.

#### Parameters

newClassName
  Fully-qualified class name for repository

### setPasswordEncrypted(byte[]) Method

    public void setPasswordEncrypted(byte[] passwordBytes)

Sets password for accessing repository.

#### Parameters

passwordBytes
  Password for repository authentication.

### setProperties(Properties) Method

    public void setProperties(Properties newProperties)

Sets any properties for repository in key=value format.

#### Parameters

newProperties
  Properties for configuring a repository.

### setReadOnly(boolean) Method

    public void setReadOnly(boolean newReadOnly)

Sets the read-only attribute for a repository.

#### Parameters

newReadOnly
  Read-only attribute for a repository.

### setUsername(String) Method

    public void setUsername(String newUsername)

Sets username for accessing repository.

#### Parameters

newUsername
  Username for repository access.