it.sistematica.isharedoc.model.security
Class AclItem

java.lang.Object
  extended by it.sistematica.isharedoc.model.security.AclItem
All Implemented Interfaces:
it.neverworks.application.data.tracking.Loggable, it.neverworks.application.model.CreationAuditable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, java.io.Serializable
Direct Known Subclasses:
AclConfidentialityLevelItem, AclConfidentialityLevelUserItem, AclOrganizationItem, AclOrganizationUserItem, AclStaffItem, AclTeamItem, AclUserItem

public abstract class AclItem
extends java.lang.Object
implements java.io.Serializable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, it.neverworks.application.data.tracking.Loggable

See Also:
Serialized Form

Field Summary
protected  java.util.Date created
           
protected  it.neverworks.security.User createdBy
           
protected  java.lang.Long id
           
protected  java.util.Date modified
           
protected  it.neverworks.security.User modifiedBy
           
protected  Partition partition
           
protected  java.lang.String type
           
 
Constructor Summary
AclItem()
           
 
Method Summary
 void copyTo(AclItem perm)
           
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAccessDescription()
           
 java.lang.Boolean getCanChangePermission()
           
 java.lang.Boolean getCanDelete()
           
 java.lang.Boolean getCanRead()
           
 java.lang.Boolean getCanSuper()
           
 java.lang.Boolean getCanUpdate()
           
 java.util.Date getCreated()
           
 it.neverworks.security.User getCreatedBy()
           
 java.lang.Long getId()
           
 java.util.Date getModified()
           
 it.neverworks.security.User getModifiedBy()
           
 Partition getPartition()
           
 java.lang.String getType()
           
 int hashCode()
           
 void setCanChangePermission(java.lang.Boolean canChangePermission)
           
 void setCanDelete(java.lang.Boolean canDelete)
           
 void setCanRead(java.lang.Boolean canRead)
           
 void setCanSuper(java.lang.Boolean canSuper)
           
 void setCanUpdate(java.lang.Boolean canUpdate)
           
 void setCreated(java.util.Date created)
           
 void setCreatedBy(it.neverworks.security.User createdBy)
           
 void setId(java.lang.Long id)
           
 void setModified(java.util.Date modified)
           
 void setModifiedBy(it.neverworks.security.User modifiedBy)
           
 void setPartition(Partition partition)
           
 void setType(java.lang.String type)
           
abstract  it.neverworks.application.data.tracking.Log toLog()
           
 java.lang.String toString()
           
protected  org.apache.commons.lang.builder.ToStringBuilder toStringBuilder()
           
 
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

type

protected java.lang.String type
Constructor Detail

AclItem

public AclItem()
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

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

getCanRead

public java.lang.Boolean getCanRead()

setCanRead

public void setCanRead(java.lang.Boolean canRead)

getCanUpdate

public java.lang.Boolean getCanUpdate()

setCanUpdate

public void setCanUpdate(java.lang.Boolean canUpdate)

getCanDelete

public java.lang.Boolean getCanDelete()

setCanDelete

public void setCanDelete(java.lang.Boolean canDelete)

getCanChangePermission

public java.lang.Boolean getCanChangePermission()

setCanChangePermission

public void setCanChangePermission(java.lang.Boolean canChangePermission)

getCanSuper

public java.lang.Boolean getCanSuper()

setCanSuper

public void setCanSuper(java.lang.Boolean canSuper)

getAccessDescription

public java.lang.String getAccessDescription()

copyTo

public void copyTo(AclItem perm)

toLog

public abstract it.neverworks.application.data.tracking.Log toLog()
Specified by:
toLog in interface it.neverworks.application.data.tracking.Loggable

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

toStringBuilder

protected org.apache.commons.lang.builder.ToStringBuilder toStringBuilder()

toString

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