Interface IThingIDService
- All Superinterfaces:
IComponent
,IInitializable
,IMetaComponent
For creation and manipulation of IThingID
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionconvertToCurrentFormat
(int dbID) converts a dbID to a IThingID will make a DB call if thingID is not cachedcreateThingID
(int xtypeID, int dbID) create a thingID based on xtypeID and database IDcreateThingID
(String uri) get a thingID from a uri stringcreateThingID
(String xtypeName, int dbID) create a thingID based on xtypeID and database IDcreates an empty thingID listcreateThingIDList
(int initialSize) creates an empty thingID listint
getState
(boolean isInactive, boolean isDeleted) Converts state flags to valuereturns an invalid ID (not null)Methods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.service.meta2.IMetaComponent
getMetaContext, setMetaContext
-
Method Details
-
createThingID
get a thingID from a uri string- Parameters:
uri
-- Returns:
-
createThingID
create a thingID based on xtypeID and database ID- Parameters:
xtypeID
- xtype iddbID
- database ID- Returns:
- thingID
- See Also:
-
createThingID
create a thingID based on xtypeID and database ID- Parameters:
xtypeName
- IXtypeService valuedbID
- database ID- Returns:
- thingID
- See Also:
-
invalidID
IThingID invalidID()returns an invalid ID (not null) -
convertToCurrentFormat
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
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
-