public class DBFileOpened extends DBUserAction
DBObject.DenormalizeAction
Modifier and Type | Field and Description |
---|---|
static GlobalId |
DBCLASS_GID
records when a user has viewed a file.
|
static java.lang.String |
DBCLASS_NAME
records when a user has viewed a file.
|
ATTRIBUTE_MARVIN, dbClass, ds, NO_LOOP_PARAMS
Constructor and Description |
---|
DBFileOpened(DBClass def,
DataSource ds)
Creates a new DBFileOpened object
|
Modifier and Type | Method and Description |
---|---|
static DBFileOpened |
create(DBFile file,
Contact contact,
DataSource ds)
Creates a new DBFileOpened record for the given parameters, does not save
the data source.
|
static DBFileOpened |
create(DBFile file,
Person person,
DataSource ds)
Creates a new DBFileOpened record for the given parameters, does not save
the data source.
|
Contact |
findContact(java.lang.String... args)
The contact who opened the file.
|
DBFile |
findFile(java.lang.String... args)
the file that the user opened/viewed.
|
Contact |
getContact(java.lang.String... args) |
DBFile |
getFile(java.lang.String... args) |
DBFileOpened |
setContact(com.aspc.dal.dbobj.contact.Contact value,
java.lang.String... args) |
DBFileOpened |
setFile(com.aspc.dal.file.DBFile value,
java.lang.String... args) |
create, findKey, findPerson, findSession, getID, getPerson, getSession, getTime, makeQuery, setID, setPerson, setSession, setTime
addReloadEventListener, archiveCheck, autoEnterCreate, calculateValue, calculateValue, calculateValue, callingRestoreByJournal, changeThreadMode, checkCreateAccess, checkDelete, checkDeleteAccess, checkModifyAccess, checkModifyAccess, checkReadAccess, clearCache, copy, copyFields, copyIncludeField, copyInwardLinks, delete, denormalizedResult, displayLogName, displayName, displayValue, doSearch, dump, equals, eventDataLoaded, eventFieldUpdated, extAutoEnterCreate, extCanDeleteDependantObject, extCheckCreateAccess, extCheckDeleteAccess, extCheckModifyAccess, extCheckModifyAccess, extCheckReadAccess, extCopy, extDelete, extDeleteRecord, extFixUp, extGetDerivedGlobalKey, extGetDerivedValue, extGetValue, extIsMandatory, extIsOnChange, extMarkSavePoint, extPostDeleteRecord, extPostSaveRecord, extPreDeleteRecord, extPreSaveRecord, extPreValidate, extPreValidateDelete, extRaiseEvents, extRollbackTo, extSaveRecord, extSetValue, extUndelete, extValidateDelete, extValidateField, extValidateRecord, fetchLinkHolder, findGlobalKey, findGlobalKey, findGlobalKey, findGlobalKey, findLinkedObject, findLinkedObject, findLinkedObject, findRawData, fireEventDataLoaded, fixUp, forceLockedTransaction, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getBoolean, getChangedFieldInfo, getChangedFields, getDate, getDate, getDate, getDate, getDate, getDefaultValue, getDisableOnChangeEvent, getDouble, getDouble, getDouble, getDouble, getDouble, getFieldDouble, getFieldInt, getFieldLong, getFieldString, getFormattedString, getFormattedString, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getGlobalKey, getInt, getInt, getInt, getInt, getInt, getInt, getInwardLinkage, getKeyString, getKeyValue, getLinkedObject, getLinkedObject, getLinkedObject, getLinkedObjectByKey, getLinkedRowId, getLinkedRowId, getLinkedRowIdByData, getLinkHolder, getLockedTransaction, getLong, getLong, getLong, getLong, getLong, getLong, getMutableArrayValue, getMutableArrayValue, getOriginalKey, getOriginalValue, getOriginalValue, getProcessedValue, getPureValue, getRawData, getRawValue, getRawValue, getRowId, getRowKey, getSecondaryCacheGroupKey, getSrcLayerID, getString, getString, getString, getString, getString, getString, getValue, getValue, getValue, getValue, hasAutoChanged, hasAutoChanged, hasChanged, hasChangedByUser, hasChangedByUserField, hasChangedByUserField, hasFieldChanged, hasFieldChanged, hashCode, hasStoredResult, iCheckDeleteAccess, iCheckModifyAccess, iCheckReadAccess, iGetDenormalizedMap, iGetRawValue, iPlaceDenormalizedResult, iPostSaveOrDeleteRecord, iPreSaveOrDeleteRecord, iPreValidate, iRaiseEvents, iSaveOrDeleteRecord, isBrokenLink, isBrokenLink, isChanged, isDataCacheKnownToBeDirty, isDeleted, isEmpty, iSetValue, isForceReindex, isKeyWordField, isMandatory, isNew, isNull, isNull, isOnChange, isReindex, iValidateRecord, lastTouched, makeArchiveDataLoader, makeClone, makeDataLoader, makeDenormalizedDoc, makeLinkedArray, makeModifyAccessException, makeSearchPlan, makeWriteProvider, manualDenormalizeOnSave, markSavePoint, optLockedTransaction, registerWatchedObject, reindex, releaseDenormalized, removeReloadEventListener, restoreByJournal, rollbackTo, setBoolean, setBoolean, setBoolean, setBoolean, setDisableOnChangeEvent, setDouble, setDouble, setInt, setInt, setLong, setLong, setRawData, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, touch, undelete, validateField, validateRecord, validateSubType
public static final java.lang.String DBCLASS_NAME
public static final GlobalId DBCLASS_GID
public DBFileOpened(DBClass def, DataSource ds) throws java.lang.Exception
def
- the class definitionds
- the data sourcejava.lang.Exception
- a serious problem@CheckReturnValue @Nullable public Contact getContact(java.lang.String... args)
@CheckReturnValue @Nonnull public final Contact findContact(java.lang.String... args) throws NotFoundException
Contact
(Integer,
Searchable)args
- the optional argumentsNotFoundException
- Contact was not found@Nonnull public DBFileOpened setContact(com.aspc.dal.dbobj.contact.Contact value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
@CheckReturnValue @Nullable public DBFile getFile(java.lang.String... args)
@CheckReturnValue @Nonnull public final DBFile findFile(java.lang.String... args) throws NotFoundException
DBFile
(Integer, Searchable)args
- the optional argumentsNotFoundException
- DBFile was not found@Nonnull public DBFileOpened setFile(com.aspc.dal.file.DBFile value, java.lang.String... args) throws java.lang.Exception
java.lang.Exception
public static DBFileOpened create(DBFile file, Person person, DataSource ds) throws java.lang.Exception
ds
- the datasource to usefile
- the file that was openedperson
- the person that opened the filejava.lang.Exception
- a serious problempublic static DBFileOpened create(DBFile file, Contact contact, DataSource ds) throws java.lang.Exception
ds
- the datasource to usefile
- the file that was openedcontact
- the contact that opened the filejava.lang.Exception
- a serious problemstSoftware Copyright © 2001-2014 stSoftware All Rights Reserved.