@Test public void testGetLabeledDocumentCollectionForNominalLabel() throws Exception { List<DocumentNominalLabelDTO> result = documentNominalLabelResourceFacadeImp .getLabeledDocumentCollectionForNominalLabel(documentNominalLabel .getIdDTO().getNominalLabelId().intValue()); assertNotNull(result); assertTrue(result.size() >= 1); }
@Override public List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID) throws PropertyNotSetException { List<DocumentNominalLabelDTO> fetchedList = findByCriteria("id.nominalLabelId", new Long(nominalLabelID).longValue()); return fetchedList; }
DocumentNominalLabelResourceFacadeImp extends CoreDBServiceFacadeImp<DocumentNominalLabel, Long> implements DocumentNominalLabelResourceFacade { @Override public List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID) throws PropertyNotSetException { List<DocumentNominalLabelDTO> fetchedList = findByCriteria("id.nominalLabelId", new Long(nominalLabelID).longValue()); return fetchedList; } }
DocumentNominalLabelResourceFacadeImp extends CoreDBServiceFacadeImp<DocumentNominalLabel, Long> implements DocumentNominalLabelResourceFacade { @Override public List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID) throws PropertyNotSetException { List<DocumentNominalLabelDTO> fetchedList = findByCriteria("id.nominalLabelId", new Long(nominalLabelID).longValue()); return fetchedList; } protected  DocumentNominalLabelResourceFacadeImp(); }
DocumentNominalLabelResourceFacadeImp extends CoreDBServiceFacadeImp<DocumentNominalLabel, Long> implements DocumentNominalLabelResourceFacade { @Override public List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID) throws PropertyNotSetException { List<DocumentNominalLabelDTO> fetchedList = findByCriteria("id.nominalLabelId", new Long(nominalLabelID).longValue()); return fetchedList; } protected  DocumentNominalLabelResourceFacadeImp(); @Override void saveDocumentNominalLabel(DocumentNominalLabelDTO documentNominalLabel); @Override boolean foundDuplicate(DocumentNominalLabelDTO documentNominalLabel); @Override DocumentNominalLabelDTO addDocument(DocumentNominalLabelDTO doc); @Override DocumentNominalLabelDTO editDocument(DocumentNominalLabelDTO doc); @Override Integer deleteDocument(DocumentNominalLabelDTO doc); @Override List<DocumentNominalLabelDTO> findByCriteria(String columnName, Object value); @Override DocumentNominalLabelDTO findDocumentByPrimaryKey(DocumentNominalLabelIdDTO id); @Override boolean isDocumentExists(DocumentNominalLabelIdDTO id); @Override boolean isDocumentExists(Long id); @Override List<DocumentNominalLabelDTO> getAllDocuments(); @Override DocumentNominalLabelDTO findLabeledDocumentByID(Long id); @Override List<DocumentNominalLabelDTO> findLabeledDocumentListByID(Long id); @Override List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID); @Override void deleteDocumentNominalLabelByNominalLabel(Long nominalLabelID); }
DocumentNominalLabelResourceFacadeImp extends CoreDBServiceFacadeImp<DocumentNominalLabel, Long> implements DocumentNominalLabelResourceFacade { @Override public List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID) throws PropertyNotSetException { List<DocumentNominalLabelDTO> fetchedList = findByCriteria("id.nominalLabelId", new Long(nominalLabelID).longValue()); return fetchedList; } protected  DocumentNominalLabelResourceFacadeImp(); @Override void saveDocumentNominalLabel(DocumentNominalLabelDTO documentNominalLabel); @Override boolean foundDuplicate(DocumentNominalLabelDTO documentNominalLabel); @Override DocumentNominalLabelDTO addDocument(DocumentNominalLabelDTO doc); @Override DocumentNominalLabelDTO editDocument(DocumentNominalLabelDTO doc); @Override Integer deleteDocument(DocumentNominalLabelDTO doc); @Override List<DocumentNominalLabelDTO> findByCriteria(String columnName, Object value); @Override DocumentNominalLabelDTO findDocumentByPrimaryKey(DocumentNominalLabelIdDTO id); @Override boolean isDocumentExists(DocumentNominalLabelIdDTO id); @Override boolean isDocumentExists(Long id); @Override List<DocumentNominalLabelDTO> getAllDocuments(); @Override DocumentNominalLabelDTO findLabeledDocumentByID(Long id); @Override List<DocumentNominalLabelDTO> findLabeledDocumentListByID(Long id); @Override List<DocumentNominalLabelDTO> getLabeledDocumentCollectionForNominalLabel(Integer nominalLabelID); @Override void deleteDocumentNominalLabelByNominalLabel(Long nominalLabelID);  }