Interface IThingID

All Superinterfaces:
Cloneable, IThingIDBase, IURI, Serializable

public interface IThingID extends IThingIDBase, IURI
  • Field Details

    • THINGID_WIDTH

      static final int THINGID_WIDTH
      defines the size of string versions of the dbID (ex:0000012134)
      See Also:
  • Method Details

    • getMetaContext

      IMetaContext getMetaContext()
      get the meta context for this thing
      Returns:
      IMetaContext
    • isValid

      boolean isValid()
      false if not a valid ID
      Returns:
      boolean
    • getThing

      IThing getThing()
      Returns:
      instantiated thing, or null if invalid ID or xtype ID
    • getDBState

      int getDBState()
      gets thing state as it exists in the DB warning will always result in a DB call, use sparingly
      See Also:
    • exists

      boolean exists()
      Does this ID exist in the system? Warning will always result in a DB call, use sparingly
    • toString

      String toString()
      The URI of this thingID
      Specified by:
      toString in interface IURI
      Overrides:
      toString in class Object
      Returns:
      string representation
      See Also:
    • initialize

      void initialize(String uri) throws PortalException
      Initialize this thingID via URI string Do not call directly, use PortalSystem.acquireURI(java.lang.String)
      Specified by:
      initialize in interface IURI
      Parameters:
      uri -
      Throws:
      PortalException - if invalid URI
      See Also: