com.jamasoftware.contour.dao
Interface DocumentTypeDao
public interface DocumentTypeDao
getDocumentTypeList
java.util.List<DocumentType> getDocumentTypeList(java.lang.Integer scope,
java.lang.Integer refId)
getDocumentType
DocumentType getDocumentType(java.lang.Integer documentTypeId)
saveDocumentType
void saveDocumentType(DocumentType documentType)
deleteDocumentType
void deleteDocumentType(java.lang.Integer documentTypeId)
deleteDocumentType
void deleteDocumentType(DocumentType documentType)
getDocumentTypesByOrgCategory
java.util.List<DocumentType> getDocumentTypesByOrgCategory(java.lang.Integer scope,
java.lang.Integer refId,
java.lang.Integer category)
getDocumentTypesByCategories
java.util.List<DocumentType> getDocumentTypesByCategories(java.lang.Integer scope,
java.lang.Integer refId,
java.util.List<java.lang.Integer> categoryIds)
isDocumentPermissionType
boolean isDocumentPermissionType(java.lang.Integer documentId)
getAttachmentDocumentType
DocumentType getAttachmentDocumentType(java.lang.Integer orgId)
getCoreDocumentType
DocumentType getCoreDocumentType(java.lang.Integer organizationId)
getDocumentTypeForCategory
DocumentType getDocumentTypeForCategory(java.lang.Integer documentTypeCategoryId,
java.lang.Integer organizationId)
checkDuplicateTypeKey
java.lang.String checkDuplicateTypeKey(java.lang.Integer documentTypeId,
java.lang.String documentTypeKey,
java.lang.Integer organizationId)
- Get the display of a document type with the same key and org, but different id
- Parameters:
documentTypeId - documentTypeKey - organizationId -
- Returns:
getUniqueChildTypeIdsForAllSets
java.util.Set<java.lang.Integer> getUniqueChildTypeIdsForAllSets(java.lang.Integer projectId)
getItemsToDeleteForDocumentType
java.util.List<Document> getItemsToDeleteForDocumentType(java.lang.Integer docTypeId)
Copyright (c) 2010 Jama Software, Inc. All Rights Reserved.