Package com.logicaldoc.core
Class History
java.lang.Object
com.logicaldoc.core.PersistentObject
com.logicaldoc.core.History
- All Implemented Interfaces:
Serializable
,Comparable<History>
- Direct Known Subclasses:
DocumentHistory
,FolderHistory
,UserHistory
,WebserviceCall
Superclass for history entries
- Since:
- 5.0
- Author:
- Matteo Caruso - LogicalDOC
- See Also:
-
Field Summary
Fields inherited from class com.logicaldoc.core.PersistentObject
DELETED_CODE_DEFAULT, DELETED_CODE_STRONG
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getColor()
getDate()
getDocId()
getEvent()
getFile()
getIp()
int
getIsNew()
int
getPath()
getUser()
int
hashCode()
boolean
void
This setter sets the ip, device and other informations that can be captured by the given clientvoid
void
setComment
(String comment) void
void
void
void
setDocument
(Document document) void
void
void
setFilename
(String filename) void
setFilenameOld
(String filenameOld) void
setFileSize
(Long fileSize) void
setFileVersion
(String fileVersion) void
void
setFolderId
(Long folderId) void
setGeolocation
(String geolocation) void
void
setIsNew
(int nnew) void
setNotified
(int notified) void
setNotifyEvent
(boolean notifyEvent) void
void
setPathOld
(String pathOld) void
void
setSession
(Session session) This setter sets the sessionId, userId, username and other informations that can be captured by the given sessionvoid
setSessionId
(String sessionId) void
void
This setter sets the userId and username and other informations that can be captured by the given uservoid
void
setUserLogin
(String login) void
setUsername
(String username) void
setVersion
(String version) toString()
Methods inherited from class com.logicaldoc.core.PersistentObject
getDeleted, getId, getLastModified, getRecordVersion, getTenantId, setDeleted, setId, setLastModified, setRecordVersion, setTenantId
-
Field Details
-
ASPECT
- See Also:
-
-
Method Details
-
getFileVersion
-
setFileVersion
-
getVersion
-
setVersion
-
getPath
-
setPath
-
getDate
- Returns:
- Returns the date.
-
setDate
- Parameters:
date
- The date to set.
-
getDocId
- Returns:
- Returns the docId.
-
setDocId
- Parameters:
docId
- The docId to set.
-
getEvent
- Returns:
- Returns the event.
-
setEvent
- Parameters:
event
- The event to set.
-
getUsername
- Returns:
- Returns the username.
-
setUsername
- Parameters:
username
- The username to set.
-
getComment
-
setComment
-
getNotified
public int getNotified() -
setNotified
public void setNotified(int notified) -
getSessionId
-
setSessionId
-
getUser
-
setSession
This setter sets the sessionId, userId, username and other informations that can be captured by the given session- Parameters:
session
- the session to read informations from
-
setUser
This setter sets the userId and username and other informations that can be captured by the given user- Parameters:
user
- the user to read informations from
-
setDocument
-
setClient
This setter sets the ip, device and other informations that can be captured by the given client- Parameters:
client
- the client to read informations from
-
getIsNew
public int getIsNew() -
setIsNew
public void setIsNew(int nnew) -
getFilename
-
setFilename
-
getFilenameOld
-
setFilenameOld
-
getPathOld
-
setPathOld
-
getFile
-
setFile
-
getTenant
-
setTenant
-
getUserLogin
-
setUserLogin
-
getDocument
-
getFolder
-
setFolder
-
isNotifyEvent
public boolean isNotifyEvent() -
setNotifyEvent
public void setNotifyEvent(boolean notifyEvent) -
getIp
-
setIp
-
getReason
-
setReason
-
getFolderId
-
getUserId
-
setFolderId
-
setUserId
-
getGeolocation
-
setGeolocation
-
getDevice
-
setDevice
-
getFileSize
-
setFileSize
-
getColor
-
setColor
-
toString
- Overrides:
toString
in classPersistentObject
-
compareTo
- Specified by:
compareTo
in interfaceComparable<History>
-
equals
- Overrides:
equals
in classPersistentObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classPersistentObject
-