com.jamasoftware.contour.domain
Class DocumentGroup

java.lang.Object
  extended by com.jamasoftware.contour.domain.DomainObjectBaseSupport
      extended by com.jamasoftware.contour.domain.DomainObjectSupport
          extended by com.jamasoftware.contour.domain.DocumentGroup
All Implemented Interfaces:
DomainObject, DomainObjectBase, OrganizationAware, java.io.Serializable

@Entity
public class DocumentGroup
extends DomainObjectSupport

Document Group/Set.

See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.jamasoftware.contour.domain.DomainObjectBase
ORGANIZATION_COLUMN_NAME
 
Constructor Summary
DocumentGroup()
           
DocumentGroup(java.lang.Integer id, com.jamasoftware.contour.project.domain.Project project, DocumentType docType, boolean active)
           
 
Method Summary
static java.util.List<DocumentGroup> createSystemDocumentGroups(com.jamasoftware.contour.project.domain.Project project, com.jamasoftware.contour.service.DocumentTypeService documentTypeService, DocumentGroupDao documentGroupDao)
           
static java.util.List<DocumentGroup> createSystemDocumentGroupsForCategory(com.jamasoftware.contour.project.domain.Project project, DocumentTypeCategory category, com.jamasoftware.contour.service.DocumentTypeService documentTypeService, DocumentGroupDao documentGroupDao)
           
 boolean equals(java.lang.Object obj)
           
 boolean getActive()
           
 java.lang.String getDescriptionDEPRECATED()
          Deprecated. Information moved to DocumentType
 java.lang.String getDisplayDEPRECATED()
          Deprecated. Information moved to DocumentType
 java.lang.Boolean getDisplayInReleaseTree()
           
 java.lang.String getDisplayPluralDEPRECATED()
          Deprecated. Information moved to DocumentType
 DocumentType getDocumentType()
           
 java.lang.Integer getId()
           
 java.lang.String getImageDEPRECATED()
          Deprecated. Information moved to DocumentType
 java.lang.String getKeySeperatorDEPRECATED()
          Deprecated. Information moved to DocumentType
 java.lang.Integer getOrganizationId()
           
 java.lang.String getPrefixDEPRECATED()
          Deprecated. Information moved to DocumentType
 com.jamasoftware.contour.project.domain.Project getProject()
           
 java.lang.Integer getSequenceNumberDEPRECATED()
          Deprecated. Information moved to DocumentType
 java.lang.Integer getSortOrder()
           
 java.lang.String getXmlToString()
           
 int hashCode()
           
