Interface BambooEntityOidService

All Known Implementing Classes:
BambooEntityOidServiceImpl

@ThreadSafe public interface BambooEntityOidService
Service for operations on BambooEntityOids.
  • Method Details

    • nextOid

      @NotNull @NotNull BambooEntityOid nextOid(@NotNull @NotNull BambooEntityType entityType)
      Return the next available BambooEntityOid of the given type. Uses this Bamboo instance's server key for generating the OID.
      Parameters:
      entityType - type of entity
      Returns:
      next available OID for the given type
    • resetOidPool

      void resetOidPool(@NotNull @NotNull BambooEntityType entityType)
      Reset pool of OIDs of the given entity type for this Bamboo instance's server key. This method will perform recalculation of next available OID.
      Parameters:
      entityType - type of entity