@Entity(name="ContourItem") @Indexed(index="search/index/contouritem") @ClassBridge(name="contourItemFields", index=YES, analyze=YES, store=YES, impl=com.jamasoftware.contour.util.search.indexer.ContourItemClassBridge.class) public abstract class ContourItemImpl extends DomainObjectBaseSupport implements ContourItem
Modifier and Type | Field and Description |
---|---|
static List<String> |
CONTOURITEM_FIELD_NAMES |
static String |
DEFAULT_ENTITYTYPE_VALUE |
MAP_DOMAIN_OBJECT_TO_ID_FUNCTION, ORGANIZATION_COLUMN_NAME
Constructor and Description |
---|
ContourItemImpl() |
equals, hashCode, isNewObject, obtainAclObjectIdentity
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
isNewObject, obtainAclObjectIdentity
public static final String DEFAULT_ENTITYTYPE_VALUE
public <R,P> R accept(ContourItemVisitor<R,P> visitor, P p)
ContourItem
accept
in interface ContourItem
R
- The return typeP
- The optional parameter type (can be Void
)visitor
- The ContourItemVisitor
p
- The parameter@DocumentId public Integer getId()
getId
in interface DomainObjectBase
public void setId(Integer id)
setId
in interface DomainObjectBase
@Field(name="globalId", store=YES) @FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.GlobalIdFieldBridge.class) public String getGlobalId()
getGlobalId
in interface ContourItem
public void setGlobalId(String globalId)
setGlobalId
in interface ContourItem
public String getEntityType()
getEntityType
in interface ContourItem
public void setEntityType(String entityType)
setEntityType
in interface ContourItem
public String getName()
getName
in interface ContourItem
public void setName(String name)
setName
in interface ContourItem
public String getDescription()
getDescription
in interface ContourItem
public void setDescription(String description)
setDescription
in interface ContourItem
public String getLegacyKey()
getLegacyKey
in interface ContourItem
public void setLegacyKey(String legacyKey)
setLegacyKey
in interface ContourItem
public String getDocumentKey()
getDocumentKey
in interface ContourItem
public void setDocumentKey(String documentKey)
setDocumentKey
in interface ContourItem
@Field(name="active") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.BooleanFieldBridge.class) public Boolean getActive()
getActive
in interface ContourItem
public void setActive(Boolean active)
setActive
in interface ContourItem
@Field(name="project") @FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.ProjectFieldBridge.class) public Project getProject()
getProject
in interface ContourItem
public void setProject(Project project)
setProject
in interface ContourItem
@IndexedEmbedded(targetElement=DocumentTypeImpl.class) @Field(name="documentType") @FieldBridge(impl=com.jamasoftware.contour.util.search.bridge.DocumentTypeFieldBridge.class) public DocumentType getDocumentType()
getDocumentType
in interface ContourItem
public void setDocumentType(DocumentType documentType)
setDocumentType
in interface ContourItem
public Set<DocumentCustomFieldValue> getCustomFields()
getCustomFields
in interface ContourItem
public void setCustomFields(Set<DocumentCustomFieldValue> customFields)
setCustomFields
in interface ContourItem
public Version getCurrentVersion()
getCurrentVersion
in interface ContourItem
public void removeDocumentVersion()
removeDocumentVersion
in interface ContourItem
public void addDocumentVersion(Version version)
addDocumentVersion
in interface ContourItem
public List<Version> getVersions()
getVersions
in interface ContourItem
public void setVersions(List<Version> versions)
setVersions
in interface ContourItem
public Integer getHibVersion()
getHibVersion
in interface ContourItem
public void setHibVersion(Integer hibVersion)
setHibVersion
in interface ContourItem
@Field(name="createdDate") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.DateFieldBridge.class) public Date getCreatedDate()
getCreatedDate
in interface DomainObject
public void setCreatedDate(Date createdDate)
setCreatedDate
in interface DomainObject
@Field(name="modifiedDate") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.DateFieldBridge.class) public Date getModifiedDate()
getModifiedDate
in interface DomainObject
public void setModifiedDate(Date modifiedDate)
setModifiedDate
in interface DomainObject
@Field(name="lastActivityDate") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.DateFieldBridge.class) public Date getLastActivityDate()
getLastActivityDate
in interface ContourItem
public void setLastActivityDate(Date lastActivityDate)
setLastActivityDate
in interface ContourItem
@Field(name="createdBy") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.UserIdFieldBridge.class) public Integer getCreatedBy()
getCreatedBy
in interface DomainObject
public void setCreatedBy(Integer createdBy)
setCreatedBy
in interface DomainObject
@Field(name="modifiedBy") @FieldBridge(impl=com.jamasoftware.contour.data.util.search.bridge.UserIdFieldBridge.class) public Integer getModifiedBy()
getModifiedBy
in interface DomainObject
public void setModifiedBy(Integer modifiedBy)
setModifiedBy
in interface DomainObject
public Integer getAttachment()
getAttachment
in interface ContourItem
public void setAttachment(Integer attachment)
setAttachment
in interface ContourItem
public Boolean getLocked()
getLocked
in interface ContourItem
public void setLocked(Boolean locked)
setLocked
in interface ContourItem
public User getLockedBy()
getLockedBy
in interface ContourItem
public void setLockedBy(User lockedBy)
setLockedBy
in interface ContourItem
public Boolean getSystemLocked()
getSystemLocked
in interface ContourItem
public void setSystemLocked(Boolean systemLocked)
setSystemLocked
in interface ContourItem
public Date getLockedDate()
getLockedDate
in interface ContourItem
public void setLockedDate(Date lockedDate)
setLockedDate
in interface ContourItem
public Integer getOrganizationId()
getOrganizationId
in interface DomainObjectBase
getOrganizationId
in interface OrganizationAware
public void setOrganizationId(Integer organizationId)
setOrganizationId
in interface DomainObjectBase
public String getXmlToString()
getXmlToString
in interface DomainObject
public String getContent()
getContent
in interface ContourItem
public Boolean getIsStructureOnly()
getIsStructureOnly
in interface ContourItem
public void setIsStructureOnly(Boolean isStructureOnly)
setIsStructureOnly
in interface ContourItem
public boolean getIsFolder()
getIsFolder
in interface ContourItem
public DocumentType getChildDocumentType()
getChildDocumentType
in interface ContourItem
public boolean isItemAndProjectActive()
isItemAndProjectActive
in interface ContourItem
public boolean isProjectedFromIndex()
isProjectedFromIndex
in interface ContourItem
public void setProjectedFromIndex(boolean projectedFromIndex)
setProjectedFromIndex
in interface ContourItem
public Integer getConnectedUsersUniqueCount()
getConnectedUsersUniqueCount
in interface ContourItem
public void setConnectedUsersUniqueCount(Integer connectedUsersUniqueCount)
setConnectedUsersUniqueCount
in interface ContourItem
public Integer getCommentsCount()
getCommentsCount
in interface ContourItem
public void setCommentsCount(Integer commentsCount)
setCommentsCount
in interface ContourItem
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.