wt.org.electronicIdentity.tools
Class RepareMissingSignature

java.lang.Object
  extended bywt.org.electronicIdentity.tools.RepareMissingSignature

public class RepareMissingSignature
extends Object

This class attempts to repare a users electronic identification by identifing the electronicIdentification object that is corrupted. It has been observed that if the db.property wt.pom.lobChunkSize=3000 that objects are sometimes not correctly uploaded to the database, or if the file name exceeds the allowed size the upload does not occure correctly. This class will attempt to determine where the error occured and delete the database links/table elements that are in error. Not supported.


Field Summary
static Installer installService
           
 
Constructor Summary
RepareMissingSignature()
           
 
Method Summary
private static int getChoice(int min, int max)
           
private static String getStringInput()
           
private static WTUser getWTUser()
          The the WTUser object from the entered name.
static void main(String[] args)
           
private static QueryResult queryUserElectronicIdentification(WTUser user)
          Queries for a user electronic identification.
private static void removeNullElectronicIDPrimary(WTUser user)
          Sort through the users ElectronicSignatures and remove the ContentHolder item that has a null primary.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

installService

public static Installer installService
Constructor Detail

RepareMissingSignature

public RepareMissingSignature()
Method Detail

main

public static void main(String[] args)

getWTUser

private static WTUser getWTUser()
The the WTUser object from the entered name.


removeNullElectronicIDPrimary

private static void removeNullElectronicIDPrimary(WTUser user)
Sort through the users ElectronicSignatures and remove the ContentHolder item that has a null primary.


queryUserElectronicIdentification

private static QueryResult queryUserElectronicIdentification(WTUser user)
Queries for a user electronic identification.


getChoice

private static int getChoice(int min,
                             int max)

getStringInput

private static String getStringInput()