@Override protected void doPostDbLoading(final Process process){
  Long processId=process.getId();
  Long aliveTagId=process.getAliveTagId();
  if (aliveTagId != null) {
    ControlTag aliveTagCopy=controlCache.getCopy(aliveTagId);
    if (aliveTagCopy != null) {
      setProcessId((ControlTagCacheObject)aliveTagCopy,processId);
    }
 else {
      throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,String.format("No Alive tag (%d) found for Process %s (#%d).",aliveTagId,process.getName(),process.getId()));
    }
  }
 else {
    throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,String.format("No Alive tag for Process %s (#%d) defined.",process.getName(),process.getId()));
  }
  Long statusTagId=process.getStateTagId();
  if (statusTagId != null) {
    ControlTag statusTagCopy=controlCache.getCopy(statusTagId);
    if (statusTagCopy != null) {
      setProcessId((ControlTagCacheObject)statusTagCopy,processId);
    }
 else {
      throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,String.format("No Status tag (%d) found for Process %s (#%d).",statusTagId,process.getName(),process.getId()));
    }
  }
 else {
    throw new ConfigurationException(ConfigurationException.INVALID_PARAMETER_VALUE,String.format("No Status tag for Process %s (#%d) defined.",process.getName(),process.getId()));
  }
}

@ Override protected void doPostDbLoading ( final Process process ) { Long processId = process . getId ( ) ; Long aliveTagId = process . getAliveTagId ( ) ; if ( aliveTagId != null ) { ControlTag aliveTagCopy = controlCache . getCopy ( aliveTagId ) ; if ( aliveTagCopy != null ) { setProcessId ( ( ControlTagCacheObject ) aliveTagCopy , processId ) ; } else { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , String . format ( "No Alive tag (%d) found for Process %s (#%d)." , aliveTagId , process . getName ( ) , process . getId ( ) ) ) ; } } else { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , String . format ( "No Alive tag for Process %s (#%d) defined." , process . getName ( ) , process . getId ( ) ) ) ; } Long statusTagId = process . getStateTagId ( ) ; if ( statusTagId != null ) { ControlTag statusTagCopy = controlCache . getCopy ( statusTagId ) ; if ( statusTagCopy != null ) { setProcessId ( ( ControlTagCacheObject ) statusTagCopy , processId ) ; } else { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , String . format ( "No Status tag (%d) found for Process %s (#%d)." , statusTagId , process . getName ( ) , process . getId ( ) ) ) ; } } else { throw new ConfigurationException ( ConfigurationException . INVALID_PARAMETER_VALUE , String . format ( "No Status tag for Process %s (#%d) defined." , process . getName ( ) , process . getId ( ) ) ) ; } }
ensures that the alive - , status - and commfault tags have appropriately the process id set .
