Skip navigation links


com.thortech.xl.gc.util
Class ImageGenerator

java.lang.Object
  extended by com.thortech.xl.gc.util.ImageGenerator

All Implemented Interfaces:
java.io.Serializable

public class ImageGenerator
extends java.lang.Object
implements java.io.Serializable

utility to Generate the JGraph Image which gives a graphical representation of all the datasets in OIM. There are mainly 5 datasets: Target Data(Reconciled Data(along with Validations) actually coming from the target), Recon Field Data(Data(along with transformations) with which the recon Fields would be made in OIM), AccountData(Data(along with transformations) with which the Form Fields would be made in OIM), ProvsioningData(Data(along with transformations) which would be actually provisioned to the target), UserData(Dataset(along with transformations) representing the OIM UserData)

See Also:
Serialized Form

Nested Class Summary
 class ImageGenerator.Field
          This class holds information about the co-ordinates of a field in the JGraph Image

 

Field Summary
static java.awt.Color grayswimLaneColor
           
static java.awt.Color headerBGColor
           
static java.lang.String headerTextColor
           

 

Constructor Summary
ImageGenerator()
           

 

Method Summary
 java.util.Hashtable generateImage(GenericAdapter genadp, java.util.HashMap defAttribsForAccountData, java.lang.String imagePath, java.util.HashMap xlUserDefLocalizedLabels, java.util.HashMap localizedNames, Thor.API.tcResultSet resultSet, java.lang.String browserlanguage, java.lang.String browsercountry, java.util.HashMap xlUserDefLocalLabelsEn)
          Generates an image from the Generic Connector Model to give a graphical representation of the OIM datasets and their fields along with the transformations and validations defined on them.
static void main(java.lang.String[] args)
           

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

headerTextColor

public static java.lang.String headerTextColor

headerBGColor

public static java.awt.Color headerBGColor

grayswimLaneColor

public static java.awt.Color grayswimLaneColor

Constructor Detail

ImageGenerator

public ImageGenerator()

Method Detail

generateImage

public java.util.Hashtable generateImage(GenericAdapter genadp,
                                         java.util.HashMap defAttribsForAccountData,
                                         java.lang.String imagePath,
                                         java.util.HashMap xlUserDefLocalizedLabels,
                                         java.util.HashMap localizedNames,
                                         Thor.API.tcResultSet resultSet,
                                         java.lang.String browserlanguage,
                                         java.lang.String browsercountry,
                                         java.util.HashMap xlUserDefLocalLabelsEn)
                                  throws ImageGenerationException
Generates an image from the Generic Connector Model to give a graphical representation of the OIM datasets and their fields along with the transformations and validations defined on them.
Parameters:
GenericAdapter: - Model which contains all information about the GenericConnector
Returns:
Hashtable with the co-ordinate information of all the fields in the JGraph Image, which would be used by the UI to form the ImageMap. key value GCConstants.CONNECTOR_DATA_SET_TARGET_DATA Hashtable x GCConstants.CONNECTOR_DATA_SET_RECON_EVENT_DATA Hashtable x GCConstants.CONNECTOR_DATA_SET_ACCOUNT_DATA Hashtable x GCConstants.CONNECTOR_DATA_SET_PROV_DATA Hashtable x GCConstants.CONNECTOR_DATA_SET_USER_DATA Hashtable x GCConstants.CONNECTOR_IMAGE byte[] GCConstants.TRANSFORMATION List of objects of class (ImageGenerator.Field) Hashtable x: key value < FieldName> An object of class (ImageGenerator.Field) FieldName is appended with: < FielName>#PF, if it is a Parent Field < FielName>#CD, if it is a childDataSet Name < FielName>#< childDataSetName>, if it is a child Field Methods of ImageGenerator.Field(A public inner class in ImageGenerator): getXleft() getXright() getYtop() getYbottom() isParentDatasetField() isChildDatasetName() isChildDatasetField() getChildDatasetName() getParentDatasetName() getTransformationName()
Throws:
ImageGenerationException

main

public static void main(java.lang.String[] args)
                 throws java.lang.Exception
Throws:
java.lang.Exception

Skip navigation links


Copyright © 2010, Oracle and/or its affiliates. All rights reserved.