Class ProjectResourceRecord
java.lang.Object
simpleorm.dataset.SRecordInstance
com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
com.inductiveautomation.ignition.gateway.project.records.ProjectResourceRecord
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class simpleorm.dataset.SRecordInstance
SRecordInstance.BrokenOptimisticLockException
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BlobField
static final BooleanField
Special deleted bit used to create reliable diffs based on edit counts.static final StringField
static final LongField
static final BooleanField
static final LongField
static final RecordMeta<ProjectResourceRecord>
static final StringField
static final StringField
static final StringField
static final StringField
static final IdentityField
static final ReferenceField<ProjectRecord>
static final LongField
static final BooleanField
static final BooleanField
static final StringField
static final IntField
static final IntField
static final BooleanField
Fields inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
cloneFrom
(ProjectResourceRecord publishedRecord) void
Deprecated.int
byte[]
getData()
boolean
long
getId()
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance.getName()
long
int
boolean
isLocked()
boolean
boolean
boolean
void
markDeleted
(long editCount) Overridden to toggle deleted flag instead of truly deleting the recordvoid
Simply calls super.deleteRecord(); Used in the publishing systemvoid
setAllProps
(ProjectResource resource) Methods inherited from class com.inductiveautomation.ignition.gateway.localdb.persistence.PersistentRecord
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
Methods inherited from class simpleorm.dataset.SRecordInstance
allFields, assertNewRow, assertNotNewRow, defineInitialValue, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
-
Field Details
-
META
-
PkId
-
Id
-
ProjectId
-
Project
-
Name
-
Documentation
-
ModuleId
-
ModuleVersion
-
ResourceType
-
SerializationVersion
-
Scope
-
ParentUUID
-
Data
-
Protected
-
LastEdit
-
Deleted
Special deleted bit used to create reliable diffs based on edit counts. SeedeleteRecord()
override. -
Published
-
Staging
-
IsOEMLocked
-
-
Constructor Details
-
ProjectResourceRecord
public ProjectResourceRecord()
-
-
Method Details
-
getMeta
Description copied from class:SRecordInstance
This must be defined in every user record's definition to access the SRecord which provides the meta data for this instance. It is normally defined as:-SRecord getMeta() { return meta; };
The actual
meta
variable is thus not Serialized, but it would not be anyway as it is usually static.- Specified by:
getMeta
in classPersistentRecord
-
getId
public long getId() -
getProjectId
public long getProjectId() -
getName
-
getDocumentation
-
getLastEdit
-
getModuleId
-
getModuleVersion
-
getResourceType
-
getSerializationVersion
public int getSerializationVersion() -
getApplicationScope
public int getApplicationScope() -
isProtected
public boolean isProtected() -
getParentUuid
-
getDeleted
public boolean getDeleted() -
isPublished
public boolean isPublished() -
isStaging
public boolean isStaging() -
isLocked
public boolean isLocked() -
getData
public byte[] getData() -
setAllProps
-
cloneFrom
-
deleteRecord
Deprecated.Don't call this! Use the other overload instead.- Overrides:
deleteRecord
in classSRecordInstance
-
reallyDelete
public void reallyDelete()Simply calls super.deleteRecord(); Used in the publishing system -
markDeleted
public void markDeleted(long editCount) Overridden to toggle deleted flag instead of truly deleting the record
-