Interface IThingIDService

All Superinterfaces:
IComponent, IInitializable, IMetaComponent

public interface IThingIDService extends IMetaComponent
For creation and manipulation of IThingID
See Also:
  • Method Details

    • createThingID

      IThingID createThingID(String uri)
      get a thingID from a uri string
      Parameters:
      uri -
      Returns:
    • createThingID

      IThingID createThingID(int xtypeID, int dbID)
      create a thingID based on xtypeID and database ID
      Parameters:
      xtypeID - xtype id
      dbID - database ID
      Returns:
      thingID
      See Also:
    • createThingID

      IThingID createThingID(String xtypeName, int dbID)
      create a thingID based on xtypeID and database ID
      Parameters:
      xtypeName - IXtypeService value
      dbID - database ID
      Returns:
      thingID
      See Also:
    • invalidID

      IThingID invalidID()
      returns an invalid ID (not null)
    • convertToCurrentFormat

      IThingID convertToCurrentFormat(int dbID)
      converts a dbID to a IThingID will make a DB call if thingID is not cached
      Parameters:
      dbID - dbID of item to convert
      Returns:
      null if not found
    • createThingIDList

      IThingIDList createThingIDList(int initialSize)
      creates an empty thingID list
    • createThingIDList

      IThingIDList createThingIDList()
      creates an empty thingID list
    • getState

      int getState(boolean isInactive, boolean isDeleted)
      Converts state flags to value
      Returns:
      IThingState value