Java Code Examples for ims.ocrr.vo.SelectedComponentFromSelectOrderVo.getAssociatedInvestigations()

The following are Jave code examples for showing how to use getAssociatedInvestigations() of the ims.ocrr.vo.SelectedComponentFromSelectOrderVo class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
Example 1
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 6 votes
private void removeFromRefusedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getGlobalContext().OCRR.getRefusedInvestigation() == null ||form.getGlobalContext().OCRR.getRefusedInvestigation().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()) || SelectAndOrderComponentType.PROFILE.equals(newComponent.getComponentType()))
	{
		removeComponentFromRefusedInvestigations(newComponent.getID());
	}
	
	if(newComponent.getAssociatedInvestigations() != null)
	{
		for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
		{
			InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
			if(invId == null)
				continue;
				
			removeComponentFromRefusedInvestigations(invId.getID_Investigation());
		}
	}
}
 
Example 2
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void removeFromRefusedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getGlobalContext().OCRR.getRefusedInvestigation() == null ||form.getGlobalContext().OCRR.getRefusedInvestigation().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()) || SelectAndOrderComponentType.PROFILE.equals(newComponent.getComponentType()))
	{
		removeComponentFromRefusedInvestigations(newComponent.getID());
	}
	
	if(newComponent.getAssociatedInvestigations() != null)
	{
		for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
		{
			InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
			if(invId == null)
				continue;
				
			removeComponentFromRefusedInvestigations(invId.getID_Investigation());
		}
	}
}
 
Example 3
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 6 votes
private void removeFromRefusedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getGlobalContext().OCRR.getRefusedInvestigation() == null ||form.getGlobalContext().OCRR.getRefusedInvestigation().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()) || SelectAndOrderComponentType.PROFILE.equals(newComponent.getComponentType()))
	{
		removeComponentFromRefusedInvestigations(newComponent.getID());
	}
	
	if(newComponent.getAssociatedInvestigations() != null)
	{
		for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
		{
			InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
			if(invId == null)
				continue;
				
			removeComponentFromRefusedInvestigations(invId.getID_Investigation());
		}
	}
}
 
Example 4
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 6 votes
private void removeFromRefusedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getGlobalContext().OCRR.getRefusedInvestigation() == null ||form.getGlobalContext().OCRR.getRefusedInvestigation().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()) || SelectAndOrderComponentType.PROFILE.equals(newComponent.getComponentType()))
	{
		removeComponentFromRefusedInvestigations(newComponent.getID());
	}
	
	if(newComponent.getAssociatedInvestigations() != null)
	{
		for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
		{
			InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
			if(invId == null)
				continue;
				
			removeComponentFromRefusedInvestigations(invId.getID_Investigation());
		}
	}
}
 
Example 5
Project: AvoinApotti   File: Logic.java   Source Code and License Vote up 5 votes
private void removeFromBreachedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getLocalContext().getBreachedInvestigations() == null || form.getLocalContext().getBreachedInvestigations().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()))
	{
		removeComponentFromBreachedInvestigations(newComponent.getID());// 	WDEV-16762
	}
	else
	{
		if(newComponent.getAssociatedInvestigations() != null)
		{
			for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
			{
				InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
				if(invId == null)
					continue;
				
				removeComponentFromBreachedInvestigations(invId.getID_Investigation());// 	WDEV-16762
			}
		}
	}
}
 
Example 6
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void removeFromBreachedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getLocalContext().getBreachedInvestigations() == null || form.getLocalContext().getBreachedInvestigations().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()))
	{
		removeComponentFromBreachedInvestigations(newComponent.getID());// 	WDEV-16762
	}
	else
	{
		if(newComponent.getAssociatedInvestigations() != null)
		{
			for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
			{
				InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
				if(invId == null)
					continue;
				
				removeComponentFromBreachedInvestigations(invId.getID_Investigation());// 	WDEV-16762
			}
		}
	}
}
 
Example 7
Project: openMAXIMS   File: Logic.java   Source Code and License Vote up 5 votes
private void removeFromBreachedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getLocalContext().getBreachedInvestigations() == null || form.getLocalContext().getBreachedInvestigations().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()))
	{
		removeComponentFromBreachedInvestigations(newComponent.getID());// 	WDEV-16762
	}
	else
	{
		if(newComponent.getAssociatedInvestigations() != null)
		{
			for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
			{
				InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
				if(invId == null)
					continue;
				
				removeComponentFromBreachedInvestigations(invId.getID_Investigation());// 	WDEV-16762
			}
		}
	}
}
 
Example 8
Project: openmaxims-linux   File: Logic.java   Source Code and License Vote up 5 votes
private void removeFromBreachedInvestigationsList(SelectedComponentFromSelectOrderVo newComponent) 
{
	if(newComponent == null)
		return;
	
	if(form.getLocalContext().getBreachedInvestigations() == null || form.getLocalContext().getBreachedInvestigations().size() == 0)
		return;
	
	if(SelectAndOrderComponentType.INVESTIGATION.equals(newComponent.getComponentType()))
	{
		removeComponentFromBreachedInvestigations(newComponent.getID());// 	WDEV-16762
	}
	else
	{
		if(newComponent.getAssociatedInvestigations() != null)
		{
			for(int i=0; i<newComponent.getAssociatedInvestigations().size(); i++)
			{
				InvestigationRefVo invId = newComponent.getAssociatedInvestigations().get(i);
				
				if(invId == null)
					continue;
				
				removeComponentFromBreachedInvestigations(invId.getID_Investigation());// 	WDEV-16762
			}
		}
	}
}