Package org.ametys.odf.content.code
Interface UniqueCodeGenerator
- All Known Implementing Classes:
AbstractUniqueCodeGenerator,PrefixedIncrementalCodeGenerator,RandomCodeGenerator
public interface UniqueCodeGenerator
Interface for a generator of unique code for ODF content
-
Method Summary
Modifier and TypeMethodDescriptiongenerateUniqueCode(String odfContentTypeId) Generate a unique codegetId()Get the idgetLabel()Get the label
-
Method Details
-
getId
Get the id- Returns:
- the id.
-
getLabel
Get the label- Returns:
- The label
-
generateUniqueCode
Generate a unique code- Parameters:
odfContentTypeId- The ODF content type- Returns:
- a unique code
-