Java Code Examples for ims.framework.enumerations.SortOrder

The following are top voted examples for showing how to use ims.framework.enumerations.SortOrder. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: AvoinApotti   File: BobathTreatmentVoCollection.java   Source Code and License 5 votes vote down vote up
public BobathTreatmentVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 2
Project: AvoinApotti   File: RTTStatusPointVoCollection.java   Source Code and License 5 votes vote down vote up
public RTTStatusPointVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 3
Project: AvoinApotti   File: MedMskSpinePathImpl.java   Source Code and License 5 votes vote down vote up
public MSKSpinePathologyFindingVoCollection getByCareContext(CareContextLiteVo voCareContext, Boolean active)
{
	DomainFactory factory = getDomainFactory();
	StringBuffer hql = new StringBuffer();
	String query = "from MskSpinePath msp ";
	ArrayList markers= new ArrayList();
	ArrayList values = new ArrayList();
	String andStr = " ";

	if(voCareContext != null)
	{
		hql.append(andStr + " msp.careContext.id = :cc");
		markers.add("cc");
		values.add(voCareContext.getID_CareContext());
		andStr = " and ";
	}
	
	if (active != null)
	{
		hql.append(andStr + " msp.isActive = :active");
		markers.add("active");
		values.add(active);
		andStr = " and ";
	}
	
	hql.append(andStr + "msp.clinicalContact is null");
	
	if (markers.size() > 0) query += " where ";
	query += hql.toString();	
	
	List neuros = factory.find(query,markers,values);
	MSKSpinePathologyFindingVoCollection voSpinePathologyFindingColl = MSKSpinePathologyFindingVoAssembler.createMSKSpinePathologyFindingVoCollectionFromMskSpinePath(neuros);
	if(voSpinePathologyFindingColl != null && voSpinePathologyFindingColl.size()>0)
		return voSpinePathologyFindingColl.sort(SortOrder.DESCENDING);
	else	
		return null;
}
 
Example 4
Project: AvoinApotti   File: TrackingAreaShortVoCollection.java   Source Code and License 5 votes vote down vote up
public TrackingAreaShortVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 5
Project: AvoinApotti   File: ProblemTriageProtocolVoCollection.java   Source Code and License 5 votes vote down vote up
public ProblemTriageProtocolVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 6
Project: AvoinApotti   File: SpecialInterestDetailRefVoCollection.java   Source Code and License 5 votes vote down vote up
public SpecialInterestDetailRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 7
Project: AvoinApotti   File: ComplementaryTherapyTreatmentRefVoCollection.java   Source Code and License 5 votes vote down vote up
public ComplementaryTherapyTreatmentRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 8
Project: AvoinApotti   File: CorrespondenceStatusVoCollection.java   Source Code and License 5 votes vote down vote up
public CorrespondenceStatusVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 9
Project: AvoinApotti   File: HospitalAtNightNotesVoCollection.java   Source Code and License 5 votes vote down vote up
public HospitalAtNightNotesVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 10
Project: AvoinApotti   File: CDSProcedureDetailsVoCollection.java   Source Code and License 5 votes vote down vote up
public CDSProcedureDetailsVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 11
Project: AvoinApotti   File: TrackingListForTriageVoCollection.java   Source Code and License 5 votes vote down vote up
public TrackingListForTriageVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 12
Project: AvoinApotti   File: OcsQASessionVoCollection.java   Source Code and License 5 votes vote down vote up
public OcsQASessionVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 13
Project: AvoinApotti   File: ContractConfigForReferralDetailsComponentVoCollection.java   Source Code and License 5 votes vote down vote up
public ContractConfigForReferralDetailsComponentVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 14
Project: AvoinApotti   File: SupportNetworkServicesVoCollection.java   Source Code and License 5 votes vote down vote up
public SupportNetworkServicesVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 15
Project: AvoinApotti   File: ChemotherapyDetailsVoCollection.java   Source Code and License 5 votes vote down vote up
public ChemotherapyDetailsVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 16
Project: AvoinApotti   File: PresProblemChecklistConfigShortVoCollection.java   Source Code and License 5 votes vote down vote up
public PresProblemChecklistConfigShortVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 17
Project: AvoinApotti   File: ConsultationAssessmentsLiteVoCollection.java   Source Code and License 5 votes vote down vote up
public ConsultationAssessmentsLiteVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 18
Project: AvoinApotti   File: AdmissionDetailForDementiaWorklistVoCollection.java   Source Code and License 5 votes vote down vote up
public AdmissionDetailForDementiaWorklistVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 19
Project: AvoinApotti   File: OcsOrderWebServiceListVoCollection.java   Source Code and License 5 votes vote down vote up
public OcsOrderWebServiceListVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 20
Project: AvoinApotti   File: OrganisationPCTLinkConfigRefVoCollection.java   Source Code and License 5 votes vote down vote up
public OrganisationPCTLinkConfigRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 21
Project: AvoinApotti   File: RelativeRefVoCollection.java   Source Code and License 5 votes vote down vote up
public RelativeRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 22
Project: AvoinApotti   File: ReferralLetterDetailsVoCollection.java   Source Code and License 5 votes vote down vote up
public ReferralLetterDetailsVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
}
 
