use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.
the class TaskMaintenanceTx method buildBusinessEventLogDto.
private BusinessEventLogFinderOutDto buildBusinessEventLogDto(ScheduledTask task) throws FrameworkException, ApplicationExceptions {
// Create BusinessEventLogFinderInDto
BusinessEventLogFinderInDto inputDto = new BusinessEventLogFinderInDto();
inputDto.setScheduledTaskId(new StringCriteriaField(CriteriaField.RELATIONAL_EQUALS, task.getScheduledTaskId()));
inputDto.setMaxRecords(new Integer(10));
inputDto.setOrderByFields(new OrderByField[] { new OrderByField(BusinessEventLogMeta.LOGGED_ON, Boolean.FALSE) });
// Retrive businessEventLogFinderOutDto
return new BusinessEventLogFinderTx().find(inputDto);
}
use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.
the class AttachmentFinderInDtoTapGenTest method testGetCreatedBy.
/**
* Test method for {@link org.jaffa.components.attachment.components.attachmentfinder.dto.AttachmentFinderInDto#getCreatedBy()}.
*/
@Test
public void testGetCreatedBy() {
AttachmentFinderInDto testObject = new AttachmentFinderInDto();
StringCriteriaField setValue = new StringCriteriaField();
testObject.setCreatedBy(setValue);
StringCriteriaField getValue = testObject.getCreatedBy();
assertEquals(setValue, getValue);
}
use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.
the class AttachmentFinderInDtoTapGenTest method testGetDescription.
/**
* Test method for {@link org.jaffa.components.attachment.components.attachmentfinder.dto.AttachmentFinderInDto#getDescription()}.
*/
@Test
public void testGetDescription() {
AttachmentFinderInDto testObject = new AttachmentFinderInDto();
StringCriteriaField setValue = new StringCriteriaField();
testObject.setDescription(setValue);
StringCriteriaField getValue = testObject.getDescription();
assertEquals(setValue, getValue);
}
use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.
the class AttachmentFinderInDtoTapGenTest method testGetAttachmentId.
/**
* Test method for {@link org.jaffa.components.attachment.components.attachmentfinder.dto.AttachmentFinderInDto#getAttachmentId()}.
*/
@Test
public void testGetAttachmentId() {
AttachmentFinderInDto testObject = new AttachmentFinderInDto();
StringCriteriaField setValue = new StringCriteriaField();
testObject.setAttachmentId(setValue);
StringCriteriaField getValue = testObject.getAttachmentId();
assertEquals(setValue, getValue);
}
use of org.jaffa.components.finder.StringCriteriaField in project jaffa-framework by jaffa-projects.
the class AttachmentFinderInDtoTapGenTest method testGetSerializedKey.
/**
* Test method for {@link org.jaffa.components.attachment.components.attachmentfinder.dto.AttachmentFinderInDto#getSerializedKey()}.
*/
@Test
public void testGetSerializedKey() {
AttachmentFinderInDto testObject = new AttachmentFinderInDto();
StringCriteriaField setValue = new StringCriteriaField();
testObject.setSerializedKey(setValue);
StringCriteriaField getValue = testObject.getSerializedKey();
assertEquals(setValue, getValue);
}
Aggregations