public class DefaultCatalogService extends AbstractBusinessService implements CatalogService
CatalogService.AbstractService.SerializableDTOmodelService, sessionService, txManagertenant| Constructor and Description |
|---|
DefaultCatalogService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
Deprecated.
since ages
|
java.util.Collection<CatalogModel> |
getAllCatalogs()
Returns all
CatalogModels. |
<T extends CatalogModel> |
getAllCatalogsOfType(java.lang.Class<T> catalogType)
Returns for the given
T (upper bound CatalogModel) all catalogs of T defined in the
system |
CatalogModel |
getCatalog(java.lang.String id)
Deprecated.
since ages
|
CatalogModel |
getCatalogForId(java.lang.String id)
Returns the catalog with the specified
id. |
CatalogVersionModel |
getCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
Deprecated.
since ages
|
CatalogModel |
getDefaultCatalog()
Returns the default catalog basing on
CatalogModel.DEFAULTCATALOG property. |
CatalogVersionModel |
getSessionCatalogVersion(java.lang.String catalogId)
Deprecated.
since ages
|
java.util.Set<CatalogVersionModel> |
getSessionCatalogVersions()
Deprecated.
since ages
|
void |
setCatalogDao(CatalogDao catalogDao) |
void |
setCatalogVersionService(CatalogVersionService catalogVersionService) |
void |
setSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
Deprecated.
since ages
|
void |
setSessionCatalogVersions(java.util.Set<CatalogVersionModel> catalogVersions)
Deprecated.
since ages
|
getModelService, getSessionService, getTxManager, setModelService, setSessionService, setTxManagerafterPropertiesSet, getCurrentTenant, setBeanName, setCurrentTenant, setTenantScope, writeReplace@Deprecated
public void setSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
CatalogServiceCatalogVersionModel specified by catalogId and catalogVersionName as
the active CatalogVersion of the current session. Previous set active CatalogVersions are replaced.setSessionCatalogVersion in interface CatalogServicecatalogId - the id of the Catalog the CatalogVersion belongs tocatalogVersionName - the version of the Catalog version@Deprecated public void setSessionCatalogVersions(java.util.Set<CatalogVersionModel> catalogVersions)
CatalogServiceCatalogVersionModels as the active CatalogVersions of the current session. The
previous active Session CatalogVersions are replaced.setSessionCatalogVersions in interface CatalogServicecatalogVersions - the catalogVersions to be set as active session CatalogVersions@Deprecated public java.util.Set<CatalogVersionModel> getSessionCatalogVersions()
CatalogServiceCatalogVersionModels which are activated for the current session.getSessionCatalogVersions in interface CatalogService@Deprecated
public void addSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
CatalogServiceCatalogVersionModel specified by catalogId and catalogVersionName to
the current active Session CatalogVersions.addSessionCatalogVersion in interface CatalogServicecatalogId - the id of the Catalog the CatalogVersion belongs tocatalogVersionName - the version of the Catalog version@Deprecated public CatalogVersionModel getCatalogVersion(java.lang.String catalogId, java.lang.String catalogVersionName)
CatalogServicegetCatalogVersion in interface CatalogServicecatalogId - the id for the catalogcatalogVersionName - the version string for the catalog version@Deprecated public CatalogVersionModel getSessionCatalogVersion(java.lang.String catalogId)
CatalogServiceCatalogVersionModel in the session with the specified catalogIdgetSessionCatalogVersion in interface CatalogServicecatalogId - the Catalog id the CatalogVersion belongs tocatalogId, or null if not
foundpublic java.util.Collection<CatalogModel> getAllCatalogs()
CatalogServiceCatalogModels.getAllCatalogs in interface CatalogServicepublic <T extends CatalogModel> java.util.Collection<T> getAllCatalogsOfType(java.lang.Class<T> catalogType)
CatalogServiceT (upper bound CatalogModel) all catalogs of T defined in the
systemgetAllCatalogsOfType in interface CatalogServiceT - This could be a ClassificationSystemModel or a CatalogModelClassificationSystemModels or CatalogModel were found.@Deprecated public CatalogModel getCatalog(java.lang.String id)
CatalogServiceid.getCatalog in interface CatalogServicepublic CatalogModel getCatalogForId(java.lang.String id)
CatalogServiceid.getCatalogForId in interface CatalogServicepublic CatalogModel getDefaultCatalog()
CatalogServiceCatalogModel.DEFAULTCATALOG property. If multiple catalogs the
one created the latest will be returned.getDefaultCatalog in interface CatalogServiceCatalogModel, or null in case no default catalog was found.public void setCatalogDao(CatalogDao catalogDao)
public void setCatalogVersionService(CatalogVersionService catalogVersionService)
Copyright © 2018 SAP SE. All Rights Reserved.