public class CassModelObject extends CassObjectContainer implements ModelObjectContainer
| Modifier and Type | Field and Description |
|---|---|
static String |
kAclTag |
static String |
kMetadataTag |
| Modifier and Type | Method and Description |
|---|---|
String |
asJson() |
boolean |
canUser(io.continual.iam.identity.Identity operator,
ModelOperation op) |
void |
checkUser(io.continual.iam.identity.Identity operator,
ModelOperation op) |
static String |
createBasicObjectJson(io.continual.iam.access.AccessControlList acl) |
static String |
createBasicObjectJson(String acctId) |
boolean |
exists(ModelRequestContext context,
io.continual.util.naming.Name itemName) |
static CassModelObject |
fromJson(org.json.JSONObject object,
io.continual.services.model.service.impl.cassandra.CassModelLoaderContext mlc) |
io.continual.iam.access.AccessControlList |
getAccessControlList() |
org.json.JSONObject |
getData() |
io.continual.services.model.service.impl.cassandra.CassElementList |
getElementsBelow(ModelRequestContext context) |
String |
getId() |
String |
getResourceDescription() |
Set<String> |
getTypes() |
org.json.JSONObject |
toJson() |
String |
toString() |
getElementsBelow, load, remove, storeclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final String kMetadataTag
public static final String kAclTag
public static CassModelObject fromJson(org.json.JSONObject object, io.continual.services.model.service.impl.cassandra.CassModelLoaderContext mlc) throws ModelServiceIoException
ModelServiceIoExceptionpublic String getResourceDescription()
public boolean exists(ModelRequestContext context, io.continual.util.naming.Name itemName) throws ModelServiceIoException
exists in interface ModelObjectContainerModelServiceIoExceptionpublic io.continual.services.model.service.impl.cassandra.CassElementList getElementsBelow(ModelRequestContext context) throws ModelServiceRequestException, ModelServiceIoException
getElementsBelow in interface ModelObjectContainerModelServiceRequestExceptionModelServiceIoExceptionpublic static String createBasicObjectJson(io.continual.iam.access.AccessControlList acl)
public String getId()
getId in interface io.continual.iam.access.Resourcepublic String asJson()
asJson in interface ModelObjectpublic Set<String> getTypes()
getTypes in interface ModelObjectpublic org.json.JSONObject getData()
getData in interface ModelObjectpublic boolean canUser(io.continual.iam.identity.Identity operator,
ModelOperation op)
public void checkUser(io.continual.iam.identity.Identity operator,
ModelOperation op)
throws ModelServiceAccessException,
ModelServiceIoException
public io.continual.iam.access.AccessControlList getAccessControlList()
public org.json.JSONObject toJson()
toJson in interface io.continual.util.data.json.JsonSerializedCopyright © 2021 continual.io. All rights reserved.