it.sistematica.isharedoc.model.organization
Class Organization
java.lang.Object
it.sistematica.isharedoc.model.organization.Organization
- All Implemented Interfaces:
- it.neverworks.application.data.tracking.Loggable, it.neverworks.application.model.CreationAuditable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, java.io.Serializable
public class Organization
- extends java.lang.Object
- implements java.io.Serializable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, it.neverworks.application.data.tracking.Loggable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
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
name
protected java.lang.String name
code
protected java.lang.String code
description
protected java.lang.String description
trees
protected java.util.List<OrganizationTree> trees
partecipants
protected java.util.List<OrganizationUser> partecipants
oldChilds
@Deprecated
protected java.util.List<Organization> oldChilds
- Deprecated.
oldParent
@Deprecated
protected Organization oldParent
- Deprecated.
oldVersion
@Deprecated
protected OrganizationVersion oldVersion
- Deprecated.
organizationType
protected OrganizationType organizationType
inheritedOrganizations
@Deprecated
protected java.util.Set<Organization> inheritedOrganizations
- Deprecated.
swimlanes
protected java.util.List<Swimlane> swimlanes
locations
protected java.util.List<LocationAttribute> locations
Organization
public Organization()
toLog
public it.neverworks.application.data.tracking.Log toLog()
- Specified by:
toLog
in interface it.neverworks.application.data.tracking.Loggable
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
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getCode
public java.lang.String getCode()
setCode
public void setCode(java.lang.String code)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getTrees
public java.util.List<OrganizationTree> getTrees()
setTrees
public void setTrees(java.util.List<OrganizationTree> trees)
addTree
public void addTree(OrganizationTree tree)
removeTree
public void removeTree(OrganizationTree tree)
getEnabled
public java.lang.Boolean getEnabled()
setEnabled
public void setEnabled(java.lang.Boolean enabled)
getDeleted
public java.lang.Boolean getDeleted()
setDeleted
public void setDeleted(java.lang.Boolean deleted)
getActivePartecipants
public java.util.List<OrganizationUser> getActivePartecipants()
getPartecipants
public java.util.List<OrganizationUser> getPartecipants()
setPartecipants
public void setPartecipants(java.util.List<OrganizationUser> partecipants)
addPartecipant
public void addPartecipant(OrganizationUser partecipant)
removePartecipant
public void removePartecipant(OrganizationUser partecipant)
hasPartecipant
public boolean hasPartecipant(it.neverworks.security.User user)
getPartecipant
public OrganizationUser getPartecipant(it.neverworks.security.User user)
getInactivePartecipant
public OrganizationUser getInactivePartecipant(it.neverworks.security.User user)
getPartecipantUsers
public java.util.List<it.neverworks.security.User> getPartecipantUsers()
getSupervisors
public java.util.List<it.neverworks.security.User> getSupervisors()
getOldChilds
public java.util.List<Organization> getOldChilds()
setOldChilds
public void setOldChilds(java.util.List<Organization> oldChilds)
getOldParent
public Organization getOldParent()
setOldParent
public void setOldParent(Organization oldParent)
getOldVersion
public OrganizationVersion getOldVersion()
setOldVersion
public void setOldVersion(OrganizationVersion oldVersion)
getOrganizationType
public OrganizationType getOrganizationType()
setOrganizationType
public void setOrganizationType(OrganizationType organizationType)
getInheritedOrganizations
public java.util.Set<Organization> getInheritedOrganizations()
setInheritedOrganizations
public void setInheritedOrganizations(java.util.Set<Organization> inheritedOrganizations)
addInheritedOrganization
public void addInheritedOrganization(Organization organization)
removeInheritedOrganization
public void removeInheritedOrganization(Organization organization)
getSwimlanes
public java.util.List<Swimlane> getSwimlanes()
setSwimlanes
public void setSwimlanes(java.util.List<Swimlane> swimlanes)
addSwimlane
public void addSwimlane(Swimlane swimlane)
removeSwimlane
public void removeSwimlane(Swimlane swimlane)
getFullName
public java.lang.String getFullName()
getLocations
public java.util.List<LocationAttribute> getLocations()
setLocations
public void setLocations(java.util.List<LocationAttribute> locations)
addLocation
public void addLocation(LocationAttribute location)
updatedLocation
public void updatedLocation(LocationAttribute location)
removeLocation
public void removeLocation(LocationAttribute location)
getActiveTree
public OrganizationTree getActiveTree()
getAscendings
public java.util.List<Organization> getAscendings()
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
saveOrganization
public void saveOrganization()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object