public class DocumentLinkDAOJpaImpl extends Object implements DocumentLinkDAO
Constructor and Description |
---|
DocumentLinkDAOJpaImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteDocmentLinksByDocId(String docId)
double delete all links from orgn doc
|
void |
deleteDocumentLink(DocumentLink link)
double delete a link
|
DocumentLink |
getDocumentLink(Long documentLinkId) |
javax.persistence.EntityManager |
getEntityManager() |
DocumentLink |
getLinkedDocument(DocumentLink link)
get a link from orgn doc
|
List<DocumentLink> |
getLinkedDocumentsByDocId(String docId)
get all links from orgn doc
|
List<DocumentLink> |
getOutgoingLinkedDocumentsByDocId(String docId) |
void |
saveDocumentLink(DocumentLink link)
add double link
|
void |
setEntityManager(javax.persistence.EntityManager entityManager) |
public DocumentLinkDAOJpaImpl()
public javax.persistence.EntityManager getEntityManager()
public void setEntityManager(javax.persistence.EntityManager entityManager)
public void deleteDocmentLinksByDocId(String docId)
deleteDocmentLinksByDocId
in interface DocumentLinkDAO
org.kuali.rice.kew.documentlink.dao.DocumentLinkDAO#deleteDocmentLinksByDocId(java.lang.Long)
public void deleteDocumentLink(DocumentLink link)
deleteDocumentLink
in interface DocumentLinkDAO
DocumentLinkDAO.deleteDocumentLink(org.kuali.rice.kew.documentlink.DocumentLink)
public DocumentLink getLinkedDocument(DocumentLink link)
getLinkedDocument
in interface DocumentLinkDAO
DocumentLinkDAO.getLinkedDocument(org.kuali.rice.kew.documentlink.DocumentLink)
public List<DocumentLink> getLinkedDocumentsByDocId(String docId)
getLinkedDocumentsByDocId
in interface DocumentLinkDAO
org.kuali.rice.kew.documentlink.dao.DocumentLinkDAO#getLinkedDocumentsByDocId(java.lang.Long)
public List<DocumentLink> getOutgoingLinkedDocumentsByDocId(String docId)
getOutgoingLinkedDocumentsByDocId
in interface DocumentLinkDAO
public void saveDocumentLink(DocumentLink link)
saveDocumentLink
in interface DocumentLinkDAO
DocumentLinkDAO.saveDocumentLink(org.kuali.rice.kew.documentlink.DocumentLink)
public DocumentLink getDocumentLink(Long documentLinkId)
getDocumentLink
in interface DocumentLinkDAO
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.