Package com._1c.g5.v8.bm.store
Interface IBmPersistentStringRegistry
- 
 public interface IBmPersistentStringRegistryPersistent string registry.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Closes the registry.IntegergetId(String string)Gets the ID of the specified string.StringgetString(Integer id)Gets string by ID.
 
- 
- 
- 
Method Detail- 
getIdInteger getId(String string) throws IOException Gets the ID of the specified string. First check is performed if the string has already been assigned an ID. If it has, the ID is returned. Otherwise the string is assigned next free ID and the ID is returned.- Parameters:
- string- The string. May not be- null.
- Returns:
- the ID or nullif there are no free identifiers left.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
getStringString getString(Integer id) throws IOException Gets string by ID.- Parameters:
- id- The ID.
- Returns:
- the string or nullif there is no string with the specified ID.
- Throws:
- IOException- if any I/O error occurs.
 
 - 
closevoid close() throws IOExceptionCloses the registry.- Throws:
- IOException- if any I/O error occurs.
 
 
- 
 
-