Package lumis.content.metadata
Interface IMetaDataManager
-
- All Known Implementing Classes:
MetaDataManager
@Deprecated public interface IMetaDataManager
Deprecated.Since 4.2.0, replaced byIContentManager
.Manager interface for meta data related operations- Since:
- 4.0.4
- Version:
- $Revision$ $Date$
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description MetaDataConfig
get(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.java.util.Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, java.lang.String itemId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.java.util.Collection<MetaDataConfig>
getByItemId(SessionConfig sessionConfig, java.lang.String itemId, ITransaction transaction)
Deprecated.java.util.Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.java.util.Collection<MetaDataConfig>
getByItemIdAndServiceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.MetaDataConfig
getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction)
Deprecated.MetaDataConfig
getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.java.util.List<CommentConfig>
getComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.java.util.Collection<java.lang.String>
getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction)
Deprecated.int
getNumComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction)
Deprecated.int
getNumVersions(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction)
Deprecated.java.lang.String
getParentServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, ITransaction transaction)
Deprecated.
-
-
-
Method Detail
-
get
@Deprecated MetaDataConfig get(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the meta data config.- Parameters:
sessionConfig
-metaDataId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemId
@Deprecated java.util.Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, java.lang.String itemId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.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.- Parameters:
sessionConfig
-itemId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemId
@Deprecated java.util.Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, java.lang.String itemId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
Deprecated.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.- Parameters:
sessionConfig
-itemId
-considerInactiveVersion
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceId
@Deprecated 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.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.- Parameters:
sessionConfig
-itemId
-serviceId
-sourceId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceId
@Deprecated 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.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.- Parameters:
sessionConfig
-itemId
-serviceId
-sourceId
-considerInactiveVersion
- TODOtransaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceInstanceId
@Deprecated MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).- Parameters:
sessionConfig
-itemId
-serviceInstanceId
-sourceId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getByItemIdAndServiceInstanceId
@Deprecated MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, boolean considerInactiveVersion, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the meta data config associated to the content (identified by the itemId, serviceInstanceId and sourceId).- Parameters:
sessionConfig
-itemId
-serviceInstanceId
-sourceId
-considerInactiveVersion
- TODOtransaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getParentServiceInstanceId
@Deprecated java.lang.String getParentServiceInstanceId(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the service instance where the given content (identified by itemId and serviceId) was created.- Parameters:
sessionConfig
-itemId
-serviceId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getIdsByServiceInstanceId
@Deprecated java.util.Collection<java.lang.String> getIdsByServiceInstanceId(SessionConfig sessionConfig, java.lang.String serviceInstanceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets all meta data ids associated with the given service instance.- Parameters:
sessionConfig
-serviceInstanceId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getNumComments
@Deprecated int getNumComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the number of comments associated with given meta data.- Parameters:
sessionConfig
-metaDataId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getComments
@Deprecated java.util.List<CommentConfig> getComments(SessionConfig sessionConfig, java.lang.String metaDataId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.Gets the comments associated with the given meta data.- Parameters:
sessionConfig
-metaDataId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
getNumVersions
@Deprecated int getNumVersions(SessionConfig sessionConfig, java.lang.String itemId, java.lang.String serviceInstanceId, java.lang.String sourceId, ITransaction transaction) throws ManagerException, PortalException
Deprecated.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).- Parameters:
sessionConfig
-itemId
-serviceInstanceId
-sourceId
-transaction
-- Returns:
- Throws:
ManagerException
PortalException
-
-