public class HibDocumentTypeDaoImpl extends com.jamasoftware.contour.data.util.hibernate4.HibernateDaoSupport implements DocumentTypeDao
Constructor and Description |
---|
HibDocumentTypeDaoImpl() |
public List<DocumentType> getDocumentTypeList(Integer organizationId)
getDocumentTypeList
in interface DocumentTypeDao
public SearchResults<DocumentType> getDocumentTypeList(Integer organizationId, PageInfo pageInfo)
getDocumentTypeList
in interface DocumentTypeDao
public DocumentType getDocumentType(Integer documentTypeId)
getDocumentType
in interface DocumentTypeDao
public DocumentTypeCategory getCategoryForDocumentType(Integer documentTypeId)
getCategoryForDocumentType
in interface DocumentTypeDao
public List<DocumentType> getDocumentTypesByOrgCategory(Integer orgId, DocumentTypeCategory category)
getDocumentTypesByOrgCategory
in interface DocumentTypeDao
public List<DocumentType> getDocumentTypesByCategories(Integer orgId, List<DocumentTypeCategory> categories)
getDocumentTypesByCategories
in interface DocumentTypeDao
public Integer getDocumentTypeIdFromDocId(Integer docId)
getDocumentTypeIdFromDocId
in interface DocumentTypeDao
public List<DocumentType> getDocumentTypesFromDocIds(Collection<Integer> docIds)
getDocumentTypesFromDocIds
in interface DocumentTypeDao
public void saveDocumentType(DocumentType documentType)
saveDocumentType
in interface DocumentTypeDao
public void deleteDocumentType(DocumentType documentType)
deleteDocumentType
in interface DocumentTypeDao
public boolean isDocumentPermissionType(Integer documentId)
isDocumentPermissionType
in interface DocumentTypeDao
public DocumentType getAttachmentDocumentType(Integer organizationId)
getAttachmentDocumentType
in interface DocumentTypeDao
public DocumentType getCoreDocumentType(Integer organizationId)
getCoreDocumentType
in interface DocumentTypeDao
public DocumentType getDocumentTypeForCategory(DocumentTypeCategory documentTypeCategory, Integer organizationId)
getDocumentTypeForCategory
in interface DocumentTypeDao
public String checkDuplicateTypeKey(Integer documentTypeId, String documentTypeKey, Integer organizationId)
DocumentTypeDao
checkDuplicateTypeKey
in interface DocumentTypeDao
public Set<Integer> getUniqueChildTypeIdsForAllSets(Integer projectId)
getUniqueChildTypeIdsForAllSets
in interface DocumentTypeDao
public List<Document> getItemsToDeleteForDocumentType(Integer docTypeId)
getItemsToDeleteForDocumentType
in interface DocumentTypeDao
public List<Integer> getDocTypesForOrgs(Integer orgId)
getDocTypesForOrgs
in interface DocumentTypeDao
public Map<Integer,String> getAllDocumentTypesMap(Integer orgId)
getAllDocumentTypesMap
in interface DocumentTypeDao
Copyright (c) 2013-2014 Jama Software, Inc. All Rights Reserved.