public interface IThingType
IXTypeService
Base types define the basic functionality of things
Types and XTypes are NOT interchangable, refer to the documentation for a
particular interface to determine whether to pass typeID or xtypeID.
Every type has at least 1 xtype defined for it.
You can get metadata for a type thru the Type ServiceITypeService
,
IXTypeService
Modifier and Type | Field and Description |
---|---|
static int |
ALLTYPES
Some API's that take thing type ID can be passed this value to indicate no filter
|
static int |
ARCHIVED
Archive base type
Once an thing has been deleted, it becomes an Archive thing
|
static int |
BASIC
The basic type is used for some system objects
|
static int |
CONTENT
Content base type
|
static int |
FOLDER
Folder base type
|
static int |
FORM
Form base type
|
static int |
GROUP
Group base type
|
static int |
LINK
Link base type
|
static int |
PORTLET
Portlet base type (formerly called WIDGET)
|
static int |
RELATIONSHIP
Relationship base type
Internal system use only
|
static int |
ROLE
Role base type
|
static int |
SCHEDULE
Schedule base type
Internal system use only
|
static int |
SERVICE
Service thing base type
Internal system use only
|
static int |
STYLE
Style base type
Internal system use only
|
static int |
SUBSCRIPTION
Subscription base type
Internal system use only
|
static int |
TASK
Role base type
|
static int |
TEMPLATE
Template base type
|
static int |
TOPIC
Topic base type
|
static int |
UNKNOWN
no type ID
|
static int |
USER
User base type
|
static int |
WORKSPACE
Workspace base type (formerly called PAGE)
|
static int |
XTYPE
XType base type
Internal system use only
|
Modifier and Type | Method and Description |
---|---|
int |
getDefaultXType() |
String |
getName()
Get this type's name
|
int |
getTypeID()
Get this instance's type ID
|
void |
putDefaultXType(int xtypeID)
Cache the xtypeID
|
void |
setDefaultXType(int xtypeID)
Sets the default xtype for this type.
|
static final int ALLTYPES
static final int UNKNOWN
static final int BASIC
static final int FOLDER
static final int TOPIC
static final int CONTENT
static final int FORM
static final int USER
static final int GROUP
static final int ROLE
static final int TASK
static final int WORKSPACE
static final int TEMPLATE
static final int PORTLET
static final int LINK
static final int SERVICE
static final int ARCHIVED
static final int SUBSCRIPTION
static final int SCHEDULE
static final int RELATIONSHIP
static final int XTYPE
static final int STYLE
int getDefaultXType()
void setDefaultXType(int xtypeID) throws MetaException
xtypeID
- MetaException
String getName()
int getTypeID()
void putDefaultXType(int xtypeID)