public abstract class AbstractInstanceResource<R extends Resource> extends AbstractResource implements Saveable<R>
properties
readLock, 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) . |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
R |
save() |
clear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyDescriptors, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, values
getBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setProperty
protected 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 Class<? extends Resource> getResourceClass()
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)Copyright © 2017–2023 Okta. All rights reserved.