Package de.hybris.platform.catalog
Interface ModelDBUtilsService
- All Known Implementing Classes:
DefaultModelDBUtilsService
public interface ModelDBUtilsService
Service DBUtils for Models
-
Method Summary
Modifier and TypeMethodDescriptionlongfindColumnSize(String typeCode, String qualifier) Find the Column size for specified composed type code
-
Method Details
-
findColumnSize
Find the Column size for specified composed type code- Parameters:
typeCode- the code of the type to get attribute descriptor forqualifier- the attribute qualifier- Returns:
- Size of Column
- for String Column type returns number of characters available
- for types with a specific size it returns that size, otherwise bytes
- 0 - when the column could not be retrieved, or due to some other error, probably a temporary one
- Throws:
IllegalArgumentException- when aqualifierhas no corresponding column (e.g. is a relation side or is dynamic) orqualifierdoes not existUnknownIdentifierException- when the type does not exist
-