public interface IThingIDService extends IMetaComponent
IThingID
,
IThing
,
IThingService
Modifier and Type | Method and Description |
---|---|
IThingID |
convertToCurrentFormat(int dbID)
converts a dbID to a IThingID
will make a DB call if thingID is not cached
|
IThingID |
createThingID(int xtypeID,
int dbID)
create a thingID based on xtypeID and database ID
|
IThingID |
createThingID(String uri)
get a thingID from a uri string
|
IThingID |
createThingID(String xtypeName,
int dbID)
create a thingID based on xtypeID and database ID
|
IThingIDList |
createThingIDList()
creates an empty thingID list
|
IThingIDList |
createThingIDList(int initialSize)
creates an empty thingID list
|
int |
getState(boolean isInactive,
boolean isDeleted)
Converts state flags to value
|
IThingID |
invalidID()
returns an invalid ID (not null)
|
getMetaContext, setMetaContext
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
init, shutdown
IThingID createThingID(String uri)
uri
- IThingID createThingID(int xtypeID, int dbID)
xtypeID
- xtype iddbID
- database IDIThingType
IThingID createThingID(String xtypeName, int dbID)
xtypeName
- IXtypeService valuedbID
- database IDIThingType
IThingID invalidID()
IThingID convertToCurrentFormat(int dbID)
dbID
- dbID of item to convertIThingIDList createThingIDList(int initialSize)
IThingIDList createThingIDList()
int getState(boolean isInactive, boolean isDeleted)
IThingState
value