DEPRECATED

# com.bea.p13n.content
ContentManager Interface

public interface ContentManager
extends `EJBObject`

A front-end session bean for dealing with Content.

Related Topics

``ContentManagerHome``

All Superinterfaces
  `EJBObject`, `Remote`

All Known Subinterfaces
  `com.bea.p13n.content.document.DocumentManager`

## Method Summary

`public `Enumeration`` | `getContent`(`Search` params, boolean readOnly) Get an Enumeration of Content object that match the seach parameters.
`public `Enumeration`` | `getContent`(`Search` params) Get an Enumeration of Content objects that match the search parameters.
`public `Collection`` | `getContentIds`(`Search` params) Get a collection of string content ids that match the search parameters.
`public `PropertySet`` | `getPropertySet`(`String` name) Get a named content PropertySet from this manager.
`public `String`[]` | `getPropertySetNames`() Get the list of all property set names known by this manager.
`public `Map`` | `getPropertySets`() Get a map of property set name to PropertySet of all content PropertySets from this manager.

Methods from interface `javax.ejb.`EJBObject``
`getEJBHome, getHandle, getPrimaryKey, isIdentical, remove`

## Method Detail

### getContent(Search, boolean) Method

DEPRECATED Use getContent(Search) instead

    public Enumeration getContent(Search params,
                                  boolean readOnly)
         throws RemoteException

Get an Enumeration of Content object that match the seach parameters.

#### Parameters

params
  the search paramters.

readOnly
  true to return read-only version of the Content objects, false to return the live EJBs.

#### Returns

the enumeration of matching Content objects.

#### Exceptions

``RemoteException``
  thrown on an error.

### getContent(Search) Method

    public Enumeration getContent(Search params)
         throws RemoteException

Get an Enumeration of Content objects that match the search parameters.

#### Parameters

params
  the search paramters.

#### Returns

the enumeration of matching Content objects.

#### Exceptions

``RemoteException``
  thrown on an error.

### getContentIds(Search) Method

    public Collection getContentIds(Search params)
         throws RemoteException

Get a collection of string content ids that match the search parameters.

#### Parameters

params
  the search paramters.

#### Returns

the collection of matching string content ids.

#### Exceptions

``RemoteException``
  thrown on an error.

### getPropertySet(String) Method

    public PropertySet getPropertySet(String name)
         throws RemoteException

Get a named content PropertySet from this manager.

#### Exceptions

``RemoteException``
  thrown on an error.

### getPropertySetNames() Method

    public String[] getPropertySetNames()
         throws RemoteException

Get the list of all property set names known by this manager.

#### Exceptions

``RemoteException``
  thrown on an error.

### getPropertySets() Method

    public Map getPropertySets()
         throws RemoteException

Get a map of property set name to PropertySet of all content PropertySets from this manager.

#### Exceptions

``RemoteException``
  thrown on an error.