Package lumis.content.metadata
Class MetaDataManager
- java.lang.Object
-
- lumis.content.metadata.MetaDataManager
-
- All Implemented Interfaces:
IMetaDataManager
@Deprecated public class MetaDataManager extends 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, String metaDataId, ITransaction transaction)
Deprecated.Gets the meta data config.Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, String itemId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId).Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, String itemId, ITransaction transaction)
Deprecated.Gets a Collection of meta data configs associated to the same content (identified by the itemId).Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, 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).Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, 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, String itemId, String serviceInstanceId, 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, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
Deprecated.Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).List<CommentConfig>
getComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
Deprecated.Gets the comments associated with the given meta data.Collection<String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction)
Deprecated.Gets all meta data ids associated with the given service instance.int
getNumComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
Deprecated.Gets the number of comments associated with given meta data.int
getNumVersions(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
Deprecated.Gets the number of versions (ignoring meta data plurality) existent for a given content.String
getParentServiceInstanceId(SessionConfig sessionConfig, String itemId, 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, 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 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, 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 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, 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 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, 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 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, 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, String itemId, String serviceInstanceId, 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, String itemId, String serviceInstanceId, 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 String getParentServiceInstanceId(SessionConfig sessionConfig, String itemId, 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 Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, 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, 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 List<CommentConfig> getComments(SessionConfig sessionConfig, 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, String itemId, String serviceInstanceId, 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
-
-