public class WGFakeUserProfile extends WGFakeDocument
Constructor and Description |
---|
WGFakeUserProfile(WGDatabase db,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getMetaData(java.lang.String type)
Retrieves various meta data for the document core.
|
WGDatabaseRevision |
remove()
Removes this document from the database
|
WGDatabaseRevision |
save(java.util.Date lastModified)
Called to save modifications to this document core.
|
attachFile, createFileDerivate, dispose, evaluateExpression, getCreated, getExtensionData, getExtensionDataNames, getFastAccessKey, getFileData, getFileDerivateData, getFileDerivateMetaData, getFileDerivates, getFileMetaData, getFileNames, getFileSize, getItemNames, getItemValue, getLastModified, getLastUpdates, getMetaDataDefault, getNativeObject, getOriginDatabase, getRelation, getRelationData, getRelationNames, getRelationNamesOfGroup, getType, hasFile, hasFileMetadata, hasItem, isDataCacheable, isDeleted, isFake, isSaved, isTemporary, markFileMetaDataModified, removeExtensionData, removeFile, removeFileDerivate, removeItem, removeRelation, renameFile, retrieveFileExtensionDataHandler, setCacheable, setDeleted, setItemValue, setMetaData, setRelation, setRelation, setWGDocument, writeExtensionData, writeFileDerivateMetaData
public WGFakeUserProfile(WGDatabase db, java.lang.String name)
public java.lang.Object getMetaData(java.lang.String type) throws WGSystemException, WGIllegalArgumentException, WGBackendException
WGDocumentCore
getMetaData
in interface WGDocumentCore
getMetaData
in class WGFakeDocument
type
- The type of the meta data. See constants META_ of the specific WGDocument subclass for this doc class.WGSystemException
WGIllegalArgumentException
WGBackendException
public WGDatabaseRevision remove() throws WGBackendException
WGDocumentCore
remove
in interface WGDocumentCore
remove
in class WGFakeDocument
WGBackendException
public WGDatabaseRevision save(java.util.Date lastModified) throws WGBackendException
WGDocumentCore
save
in interface WGDocumentCore
save
in class WGFakeDocument
WGBackendException