public interface CatalogService
| Modifier and Type | Method and Description |
|---|---|
void |
addSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
Deprecated.
|
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 - Use
getCatalogForId(String) instead. |
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 - Use
CatalogVersionService.getCatalogVersion(String, String) |
CatalogModel |
getDefaultCatalog()
Returns the default catalog basing on
CatalogModel.DEFAULTCATALOG property. |
CatalogVersionModel |
getSessionCatalogVersion(java.lang.String catalogId)
Deprecated.
since ages - Use
CatalogVersionService.getSessionCatalogVersionForCatalog(String) |
java.util.Set<CatalogVersionModel> |
getSessionCatalogVersions()
Deprecated.
since ages - Use
CatalogVersionService.getSessionCatalogVersions() |
void |
setSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
Deprecated.
since ages - use
CatalogVersionService.setSessionCatalogVersion(String, String) instead. |
void |
setSessionCatalogVersions(java.util.Set<CatalogVersionModel> catalogVersions)
Deprecated.
since ages - Use
CatalogVersionService.setSessionCatalogVersions(Collection) |
@Deprecated
void setSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
CatalogVersionService.setSessionCatalogVersion(String, String) instead.CatalogVersionModel specified by catalogId and catalogVersionName as
the active CatalogVersion of the current session. Previous set active CatalogVersions are replaced.catalogId - the id of the Catalog the CatalogVersion belongs tocatalogVersionName - the version of the Catalog versionUnknownIdentifierException - if no CatalogVersion with the specified catalog id and version existsAmbiguousIdentifierException - if more than one CatalogVersion is found with the specified catalog id and versionjava.lang.IllegalArgumentException - if catalogId or catalogVersionName is null@Deprecated void setSessionCatalogVersions(java.util.Set<CatalogVersionModel> catalogVersions)
CatalogVersionService.setSessionCatalogVersions(Collection)CatalogVersionModels as the active CatalogVersions of the current session. The
previous active Session CatalogVersions are replaced.catalogVersions - the catalogVersions to be set as active session CatalogVersionsjava.lang.IllegalArgumentException - if catalogVersions is null@Deprecated
void addSessionCatalogVersion(java.lang.String catalogId,
java.lang.String catalogVersionName)
CatalogVersionService.addSessionCatalogVersion(CatalogVersionModel)CatalogVersionModel specified by catalogId and catalogVersionName to
the current active Session CatalogVersions.catalogId - the id of the Catalog the CatalogVersion belongs tocatalogVersionName - the version of the Catalog versionUnknownIdentifierException - if no CatalogVersion with the specified catalog id and version existsAmbiguousIdentifierException - if more than one CatalogVersion is found with the specified catalog id and versionjava.lang.IllegalArgumentException - if catalogId or catalogVersionName is null@Deprecated java.util.Set<CatalogVersionModel> getSessionCatalogVersions()
CatalogVersionService.getSessionCatalogVersions()CatalogVersionModels which are activated for the current session.@Deprecated CatalogVersionModel getCatalogVersion(java.lang.String catalogId, java.lang.String catalogVersionName)
CatalogVersionService.getCatalogVersion(String, String)catalogId - the id for the catalogcatalogVersionName - the version string for the catalog versionUnknownIdentifierException - if no CatalogVersion with the specified catalog id and version existsAmbiguousIdentifierException - if more than one CatalogVersion is found with the specified catalog id and versionjava.lang.IllegalArgumentException - if catalogId or catalogVersionName is nulljava.util.Collection<CatalogModel> getAllCatalogs()
CatalogModels.<T extends CatalogModel> java.util.Collection<T> getAllCatalogsOfType(java.lang.Class<T> catalogType)
T (upper bound CatalogModel) all catalogs of T defined in the
systemT - This could be a ClassificationSystemModel or a CatalogModelClassificationSystemModels or CatalogModel were found.java.lang.IllegalArgumentException - if catalogType is null@Deprecated CatalogModel getCatalog(java.lang.String id)
getCatalogForId(String) instead.id.UnknownIdentifierException - if no Catalog with the specified id is foundAmbiguousIdentifierException - if more than one Catalog is found with the specified idjava.lang.IllegalArgumentException - if id is nullCatalogModel getCatalogForId(java.lang.String id)
id.UnknownIdentifierException - if no Catalog with the specified id is foundAmbiguousIdentifierException - if more than one Catalog is found with the specified idjava.lang.IllegalArgumentException - if id is nullCatalogModel getDefaultCatalog()
CatalogModel.DEFAULTCATALOG property. If multiple catalogs the
one created the latest will be returned.CatalogModel, or null in case no default catalog was found.{@link - AmbiguousIdentifierException} if there exists more then one default catalog in the data base.@Deprecated CatalogVersionModel getSessionCatalogVersion(java.lang.String catalogId)
CatalogVersionService.getSessionCatalogVersionForCatalog(String)CatalogVersionModel in the session with the specified catalogIdcatalogId - the Catalog id the CatalogVersion belongs tocatalogId, or null if not
foundjava.lang.IllegalArgumentException - if catalogId is nullAmbiguousIdentifierException - if more than one CatalogVersionModel can be found in the session with the specified
catalogIdCopyright © 2018 SAP SE. All Rights Reserved.