public class EncryptedOrient
extends com.orientechnologies.orient.core.record.impl.ODocument
implements org.gcube.informationsystem.model.reference.properties.Encrypted
| Modifier and Type | Field and Description |
|---|---|
protected String |
contextEncryptedValue |
protected String |
dbEncryptedValue |
protected String |
decryptedValue |
_allowChainedAccess, _fields, _fieldSize, _lazyLoad, _ordered, _owners, _schema, _trackingChanges, EMPTY_STRINGS, RECORD_TYPE_contentChanged, _dirty, _dirtyManager, _listeners, _recordFormat, _recordId, _recordVersion, _size, _source, _status| Modifier | Constructor and Description |
|---|---|
|
EncryptedOrient() |
protected |
EncryptedOrient(String iClassName) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
getAdditionalProperties() |
Object |
getAdditionalProperty(String key) |
String |
getContextEncryptedValue() |
String |
getDbEncryptedValue() |
String |
getDecryptedValue() |
String |
getEncryptedValue() |
void |
setAdditionalProperties(Map<String,Object> additionalProperties) |
void |
setAdditionalProperty(String key,
Object value) |
void |
setDecryptedValue(String decryptedValue,
boolean setEncryptedForContext) |
void |
setEncryptedValue(String encryptedValue) |
String |
toJSON(String iFormat) |
addOwner, asEdge, asVertex, autoConvertFieldsToClass, autoConvertValues, checkClass, checkFieldName, checkForFields, clear, clearSource, clearTrackData, containsField, convertAllMultiValuesToTrackedVersions, copy, copyTo, deserializeFields, detach, equals, eval, eval, field, field, field, field, field, fieldNames, fields, fields, fields, fieldType, fieldValues, fill, fill, fillClassIfNeed, fromJSON, fromJSON, fromJSON, fromJSON, fromMap, fromStream, fromString, getClassName, getCollectionTimeLine, getDirtyFields, getGlobalPropertyById, getImmutableSchemaClass, getImmutableSchemaClass, getOrCreate, getOriginalValue, getOwner, getOwners, getProperty, getPropertyNames, getRawEntries, getRawProperty, getRecordType, getSchemaClass, getSchemaType, hashCode, hasOwners, hasSameContentOf, internalReset, isAllowChainedAccess, isEdge, isEmbedded, isEmpty, isLazyLoad, isOrdered, isTrackingChanges, isVertex, iterator, load, load, load, merge, merge, mergeMap, placeholder, rawContainsField, rawField, rawField, readExternal, reload, removeField, removeOwner, removeProperty, reset, save, save, save, setAllowChainedAccess, setClass, setClassName, setClassNameIfExists, setDirty, setDirtyNoChanged, setFieldType, setLazyLoad, setOrdered, setProperty, setProperty, setTrackingChanges, setup, toMap, toStream, toStream, toString, toString, track, undo, undo, unload, unTrack, validate, validateEmbedded, validateField, validateLink, validateLinkCollection, validateType, writeExternaladdIdentityChangeListener, addListener, checkForLoading, compare, compareTo, delete, flatCopy, getDatabase, getDatabaseIfDefined, getDatabaseIfDefinedInternal, getDatabaseInternal, getDirtyManager, getIdentity, getInternalStatus, getRecord, getSize, getVersion, invokeListenerEvent, isContentChanged, isDirty, isLocked, load, lock, lockingStrategy, onAfterIdentityChanged, onBeforeIdentityChanged, reload, reload, reload, removeIdentityChangeListener, removeListener, save, setContentChanged, setDirtyManager, setIdentity, setIdentity, setInternalStatus, setVersion, toJSON, toJSON, toJSON, unlock, unsetDirtyclone, finalize, getClass, notify, notifyAll, wait, wait, waitforEach, spliteratordelete, getDatabase, getIdentity, getSize, getVersion, isDirty, load, reload, reload, save, toJSONgetInternalStatus, setInternalStatusgetRecord, isLocked, lock, lockingStrategy, unlockcompareTocompare, comparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongprotected String decryptedValue
protected String dbEncryptedValue
protected String contextEncryptedValue
public EncryptedOrient()
protected EncryptedOrient(String iClassName)
public String getEncryptedValue()
getEncryptedValue in interface org.gcube.informationsystem.model.reference.properties.Encryptedpublic void setEncryptedValue(String encryptedValue)
setEncryptedValue in interface org.gcube.informationsystem.model.reference.properties.Encryptedpublic String toJSON(String iFormat)
toJSON in interface com.orientechnologies.orient.core.record.ORecordtoJSON in class com.orientechnologies.orient.core.record.ORecordAbstractpublic String getDecryptedValue()
public String getDbEncryptedValue()
public String getContextEncryptedValue()
public void setDecryptedValue(String decryptedValue, boolean setEncryptedForContext) throws Exception
Exceptionpublic Map<String,Object> getAdditionalProperties()
getAdditionalProperties in interface org.gcube.informationsystem.base.reference.SchemaMixedElementgetAdditionalProperties in interface org.gcube.informationsystem.model.reference.properties.Propertypublic void setAdditionalProperties(Map<String,Object> additionalProperties)
setAdditionalProperties in interface org.gcube.informationsystem.base.reference.SchemaMixedElementsetAdditionalProperties in interface org.gcube.informationsystem.model.reference.properties.Propertypublic Object getAdditionalProperty(String key)
getAdditionalProperty in interface org.gcube.informationsystem.base.reference.SchemaMixedElementgetAdditionalProperty in interface org.gcube.informationsystem.model.reference.properties.Propertypublic void setAdditionalProperty(String key, Object value)
setAdditionalProperty in interface org.gcube.informationsystem.base.reference.SchemaMixedElementsetAdditionalProperty in interface org.gcube.informationsystem.model.reference.properties.PropertyCopyright © 2022. All Rights Reserved.