public static DocumentDescriptionBean findBySystemId(EntityManager em, String systemId) { DocumentDescription dd = LLDocumentDescriptionFindAPI.findBySystemId(em, systemId); DocumentDescriptionBean ddBean = EntityHelper.entityToBean(dd, DocumentDescriptionBean.class); return ddBean; }
public static List<DocumentDescriptionBean> findAllByTitle(EntityManager em, String title) { List<DocumentDescription> dds = LLDocumentDescriptionFindAPI.findAllByTitle(em, title); List<DocumentDescriptionBean> ddBeans = EntityHelper.entitiesToBeans(dds, DocumentDescriptionBean.class); return ddBeans; }
public static List<DocumentDescriptionBean> findAllByCreatedBy( EntityManager em, String createdBy) { List<DocumentDescription> dds = LLDocumentDescriptionFindAPI.findAllByCreatedBy(em, createdBy); List<DocumentDescriptionBean> ddBeans = EntityHelper.entitiesToBeans(dds, DocumentDescriptionBean.class); return ddBeans; }