Package lumis.content.metadata
Class MetaDataManager
- java.lang.Object
-
- lumis.content.metadata.MetaDataManager
-
- All Implemented Interfaces:
IMetaDataManager
@Deprecated public class MetaDataManager extends java.lang.Object implements IMetaDataManager
Deprecated.Since 4.2.0, replaced byIContentManager
.Manager for meta data- Since:
- 4.0.4
- Version:
- $Revision: 9601 $ $Date: 2008-07-18 15:38:17 -0300 (Fri, 18 Jul 2008) $
-
-
Constructor Summary
Constructors Constructor Description MetaDataManager()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description MetaDataConfig
get(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.Gets the meta data config.java.util.Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, java.lang.String itemId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId).java.util.Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, java.lang.String itemId, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId).java.util.Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId).java.util.Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId).MetaDataConfig
getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).MetaDataConfig
getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).java.util.List<CommentConfig>
getComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.Gets the comments associated with the given meta data.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction)
Deprecated.Gets all meta data ids associated with the given service instance.int
getNumComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.Gets the number of comments associated with given meta data.int
getNumVersions(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.Gets the number of versions (ignoring meta data plurality) existent for a given content.java.lang.String
getParentServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, ITransaction transaction)
Deprecated.Gets the service instance where the given content (identified by itemId and serviceId) was created.
-
-
-
Method Detail
-
get
public MetaDataConfig get(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the meta data config.- Specified by:
get
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getByItemId
public java.util.Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, java.lang.String itemId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.- Specified by:
getByItemId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getByItemId
public java.util.Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, java.lang.String itemId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId). The collection will contain meta data configs for all the service instances that the content is published to.- Specified by:
getByItemId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceId
public java.util.Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.- Specified by:
getByItemIdAndServiceId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceId
public java.util.Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets a Collection of meta data configs associated to the same content (identified by the itemId, serviceId and sourceId). The collection will contain meta data configs for all the service instances that the content is published to.- Specified by:
getByItemIdAndServiceId
in interfaceIMetaDataManager
considerInactiveVersion
- TODO- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceInstanceId
public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).- Specified by:
getByItemIdAndServiceInstanceId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceInstanceId
public MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).- Specified by:
getByItemIdAndServiceInstanceId
in interfaceIMetaDataManager
considerInactiveVersion
- TODO- Returns:
- Throws:
ManagerException
PortalException
-
getParentServiceInstanceId
public java.lang.String getParentServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the service instance where the given content (identified by itemId and serviceId) was created.- Specified by:
getParentServiceInstanceId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getIdsByServiceInstanceId
public java.util.Collection<java.lang.String> getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets all meta data ids associated with the given service instance.- Specified by:
getIdsByServiceInstanceId
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getNumComments
public int getNumComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the number of comments associated with given meta data.- Specified by:
getNumComments
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getComments
public java.util.List<CommentConfig> getComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the comments associated with the given meta data.- Specified by:
getComments
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
getNumVersions
public int getNumVersions(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Description copied from interface:IMetaDataManager
Gets the number of versions (ignoring meta data plurality) existent for a given content. That means, for example, if a given content is published for two service instances (and so associated with two meta datas) and has three edited versions for each, this method will return three, instead of six (that is the actual number of rows on meta data version table for this content).- Specified by:
getNumVersions
in interfaceIMetaDataManager
- Returns:
- Throws:
ManagerException
PortalException
-
-