本文整理匯總了Java中org.kuali.rice.edl.impl.extract.Fields類的典型用法代碼示例。如果您正苦於以下問題:Java Fields類的具體用法?Java Fields怎麽用?Java Fields使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
Fields類屬於org.kuali.rice.edl.impl.extract包,在下文中一共展示了Fields類的9個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getFieldsByDocumentId
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public List<Fields> getFieldsByDocumentId(String docId) {
LOG.debug("finding Extract Fileds by documentId " + docId);
QueryByCriteria.Builder criteria = QueryByCriteria.Builder.create();
criteria.setPredicates(equal("documentId", docId)).setOrderByAscending("docId");
return this.dataObjectService.findMatching(Fields.class, criteria.build()).getResults();
}
示例2: saveField
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
/**
* {@inheritDoc}
*/
@Override
public Fields saveField(Fields field) {
LOG.debug("saving EDocLite Extract fields");
checkNull(field.getDocId(), "Document ID");
checkNull(field.getFieldValue(), "Field Value");
checkNull(field.getFieldName(), "Field Name");
LOG.debug("saving Fields: routeHeader " + field.getFieldId());
return this.dataObjectService.save(field, PersistenceOption.FLUSH);
}
示例3: getFieldsByDocumentId
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
public List<Fields> getFieldsByDocumentId(String docId) {
LOG.debug("finding Extract Fileds by documentId " + docId);
Criteria crit = new Criteria(Fields.class.getName());
crit.eq("documentId", docId);
crit.orderBy("docId", true);
return (List<Fields>) new QueryByCriteria(entityManager, crit).toQuery().getResultList();
}
示例4: saveField
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
public void saveField(Fields field) {
LOG.debug("saving EDocLite Extract fields");
checkNull(field.getDocId(), "Document ID");
checkNull(field.getFieldValue(), "Field Value");
checkNull(field.getFiledName(), "Field Name");
LOG.debug("saving Fields: routeHeader " + field.getFieldId());
if (field.getFieldId() == null) {
entityManager.persist(field);
} else {
OrmUtils.merge(entityManager, field);
}
}
示例5: getFieldsByDocumentId
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
public List getFieldsByDocumentId(String docId) {
LOG.debug("finding Extract Fileds by documentId " + docId);
Criteria crit = new Criteria();
crit.addEqualTo("documentId", docId);
QueryByCriteria query = new QueryByCriteria(Fields.class, crit);
query.addOrderByAscending("docId");
return (List) getPersistenceBrokerTemplate().getCollectionByQuery(query);
}
示例6: saveField
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
public void saveField(Fields field) {
LOG.debug("saving EDocLite Extract fields");
checkNull(field.getDocId() , "Document ID");
checkNull(field.getFieldValue(), "Field Value");
checkNull(field.getFiledName(), "Field Name");
LOG.debug("saving Fields: routeHeader " + field.getFieldId());
getPersistenceBrokerTemplate().store(field);
}
示例7: getFieldsByDocumentId
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
/**
* Returns all {@link Fields} with the given document id.
* @param documentId the document id.
* @return a {@link List} of {@link Fields}
*/
public List<Fields> getFieldsByDocumentId(String documentId);
示例8: saveField
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
/**
* Persists the given item to the underlying datasource.
* @param field the item to save
* @return the saved {@link Fields}
*/
public Fields saveField(Fields field);
示例9: saveField
import org.kuali.rice.edl.impl.extract.Fields; //導入依賴的package包/類
public void saveField(Fields field);