public abstract class AbstractInstanceResource<R extends Resource> extends AbstractResource implements Saveable<R>
deletedPropertyNames, dirty, dirtyProperties, properties, referenceFactoryreadLock, writeLock| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInstanceResource(InternalDataStore dataStore) |
protected |
AbstractInstanceResource(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
delete()
Basic delete support method that simply calls,
dataStore.delete(this). |
static boolean |
isInstanceResource(Map<String,?> props)
Returns
true if the specified data map represents a materialized instance resource data set, false otherwise. |
R |
save() |
clear, containsKey, containsValue, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyDescriptors, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isMaterialized, isMaterialized, isNew, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, setResourceProperty, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyprotected AbstractInstanceResource(InternalDataStore dataStore)
protected AbstractInstanceResource(InternalDataStore dataStore, Map<String,Object> properties)
protected void delete()
dataStore.delete(this). This can be exposed from child
classes when needed.public static boolean isInstanceResource(Map<String,?> props)
true if the specified data map represents a materialized instance resource data set, false otherwise.props - the data properties to testtrue if the specified data map represents a materialized instance resource data set, false otherwise.Copyright © 2017 Okta. All rights reserved.