lumis.content.metadata
Interface IMetaDataManager

Package class diagram package IMetaDataManager
All Known Implementing Classes:
MetaDataManager

Deprecated. Since 4.2.0, replaced by IContentManager.

@Deprecated
public interface IMetaDataManager

Manager interface for meta data related operations

Since:
4.0.4

Method Summary
 MetaDataConfig get(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. 
 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. 
 Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig, String itemId, ITransaction transaction)
          Deprecated. 
 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. 
 Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig, String itemId, String serviceId, String sourceId, ITransaction transaction)
          Deprecated. 
 MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, boolean considerInactiveVersion, ITransaction transaction)
          Deprecated. 
 MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
          Deprecated. 
 List<CommentConfig> getComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. 
 Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig, String serviceInstanceId, ITransaction transaction)
          Deprecated. 
 int getNumComments(SessionConfig sessionConfig, String metaDataId, ITransaction transaction)
          Deprecated. 
 int getNumVersions(SessionConfig sessionConfig, String itemId, String serviceInstanceId, String sourceId, ITransaction transaction)
          Deprecated. 
 String getParentServiceInstanceId(SessionConfig sessionConfig, String itemId, String serviceId, ITransaction transaction)
          Deprecated. 
 

Method Detail

get

@Deprecated
MetaDataConfig get(SessionConfig sessionConfig,
                              String metaDataId,
                              ITransaction transaction)
                   throws ManagerException,
                          PortalException
Deprecated. 

Gets the meta data config.

Parameters:
sessionConfig -
metaDataId -
transaction -
Returns:
Throws:
ManagerException
PortalException

getByItemId

@Deprecated
Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig,
                                                  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
Collection<MetaDataConfig> getByItemId(SessionConfig sessionConfig,
                                                  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
Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig,
                                                              String itemId,
                                                              String serviceId,
                                                              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
Collection<MetaDataConfig> getByItemIdAndServiceId(SessionConfig sessionConfig,
                                                              String itemId,
                                                              String serviceId,
                                                              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 - TODO
transaction -
Returns:
Throws:
ManagerException
PortalException

getByItemIdAndServiceInstanceId

@Deprecated
MetaDataConfig getByItemIdAndServiceInstanceId(SessionConfig sessionConfig,
                                                          String itemId,
                                                          String serviceInstanceId,
                                                          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,
                                                          String itemId,
                                                          String serviceInstanceId,
                                                          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 - TODO
transaction -
Returns:
Throws:
ManagerException
PortalException

getParentServiceInstanceId

@Deprecated
String getParentServiceInstanceId(SessionConfig sessionConfig,
                                             String itemId,
                                             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
Collection<String> getIdsByServiceInstanceId(SessionConfig sessionConfig,
                                                        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,
                              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
List<CommentConfig> getComments(SessionConfig sessionConfig,
                                           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,
                              String itemId,
                              String serviceInstanceId,
                              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


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.