public class TaskFilter
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.util.List |
tables |
protected java.util.Map |
valuesByAttributeCache
Cache of reconciliation task filter values and operators by attribute for
a task filter
|
Constructor and Description |
---|
TaskFilter(ReconInfo reconInfo,
MboRemote reconTaskMbo)
Constructor for creating a task filter
|
Modifier and Type | Method and Description |
---|---|
protected java.util.Set |
getAttributes()
Retrieves the set of Asset attribute names from cache
|
DataSet |
getLeadingDataSet()
Returns the leading data set.
|
DataSet |
getSecondaryDataSet()
Returns the subordinate data set.
|
java.util.List |
getTables() |
protected MboRemote |
getTaskFilter(MboRemote reconTaskMbo)
Retrieve the filter MBO (business object) for the reconciliation task.
|
java.lang.String |
getWhereClause()
Retrieves the SQL WHERE clause for this reconciliation task based on the
task filter, if any and for the given type of process.
|
java.lang.String |
getWhereClause(java.lang.String whereClause)
Retrieves the SQL WHERE clause for this reconciliation task based on the
task filter, if any and for the given type of process.
|
boolean |
isForDataSet(DataSet dataSet) |
protected void |
loadTaskFilterClauses(MboRemote reconTaskMbo)
Retrieves and caches the task filter clause for the given reconciliation
task.
|
protected java.util.Map |
parseTaskFilterClauses(MboSetRemote taskFilterClauses)
Parses the given reconciliation task filter clauses into a
TaskFilterClause object.
|
protected java.util.Map valuesByAttributeCache
protected java.util.List tables
public TaskFilter(ReconInfo reconInfo, MboRemote reconTaskMbo) throws MXException, java.rmi.RemoteException
reconInfo
- MXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingpublic DataSet getLeadingDataSet()
public DataSet getSecondaryDataSet()
protected java.util.Set getAttributes() throws MXException, java.rmi.RemoteException
MXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingpublic java.lang.String getWhereClause() throws MXException, java.rmi.RemoteException
processType
- The type of assets being processed (authorized IT Assets or
Deployed Assets)MXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingpublic java.util.List getTables()
public boolean isForDataSet(DataSet dataSet)
public java.lang.String getWhereClause(java.lang.String whereClause) throws MXException, java.rmi.RemoteException
whereClause
- An existing filtering clause that is to be included in the
resulting clauseprocessType
- The type of assets being processed (authorized IT Assets or
Deployed Assets)MXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingprotected MboRemote getTaskFilter(MboRemote reconTaskMbo) throws MXException, java.rmi.RemoteException
reconTaskMbo
- The Task to find the Filter forMXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingprotected void loadTaskFilterClauses(MboRemote reconTaskMbo) throws MXException, java.rmi.RemoteException
reconTaskMbo
- The reconciliation task business objectMXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processingprotected java.util.Map parseTaskFilterClauses(MboSetRemote taskFilterClauses) throws MXException, java.rmi.RemoteException
taskFilterClauses
- The set of task filter clauses to be parsedMXException
- If fails during reconciliation business object processingjava.rmi.RemoteException
- If fails during reconciliation business object processing