public class LegacyEntityCore extends Object implements de.cismet.cidsx.server.cores.EntityCore
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
CLASSKEY_PATTERN |
protected static com.fasterxml.jackson.databind.ObjectMapper |
MAPPER |
protected static Pattern |
OBJECTID_PATTERN |
protected static com.fasterxml.jackson.databind.ObjectReader |
PATCH_READER |
| Constructor and Description |
|---|
LegacyEntityCore() |
| Modifier and Type | Method and Description |
|---|---|
com.fasterxml.jackson.databind.JsonNode |
createObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
com.fasterxml.jackson.databind.JsonNode jsonObject,
String role,
boolean requestResultingInstance) |
static de.cismet.cids.dynamics.CidsBean |
deepcloneCidsBean(de.cismet.cids.dynamics.CidsBean cidsBean)
DOCUMENT ME!
|
static de.cismet.cids.dynamics.CidsBean |
deepcopyAllProperties(de.cismet.cids.dynamics.CidsBean sourceBean,
de.cismet.cids.dynamics.CidsBean targetBean)
DOCUMENT ME!
|
static de.cismet.cids.dynamics.CidsBean |
deepcopyAllProperties(de.cismet.cids.dynamics.CidsBean sourceBean,
de.cismet.cids.dynamics.CidsBean targetBean,
boolean cloneDeep)
DOCUMENT ME!
|
boolean |
deleteObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
String role) |
List<com.fasterxml.jackson.databind.JsonNode> |
getAllObjects(de.cismet.cidsx.server.api.types.User user,
String classKey,
String role,
int limit,
int offset,
String expand,
String level,
String fields,
String profile,
String filter,
boolean omitNullValues,
boolean deduplicate) |
String |
getClassKey(com.fasterxml.jackson.databind.JsonNode jsonObject)
Returns the parsed class name from the $self or $ref properties of the object or throws an error, if the
properties are not found or invalid.
|
String |
getCoreKey() |
com.fasterxml.jackson.databind.JsonNode |
getObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
String version,
String expand,
String level,
String fields,
String profile,
String role,
boolean omitNullValues,
boolean deduplicate) |
byte[] |
getObjectIcon(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
String role) |
String |
getObjectId(com.fasterxml.jackson.databind.JsonNode jsonObject)
Returns the value of the object property 'id' or tries to extract the id from the $self or $ref properties.
|
com.fasterxml.jackson.databind.JsonNode |
getObjectsByQuery(de.cismet.cidsx.server.api.types.User user,
de.cismet.cidsx.server.api.types.SimpleObjectQuery query,
String role,
int limit,
int offset) |
com.fasterxml.jackson.databind.JsonNode |
patchObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
com.fasterxml.jackson.databind.JsonNode jsonObject,
String role,
boolean requestResultingInstance) |
com.fasterxml.jackson.databind.JsonNode |
updateObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
com.fasterxml.jackson.databind.JsonNode jsonObject,
String role,
boolean requestResultingInstance) |
protected static final com.fasterxml.jackson.databind.ObjectMapper MAPPER
protected static final Pattern CLASSKEY_PATTERN
protected static final Pattern OBJECTID_PATTERN
protected static final com.fasterxml.jackson.databind.ObjectReader PATCH_READER
public List<com.fasterxml.jackson.databind.JsonNode> getAllObjects(@NonNull de.cismet.cidsx.server.api.types.User user, @NonNull String classKey, @NonNull String role, int limit, int offset, String expand, String level, String fields, String profile, String filter, boolean omitNullValues, boolean deduplicate)
getAllObjects in interface de.cismet.cidsx.server.cores.EntityCorepublic static de.cismet.cids.dynamics.CidsBean deepcopyAllProperties(de.cismet.cids.dynamics.CidsBean sourceBean,
de.cismet.cids.dynamics.CidsBean targetBean)
throws Exception
sourceBean - DOCUMENT ME!targetBean - DOCUMENT ME!Exception - DOCUMENT ME!public static de.cismet.cids.dynamics.CidsBean deepcopyAllProperties(de.cismet.cids.dynamics.CidsBean sourceBean,
de.cismet.cids.dynamics.CidsBean targetBean,
boolean cloneDeep)
throws Exception
sourceBean - DOCUMENT ME!targetBean - DOCUMENT ME!cloneDeep - DOCUMENT ME!Exception - DOCUMENT ME!public static de.cismet.cids.dynamics.CidsBean deepcloneCidsBean(de.cismet.cids.dynamics.CidsBean cidsBean)
throws Exception
cidsBean - DOCUMENT ME!Exception - DOCUMENT ME!public com.fasterxml.jackson.databind.JsonNode updateObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
com.fasterxml.jackson.databind.JsonNode jsonObject,
String role,
boolean requestResultingInstance)
updateObject in interface de.cismet.cidsx.server.cores.EntityCorepublic com.fasterxml.jackson.databind.JsonNode patchObject(de.cismet.cidsx.server.api.types.User user,
String classKey,
String objectId,
com.fasterxml.jackson.databind.JsonNode jsonObject,
String role,
boolean requestResultingInstance)
patchObject in interface de.cismet.cidsx.server.cores.EntityCorepublic com.fasterxml.jackson.databind.JsonNode createObject(@NonNull
de.cismet.cidsx.server.api.types.User user,
@NonNull
String classKey,
@NonNull
com.fasterxml.jackson.databind.JsonNode jsonObject,
@NonNull
String role,
boolean requestResultingInstance)
createObject in interface de.cismet.cidsx.server.cores.EntityCorepublic com.fasterxml.jackson.databind.JsonNode getObjectsByQuery(de.cismet.cidsx.server.api.types.User user,
de.cismet.cidsx.server.api.types.SimpleObjectQuery query,
String role,
int limit,
int offset)
getObjectsByQuery in interface de.cismet.cidsx.server.cores.EntityCorepublic com.fasterxml.jackson.databind.JsonNode getObject(@NonNull
de.cismet.cidsx.server.api.types.User user,
@NonNull
String classKey,
@NonNull
String objectId,
String version,
String expand,
String level,
String fields,
String profile,
@NonNull
String role,
boolean omitNullValues,
boolean deduplicate)
getObject in interface de.cismet.cidsx.server.cores.EntityCorepublic boolean deleteObject(@NonNull
de.cismet.cidsx.server.api.types.User user,
@NonNull
String classKey,
@NonNull
String objectId,
@NonNull
String role)
deleteObject in interface de.cismet.cidsx.server.cores.EntityCorepublic String getClassKey(com.fasterxml.jackson.databind.JsonNode jsonObject)
getClassKey in interface de.cismet.cidsx.server.cores.EntityCorejsonObject - DOCUMENT ME!Error - DOCUMENT ME!public String getObjectId(com.fasterxml.jackson.databind.JsonNode jsonObject)
getObjectId in interface de.cismet.cidsx.server.cores.EntityCorejsonObject - DOCUMENT ME!Error - DOCUMENT ME!public String getCoreKey()
getCoreKey in interface de.cismet.cidsx.server.cores.CidsServerCoreCopyright © 2012–2025 cismet GmbH. All rights reserved.