Example 23
Project: AvoinApotti   File: PatientKioskMessageRefVoCollection.java   Source Code and License 5 votes vote down vote up
public PatientKioskMessageRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 24
Project: AvoinApotti   File: TriageNotesRefVoCollection.java   Source Code and License 5 votes vote down vote up
public TriageNotesRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 25
Project: AvoinApotti   File: TrackingMovementTimesVoCollection.java   Source Code and License 5 votes vote down vote up
public TrackingMovementTimesVoComparator(SortOrder order, boolean caseInsensitive)
{
	if (order == SortOrder.DESCENDING)
	{
		direction = -1;
	}
	this.caseInsensitive = caseInsensitive;
}
 
Example 26
Project: AvoinApotti   File: TaxonomySeedRefVoCollection.java   Source Code and License 5 votes vote down vote up
public TaxonomySeedRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 27
Project: AvoinApotti   File: KeyDatesRefVoCollection.java   Source Code and License 5 votes vote down vote up
public KeyDatesRefVoComparator(SortOrder order)
{
	if (order == SortOrder.DESCENDING)
	{
		this.direction = -1;
	}
}
 
Example 28
Project: AvoinApotti   File: PlinthWorkAnalysisRefVoCollection.java   Source Code and License 4 votes vote down vote up
public PlinthWorkAnalysisRefVoCollection sort(SortOrder order)
{
	return sort(new PlinthWorkAnalysisRefVoComparator(order));
}
 
Example 29
Project: AvoinApotti   File: TheatreBookingLiteVoCollection.java   Source Code and License 4 votes vote down vote up
public TheatreBookingLiteVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 30
Project: AvoinApotti   File: CachedClassVoCollection.java   Source Code and License 4 votes vote down vote up
public CachedClassVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 31
Project: AvoinApotti   File: SystemJobVoCollection.java   Source Code and License 4 votes vote down vote up
public SystemJobVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 32
Project: AvoinApotti   File: SessionSlotWithStatusOnlyVoCollection.java   Source Code and License 4 votes vote down vote up
public SessionSlotWithStatusOnlyVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 33
Project: AvoinApotti   File: CatsReferralCallAttemptsVoCollection.java   Source Code and License 4 votes vote down vote up
public CatsReferralCallAttemptsVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 34
Project: AvoinApotti   File: ServiceVoCollection.java   Source Code and License 4 votes vote down vote up
public ServiceVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 35
Project: AvoinApotti   File: GpLiteWithNameVoCollection.java   Source Code and License 4 votes vote down vote up
public GpLiteWithNameVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 36
Project: AvoinApotti   File: CatsReferralReviewDetailVoCollection.java   Source Code and License 4 votes vote down vote up
public CatsReferralReviewDetailVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 37
Project: AvoinApotti   File: EmergencyEpisodeForQuickRegistrationVoCollection.java   Source Code and License 4 votes vote down vote up
public EmergencyEpisodeForQuickRegistrationVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 38
Project: AvoinApotti   File: FormReportVoCollection.java   Source Code and License 4 votes vote down vote up
public FormReportVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 39
Project: AvoinApotti   File: PainAssessmentReviewRefVoCollection.java   Source Code and License 4 votes vote down vote up
public PainAssessmentReviewRefVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 40
Project: AvoinApotti   File: AssessmentHeaderInfoCollection.java   Source Code and License 4 votes vote down vote up
public AssessmentHeaderInfoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 41
Project: AvoinApotti   File: NeuInterpretRefVoCollection.java   Source Code and License 4 votes vote down vote up
public NeuInterpretRefVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 42
Project: AvoinApotti   File: NurAssessmentBreathingVoCollection.java   Source Code and License 4 votes vote down vote up
public NurAssessmentBreathingVoCollection sort(SortOrder order)
{
	return sort(new NurAssessmentBreathingVoComparator(order));
}
 
