use of com.qlangtech.tis.manage.biz.dal.pojo.Application in project tis by qlangtech.
the class ApplicationDAOImpl method loadFromWriteDB.
public Application loadFromWriteDB(Integer appId) {
Application key = new Application();
key.setAppId(appId);
Application record = this.loadFromWriterDB("application.ibatorgenerated_selectByPrimaryKey", key);
return record;
}
use of com.qlangtech.tis.manage.biz.dal.pojo.Application in project tis by qlangtech.
the class ApplicationDAOImpl method selectByPrimaryKey.
public Application selectByPrimaryKey(Integer appId) {
Application key = new Application();
key.setAppId(appId);
Application record = this.load("application.ibatorgenerated_selectByPrimaryKey", key);
return record;
}
use of com.qlangtech.tis.manage.biz.dal.pojo.Application in project tis by qlangtech.
the class ApplicationDAOImpl method selectByName.
@Override
public Application selectByName(String name) {
if (StringUtils.isBlank(name)) {
throw new IllegalArgumentException("param name can not be null");
}
Application key = new Application();
key.setProjectName(name);
return this.load("application.ibatorgenerated_selectByName", key);
// return record;
}
use of com.qlangtech.tis.manage.biz.dal.pojo.Application in project plugins by qlangtech.
the class DefaultDataxProcessor method buildApp.
@Override
public Application buildApp() {
Application app = new Application();
app.setProjectName(this.name);
app.setDptId(Integer.parseInt(this.dptId));
app.setRecept(this.recept);
app.setAppType(AppType.DataXPipe.getType());
return app;
}
use of com.qlangtech.tis.manage.biz.dal.pojo.Application in project tis by qlangtech.
the class CollectionAction method doFullbuild.
/**
* 触发全量构建
*
* @param context
* @throws Exception
*/
public void doFullbuild(Context context) throws Exception {
this.getIndexWithPost();
Application app = this.getApplicationDAO().selectByName(this.indexName.getCollectionName());
WorkFlow wf = this.loadDF(app.getWorkFlowId());
this.setBizResult(context, CoreAction.triggerFullIndexSwape(this, context, app, 1));
}
Aggregations