public interface IThingID extends IThingIDBase, IURI
Modifier and Type | Field and Description |
---|---|
static int |
THINGID_WIDTH
defines the size of string versions of the dbID (ex:0000012134)
|
Modifier and Type | Method and Description |
---|---|
boolean |
exists()
Does this ID exist in the system?
Warning will always result in a DB call, use sparingly
|
int |
getDBState()
gets thing state as it exists in the DB
warning will always result in a DB call, use sparingly
|
IMetaContext |
getMetaContext()
get the meta context for this thing
|
IThing |
getThing() |
void |
initialize(String uri)
Initialize this thingID via URI string
Do not call directly, use
PortalSystem.acquireURI(java.lang.String) |
boolean |
isValid()
false if not a valid ID
|
String |
toString()
The URI of this thingID
|
getDbID, getTypeID, getXTypeID
clone, getSegment, getSegments, getSegments, getServiceName, getSize
static final int THINGID_WIDTH
IMetaContext getMetaContext()
boolean isValid()
IThing getThing()
int getDBState()
IThingState
boolean exists()
String toString()
void initialize(String uri) throws PortalException
PortalSystem.acquireURI(java.lang.String)
initialize
in interface IURI
uri
- PortalException
- if invalid URIIURI