public interface RepositoryManager
ProductType
information which boils down to policy information about
Product
s that are ingested into the File Manager. This includes
information such as the root repository path for a product type, what type of
URI generation scheme to apply, etc.
Modifier and Type | Field and Description |
---|---|
static String |
X_POINT_ID |
Modifier and Type | Method and Description |
---|---|
void |
addProductType(ProductType productType)
Adds a ProductType to the RepositoryManager.
|
ProductType |
getProductTypeById(String productTypeId)
Gets a {link ProductType} from the RepositoryManager identified by its
productTypeId . |
ProductType |
getProductTypeByName(String productTypeName)
Gets a
ProductType specified by its productTypeName ,
from the RepositoryManager. |
List<ProductType> |
getProductTypes()
Gets all the
ProductType s from the repository. |
void |
modifyProductType(ProductType productType)
Modifies a ProductType in the RepositoryManager with the specified ID
field of the
productType . |
void |
removeProductType(ProductType productType)
Removes a ProductType from the RepositoryManager
|
static final String X_POINT_ID
void addProductType(ProductType productType) throws RepositoryManagerException
Adds a ProductType to the RepositoryManager.
productType
- The ProductType
to add.RepositoryManagerException
void modifyProductType(ProductType productType) throws RepositoryManagerException
Modifies a ProductType in the RepositoryManager with the specified ID
field of the productType
.
productType
- The new ProductType
information.RepositoryManagerException
- If any error occurs.void removeProductType(ProductType productType) throws RepositoryManagerException
Removes a ProductType from the RepositoryManager
.productType
- The productType to remove.RepositoryManagerException
- If any error occurs during the removal.ProductType getProductTypeById(String productTypeId) throws RepositoryManagerException
Gets a {link ProductType} from the RepositoryManager identified by its
productTypeId
.
productTypeId
- The ID of the ProductType to retrieve.ProductType
corresponding to the specified
productTypeId
.RepositoryManagerException
- If any error occurs.ProductType getProductTypeByName(String productTypeName) throws RepositoryManagerException
Gets a ProductType
specified by its productTypeName
,
from the RepositoryManager.
productTypeName
- The name of the ProductType to get.ProductType
, with the specified name.RepositoryManagerException
- If any error occurs.List<ProductType> getProductTypes() throws RepositoryManagerException
Gets all the ProductType
s from the repository.
List
of ProductType
s from the repository.RepositoryManagerException
- If any error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.