public interface IThingBaseInfo extends IThingBaseView
IThing
,
IThingBaseView
Modifier and Type | Field and Description |
---|---|
static int |
ACL_CAPABILITY
Deprecated.
use {@link #AUTH_LEVEL_ANONYMOUS)
|
static int |
ACL_FREE
Deprecated.
use {@link #AUTH_LEVEL_FULL_ACCESS)
|
static int |
ACL_LEVEL_0
Deprecated.
use {@link #AUTH_LEVEL_DEFAULT)
|
static int |
ACL_LEVEL_1
Deprecated.
use {@link #AUTH_LEVEL_FULL_ACCESS)
|
static int |
ACL_LEVEL_2
Deprecated.
use {@link #AUTH_LEVEL_ANONYMOUS)
|
static int |
ACL_NORMAL
Deprecated.
use {@link #AUTH_LEVEL_DEFAULT)
|
static int |
AUTH_LEVEL_ANONYMOUS
Anonymous (guest) access is applied to this thing (read right)
|
static int |
AUTH_LEVEL_BASIC
Basic authentication is required for this thing
|
static int |
AUTH_LEVEL_DEFAULT
Default authentication level
|
static int |
AUTH_LEVEL_FULL_ACCESS
Anyone has complete access to this thing
|
static int |
AUTH_LEVEL_NTLM
Basic authentication is required for this thing
|
Modifier and Type | Method and Description |
---|---|
void |
putIsVersioned(boolean isVersioned)
puts the isversioned state in the cache
|
void |
putState(int state)
puts the thing state in the cache
|
void |
putThingInfo(IThingID ownerID,
IThingID styleID,
int authLevel)
puts this data in the cache
|
void |
setThingInfo(IThingID ownerID,
IThingID styleID,
int authLevel)
persists these values to DB
|
getAuthLevel, getIsVersioned, getOwnerID, getState, getStyleID
static final int AUTH_LEVEL_DEFAULT
static final int AUTH_LEVEL_FULL_ACCESS
static final int AUTH_LEVEL_ANONYMOUS
static final int AUTH_LEVEL_BASIC
static final int AUTH_LEVEL_NTLM
@Deprecated static final int ACL_LEVEL_0
@Deprecated static final int ACL_NORMAL
@Deprecated static final int ACL_LEVEL_1
@Deprecated static final int ACL_FREE
@Deprecated static final int ACL_LEVEL_2
@Deprecated static final int ACL_CAPABILITY
void putThingInfo(IThingID ownerID, IThingID styleID, int authLevel)
ownerID
- styleID
- authLevel
- void setThingInfo(IThingID ownerID, IThingID styleID, int authLevel) throws MetaException
ownerID
- - must be user or group or nullstyleID
- - can be nullauthLevel
- MetaException
void putState(int state)
state
- to change state
,
IThingState
void putIsVersioned(boolean isVersioned)
isVersioned
- to version a thing