Interface IdentifierGenerator

All Known Implementing Classes:
BasicIdentifierGenerator, IdentifierGeneratorBase

@AlfrescoPublicApi public interface IdentifierGenerator
Generates an identifier for a content type from a given context.
Author:
Roy Wetherall
  • Method Summary

    Modifier and Type
    Method
    Description
    Generates the next id based on the provided context.
    The content type this generator is applicible to.
  • Method Details

    • getType

      QName getType()
      The content type this generator is applicible to.
      Returns:
      QName the type
    • generateId

      String generateId(Map<String,Serializable> context)
      Generates the next id based on the provided context.
      Parameters:
      context - map of context values
      Returns:
      String the next id