static boolean isSystemGroup(DocumentGroup documentGroup)
          Determine if a DocumentGroup is a system controlled group (which is determined by its DocumentType
 com.jamasoftware.contour.security.acl.AclObjectIdentity obtainAclObjectIdentity()
           
 void setActive(boolean active)
           
 void setDescriptionDEPRECATED(java.lang.String description)
          Deprecated. Information moved to DocumentType
 void setDisplayDEPRECATED(java.lang.String display)
          Deprecated. Information moved to DocumentType
 void setDisplayInReleaseTree(java.lang.Boolean displayInReleaseTree)
           
 void setDisplayPluralDEPRECATED(java.lang.String displayPlural)
          Deprecated. Information moved to DocumentType
 void setDocumentType(DocumentType documentType1)
           
 void setId(java.lang.Integer id)
           
 void setImageDEPRECATED(java.lang.String image)
          Deprecated. Information moved to DocumentType
 void setKeySeperatorDEPRECATED(java.lang.String keySeperator)
          Deprecated. Information moved to DocumentType
 void setOrganizationId(java.lang.Integer organizationId)
           
 void setPrefixDEPRECATED(java.lang.String prefix)
          Deprecated. Information moved to DocumentType
 void setProject(com.jamasoftware.contour.project.domain.Project project)
           
 void setSequenceNumberDEPRECATED(java.lang.Integer sequenceNumber)
          Deprecated. Information moved to DocumentType
 void setSortOrder(java.lang.Integer sortOrder)
           
 java.lang.String toString()
           
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectSupport
getCreatedBy, getCreatedDate, getModifiedBy, getModifiedDate, setCreatedBy, setCreatedDate, setModifiedBy, setModifiedDate
 
Methods inherited from class com.jamasoftware.contour.domain.DomainObjectBaseSupport
isNewObject
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DocumentGroup

public DocumentGroup()

DocumentGroup

public DocumentGroup(java.lang.Integer id,
                     com.jamasoftware.contour.project.domain.Project project,
                     DocumentType docType,
                     boolean active)
Method Detail

isSystemGroup

public static boolean isSystemGroup(DocumentGroup documentGroup)
Determine if a DocumentGroup is a system controlled group (which is determined by its DocumentType

Parameters:
documentGroup - A document group
Returns:
true if the doc group stems from a system doc type

createSystemDocumentGroups

public static java.util.List<DocumentGroup> createSystemDocumentGroups(com.jamasoftware.contour.project.domain.Project project,
                                                                       com.jamasoftware.contour.service.DocumentTypeService documentTypeService,
                                                                       DocumentGroupDao documentGroupDao)

createSystemDocumentGroupsForCategory

public static java.util.List<DocumentGroup> createSystemDocumentGroupsForCategory(com.jamasoftware.contour.project.domain.Project project,
                                                                                  DocumentTypeCategory category,
                                                                                  com.jamasoftware.contour.service.DocumentTypeService documentTypeService,
                                                                                  DocumentGroupDao documentGroupDao)

getId

public java.lang.Integer getId()

setId

public void setId(java.lang.Integer id)

getProject

public com.jamasoftware.contour.project.domain.Project getProject()

setProject

public void setProject(com.jamasoftware.contour.project.domain.Project project)

getDocumentType

public DocumentType getDocumentType()

setDocumentType

public void setDocumentType(DocumentType documentType1)

getActive

public boolean getActive()

setActive

public void setActive(boolean active)

getDisplayInReleaseTree

public java.lang.Boolean getDisplayInReleaseTree()

setDisplayInReleaseTree

public void setDisplayInReleaseTree(java.lang.Boolean displayInReleaseTree)

getSortOrder

public java.lang.Integer getSortOrder()

setSortOrder

public void setSortOrder(java.lang.Integer sortOrder)

getOrganizationId

public java.lang.Integer getOrganizationId()

setOrganizationId

public void setOrganizationId(java.lang.Integer organizationId)

getXmlToString

public java.lang.String getXmlToString()

obtainAclObjectIdentity

public com.jamasoftware.contour.security.acl.AclObjectIdentity obtainAclObjectIdentity()
Specified by:
obtainAclObjectIdentity in interface DomainObject
Overrides:
obtainAclObjectIdentity in class DomainObjectBaseSupport

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object
Returns:
a String representation of this object.

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class DomainObjectBaseSupport

getDescriptionDEPRECATED

@Deprecated
public java.lang.String getDescriptionDEPRECATED()
Deprecated. Information moved to DocumentType


setDescriptionDEPRECATED

@Deprecated
public void setDescriptionDEPRECATED(java.lang.String description)
Deprecated. Information moved to DocumentType


getDisplayDEPRECATED

@Deprecated
public java.lang.String getDisplayDEPRECATED()
Deprecated. Information moved to DocumentType


setDisplayDEPRECATED

@Deprecated
public void setDisplayDEPRECATED(java.lang.String display)
Deprecated. Information moved to DocumentType


getDisplayPluralDEPRECATED

@Deprecated
public java.lang.String getDisplayPluralDEPRECATED()
Deprecated. Information moved to DocumentType


setDisplayPluralDEPRECATED

@Deprecated
public void setDisplayPluralDEPRECATED(java.lang.String displayPlural)
Deprecated. Information moved to DocumentType


getPrefixDEPRECATED

@Deprecated
public java.lang.String getPrefixDEPRECATED()
Deprecated. Information moved to DocumentType


setPrefixDEPRECATED

@Deprecated
public void setPrefixDEPRECATED(java.lang.String prefix)
Deprecated. Information moved to DocumentType


getKeySeperatorDEPRECATED

@Deprecated
public java.lang.String getKeySeperatorDEPRECATED()
Deprecated. Information moved to DocumentType


setKeySeperatorDEPRECATED

@Deprecated
public void setKeySeperatorDEPRECATED(java.lang.String keySeperator)
Deprecated. Information moved to DocumentType


getSequenceNumberDEPRECATED

@Deprecated
public java.lang.Integer getSequenceNumberDEPRECATED()
Deprecated. Information moved to DocumentType


setSequenceNumberDEPRECATED

@Deprecated
public void setSequenceNumberDEPRECATED(java.lang.Integer sequenceNumber)
Deprecated. Information moved to DocumentType


getImageDEPRECATED

@Deprecated
public java.lang.String getImageDEPRECATED()
Deprecated. Information moved to DocumentType


setImageDEPRECATED

@Deprecated
public void setImageDEPRECATED(java.lang.String image)
Deprecated. Information moved to DocumentType



Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.