Example 43
Project: AvoinApotti   File: SessionSlotWithStatusOnlyVoCollection.java   Source Code and License 4 votes vote down vote up
public SessionSlotWithStatusOnlyVoCollection sort(SortOrder order, boolean caseInsensitive)
{
	return sort(new SessionSlotWithStatusOnlyVoComparator(order, caseInsensitive));
}
 
Example 44
Project: AvoinApotti   File: EpisodeOfCareForEDDischargeVoCollection.java   Source Code and License 4 votes vote down vote up
public EpisodeOfCareForEDDischargeVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 45
Project: AvoinApotti   File: SentToXrayRefVoCollection.java   Source Code and License 4 votes vote down vote up
public SentToXrayRefVoCollection sort(SortOrder order)
{
	return sort(new SentToXrayRefVoComparator(order));
}
 
Example 46
Project: AvoinApotti   File: PatientJourneyTargetInterfaceVoCollection.java   Source Code and License 4 votes vote down vote up
public PatientJourneyTargetInterfaceVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 47
Project: AvoinApotti   File: SessionTheatreTCISlotVoCollection.java   Source Code and License 4 votes vote down vote up
public SessionTheatreTCISlotVoCollection sort(SortOrder order)
{
	return sort(new SessionTheatreTCISlotVoComparator(order));
}
 
Example 48
Project: AvoinApotti   File: HelpTextVoCollection.java   Source Code and License 4 votes vote down vote up
public HelpTextVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 49
Project: AvoinApotti   File: LocationListVoCollection.java   Source Code and License 4 votes vote down vote up
public LocationListVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 50
Project: AvoinApotti   File: InterventionChartDetailsVoCollection.java   Source Code and License 4 votes vote down vote up
public InterventionChartDetailsVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 51
Project: AvoinApotti   File: Booking_AppointmentShortVoCollection.java   Source Code and License 4 votes vote down vote up
public Booking_AppointmentShortVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 52
Project: AvoinApotti   File: HL7OutboundVoCollection.java   Source Code and License 4 votes vote down vote up
public HL7OutboundVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 53
Project: AvoinApotti   File: UrinalysisRefVoCollection.java   Source Code and License 4 votes vote down vote up
public UrinalysisRefVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 54
Project: AvoinApotti   File: ResultsToBePrintedVoCollection.java   Source Code and License 4 votes vote down vote up
public ResultsToBePrintedVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 55
Project: AvoinApotti   File: AssessmentToolVoCollection.java   Source Code and License 4 votes vote down vote up
public AssessmentToolVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 56
Project: AvoinApotti   File: MedicationFormVoCollection.java   Source Code and License 4 votes vote down vote up
public MedicationFormVoCollection sort(boolean caseInsensitive)
{
	return sort(SortOrder.ASCENDING, caseInsensitive);
}
 
Example 57
Project: AvoinApotti   File: TrackingForTrackingStatusVoCollection.java   Source Code and License 4 votes vote down vote up
public TrackingForTrackingStatusVoCollection sort(SortOrder order, boolean caseInsensitive)
{
	return sort(new TrackingForTrackingStatusVoComparator(order, caseInsensitive));
}
 
Example 58
Project: AvoinApotti   File: DynamicAssessmentSearchCriteriaVoCollection.java   Source Code and License 4 votes vote down vote up
public DynamicAssessmentSearchCriteriaVoCollection sort()
{
	return sort(SortOrder.ASCENDING);
}
 
Example 59
Project: AvoinApotti   File: MergedTablesRefVoCollection.java   Source Code and License 4 votes vote down vote up
public MergedTablesRefVoComparator()
{
	this(SortOrder.ASCENDING);
}
 
Example 60
Project: AvoinApotti   File: CommunicationProblemsRefVoCollection.java   Source Code and License 4 votes vote down vote up
public CommunicationProblemsRefVoComparator()
{
	this(SortOrder.ASCENDING);
}