it.sistematica.isharedoc.model.dms
Class FileRuleEvent

java.lang.Object
  extended by it.sistematica.isharedoc.model.dms.FileRuleEvent
All Implemented Interfaces:
it.neverworks.application.model.CreationAuditable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, java.io.Serializable

public class FileRuleEvent
extends java.lang.Object
implements java.io.Serializable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute

See Also:
Serialized Form

Nested Class Summary
static class FileRuleEvent.EventStatus
           
static class FileRuleEvent.EventType
           
 
Field Summary
protected  java.util.Date created
           
protected  it.neverworks.security.User createdBy
           
protected  File file
           
protected  FileRule fileRule
           
protected  java.lang.Long id
           
protected  java.util.Date modified
           
protected  it.neverworks.security.User modifiedBy
           
protected  java.lang.String note
           
protected  Partition partition
           
protected  FileRuleEvent.EventStatus status
           
protected  FileRuleEvent.EventType type
           
 
Constructor Summary
FileRuleEvent()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.Date getCreated()
           
 it.neverworks.security.User getCreatedBy()
           
 File getFile()
           
 FileRule getFileRule()
           
 java.lang.Long getId()
           
 java.util.Date getModified()
           
 it.neverworks.security.User getModifiedBy()
           
 java.lang.String getNote()
           
 Partition getPartition()
           
 FileRuleEvent.EventStatus getStatus()
           
 FileRuleEvent.EventType getType()
           
 int hashCode()
           
 boolean sameEventAs(File file, FileRule fileRule, FileRuleEvent.EventType type)
           
 void setCreated(java.util.Date created)
           
 void setCreatedBy(it.neverworks.security.User createdBy)
           
 void setFile(File file)
           
 void setFileRule(FileRule fileRule)
           
 void setId(java.lang.Long id)
           
 void setModified(java.util.Date modified)
           
 void setModifiedBy(it.neverworks.security.User modifiedBy)
           
 void setNote(java.lang.String note)
           
 void setPartition(Partition partition)
           
 void setStatus(FileRuleEvent.EventStatus status)
           
 void setType(FileRuleEvent.EventType type)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

id

protected java.lang.Long id

created

protected java.util.Date created

createdBy

protected it.neverworks.security.User createdBy

modified

protected java.util.Date modified

modifiedBy

protected it.neverworks.security.User modifiedBy

partition

protected Partition partition

fileRule

protected FileRule fileRule

file

protected File file

status

protected FileRuleEvent.EventStatus status

type

protected FileRuleEvent.EventType type

note

protected java.lang.String note
Constructor Detail

FileRuleEvent

public FileRuleEvent()
Method Detail

getId

public java.lang.Long getId()

setId

public void setId(java.lang.Long id)

getCreated

public java.util.Date getCreated()
Specified by:
getCreated in interface it.neverworks.application.model.CreationAuditable

setCreated

public void setCreated(java.util.Date created)
Specified by:
setCreated in interface it.neverworks.application.model.CreationAuditable

getCreatedBy

public it.neverworks.security.User getCreatedBy()
Specified by:
getCreatedBy in interface it.neverworks.application.model.CreationAuditable

setCreatedBy

public void setCreatedBy(it.neverworks.security.User createdBy)
Specified by:
setCreatedBy in interface it.neverworks.application.model.CreationAuditable

getModified

public java.util.Date getModified()
Specified by:
getModified in interface it.neverworks.application.model.ModificationAuditable

setModified

public void setModified(java.util.Date modified)
Specified by:
setModified in interface it.neverworks.application.model.ModificationAuditable

getModifiedBy

public it.neverworks.security.User getModifiedBy()
Specified by:
getModifiedBy in interface it.neverworks.application.model.ModificationAuditable

setModifiedBy

public void setModifiedBy(it.neverworks.security.User modifiedBy)
Specified by:
setModifiedBy in interface it.neverworks.application.model.ModificationAuditable

getPartition

public Partition getPartition()
Specified by:
getPartition in interface PartitionAttribute

setPartition

public void setPartition(Partition partition)
Specified by:
setPartition in interface PartitionAttribute

getFileRule

public FileRule getFileRule()

setFileRule

public void setFileRule(FileRule fileRule)

getFile

public File getFile()

setFile

public void setFile(File file)

getStatus

public FileRuleEvent.EventStatus getStatus()

setStatus

public void setStatus(FileRuleEvent.EventStatus status)

getType

public FileRuleEvent.EventType getType()

setType

public void setType(FileRuleEvent.EventType type)

getNote

public java.lang.String getNote()

setNote

public void setNote(java.lang.String note)

sameEventAs

public boolean sameEventAs(File file,
                           FileRule fileRule,
                           FileRuleEvent.EventType type)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object