@Entity
public class SavedDocument
extends com.whitestein.lsps.common.VersionedAbstractEntity
Modifier and Type | Field and Description |
---|---|
static String |
FIND_BY_SAVED_BY
Query name.
|
Constructor and Description |
---|
SavedDocument()
Constructor needed for JPA-specific purposes.
|
SavedDocument(String documentId,
long moduleId,
String title,
Date savedDate,
String savedBy,
byte[] documentType,
byte[] content,
byte[] parameters)
Creates new entity.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getContent()
Returns content (stored model instance).
|
String |
getDocumentId()
Returns document Id.
|
Serializable |
getDocumentType()
Returns serialized document type.
|
long |
getModuleId()
Returns module id.
|
Serializable |
getParameters()
Returns serialized parameters.
|
String |
getSavedBy()
Returns id of person that saved the document.
|
Date |
getSavedDate()
Returns date of document save.
|
String |
getTitle()
Returns title.
|
boolean |
isDeleted()
Returns true if saved document is deleted.
|
void |
setContent(byte[] data)
Sets content.
|
void |
setDeleted(boolean deleted)
Sets deleted.
|
public static final String FIND_BY_SAVED_BY
public SavedDocument()
public String getDocumentId()
public long getModuleId()
public String getTitle()
public Date getSavedDate()
public String getSavedBy()
public byte[] getContent()
public void setContent(byte[] data)
data
- public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- public Serializable getParameters()
public Serializable getDocumentType()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.