Process Class Relationships

filenet.vw.api
Class VWStepProcessorInfoDefinition

java.lang.Object
  |
  +--filenet.vw.api.VWStepProcessorObject
        |
        +--filenet.vw.api.VWStepProcessorInfoDefinition
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public final class VWStepProcessorInfoDefinition
extends filenet.vw.api.VWStepProcessorObject
implements java.lang.Cloneable

Use this classes's methods to administer Step Processor information. Create this object with VWSystemConfiguration.createStepProcessorInfoDefinition().

Since:
VWWS3.10
See Also:
VWSystemConfiguration, Serialized Form

Field Summary
static int APP_TYPE_JAVA
          Integer value of 64. The application type is JAVA code Return value for getAppType method.
static int APP_TYPE_URL
          Integer value of 32. The application type is a URL Return value for getAppType method.
static int PROCESSOR_DEFAULT
          Integer value of 3. This value indicates default launch and step processors. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.
static int PROCESSOR_LAUNCH
          Integer value of 4. This value indicates that the step is the non-default launch step processor.
static int PROCESSOR_LAUNCH_DEFAULT
          Integer value of 1. This value indicates that the step is the default launch step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.
static int PROCESSOR_STEP
          Integer value of 8. This value indicates a non-default step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.
static int PROCESSOR_STEP_DEFAULT
          Integer value of 2. This value indicates a default step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.
 
Constructor Summary
VWStepProcessorInfoDefinition()
          Creates a minimal VWStepProcessorInfoDefinition object.
VWStepProcessorInfoDefinition(int theId, int theProcessorType, java.lang.String theName, int theAppType, java.util.Hashtable theLocations, int theWidth, int theHeight, java.lang.String theApp)
          Creates a VWStepProcessorInfoDefinition object using input arguments, including a hashtable of the locations associated with this step processor, for each web application.
VWStepProcessorInfoDefinition(int theId, int theProcessorType, java.lang.String theName, int theAppType, java.lang.String theLocation, int theWidth, int theHeight, java.lang.String theApp)
          Deprecated. Replaced by VWStepProcessorInfoDefinition(int, int, String, int, Hashtable, int, int, String), which inputs a hashtable of the locations associated with this step processor, for each web application.
 
Method Summary
 java.lang.String getApplicationName()
          Gets the application name.
 int getAppType()
          Gets the application type, either URL or Java, associated with this step processor.
 void getCopy(VWStepProcessorInfoDefinition aSPID)
          Copies and cleans a VWStepProcessorInfoDefinition object that may have a "dirty bit-set".
 int getHeight()
          Gets the height, in pixels, specified for the step processor.
 int getId()
          Gets the ID associated with this step processor's information.
 java.lang.String getLocation()
          Deprecated. Replaced by getLocation(int).
 java.lang.String getLocation(int nWebApp)
          Gets the URL location associated with this step processor information object, for the given web application.
 java.util.Hashtable getLocations()
          Gets the URL locations associated with this step processor, for each web application.
 java.lang.String getName()
          Gets the name associated with this step processor's information object.
 int getProcessorType()
          Gets the processorType.
 int getWidth()
          Gets the width, in pixels, specified for the step processor.
 boolean hasChanged()
          Determines whether or not this step processor definition has changed.
 boolean isDefaultType()
          Determine whether or not the step processor is a default step or default launch processor.
 void setApplicationName(java.lang.String theApplicationName)
          Sets the application name.
 void setAppType(int theAppType)
          Sets the application type associated with this step processor's information.
 void setDefaultType(int theDefaultType)
          Sets the step processor default type.
 void setHasChanged(boolean theNewValue)
          Sets the hasChanged property value.
 void setHeight(int theHeight)
          Sets the height of the step processor.
 void setLocation(java.lang.String theLocation)
          Deprecated. Replaced by setLocations(Hashtable).
 void setLocations(java.util.Hashtable theLocations)
          Sets the URL locations associated with this step processor, for each web application.
 void setName(java.lang.String theName)
          Sets the name associated with this step processor's information object.
 void setProcessorType(int theProcessorType)
          Sets the processorType associated with this step processor's information.
 void setWidth(int theWidth)
          Sets the width associated with this step processor's information.
 java.lang.String toString()
          Gets a string representation of the step processor object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PROCESSOR_LAUNCH

public static final int PROCESSOR_LAUNCH
Integer value of 4. This value indicates that the step is the non-default launch step processor.
See Also:
getProcessorType()

PROCESSOR_STEP

public static final int PROCESSOR_STEP
Integer value of 8. This value indicates a non-default step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.

PROCESSOR_LAUNCH_DEFAULT

public static final int PROCESSOR_LAUNCH_DEFAULT
Integer value of 1. This value indicates that the step is the default launch step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.

PROCESSOR_STEP_DEFAULT

public static final int PROCESSOR_STEP_DEFAULT
Integer value of 2. This value indicates a default step processor. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.

PROCESSOR_DEFAULT

public static final int PROCESSOR_DEFAULT
Integer value of 3. This value indicates default launch and step processors. The VWStepProcessorInfoDefinition.getProcessorType(...) and the VWStepProcessorInfoDefinition.setProcessorType(...) methods refer to these static variables.

APP_TYPE_URL

public static final int APP_TYPE_URL
Integer value of 32. The application type is a URL Return value for getAppType method.

APP_TYPE_JAVA

public static final int APP_TYPE_JAVA
Integer value of 64. The application type is JAVA code Return value for getAppType method.
Constructor Detail

VWStepProcessorInfoDefinition

public VWStepProcessorInfoDefinition()
Creates a minimal VWStepProcessorInfoDefinition object.

VWStepProcessorInfoDefinition

public VWStepProcessorInfoDefinition(int theId,
                                     int theProcessorType,
                                     java.lang.String theName,
                                     int theAppType,
                                     java.lang.String theLocation,
                                     int theWidth,
                                     int theHeight,
                                     java.lang.String theApp)
                              throws VWException
Deprecated. Replaced by VWStepProcessorInfoDefinition(int, int, String, int, Hashtable, int, int, String), which inputs a hashtable of the locations associated with this step processor, for each web application.

Creates a VWStepProcessorInfoDefinition object using input arguments.

VWStepProcessorInfoDefinition

public VWStepProcessorInfoDefinition(int theId,
                                     int theProcessorType,
                                     java.lang.String theName,
                                     int theAppType,
                                     java.util.Hashtable theLocations,
                                     int theWidth,
                                     int theHeight,
                                     java.lang.String theApp)
                              throws VWException
Creates a VWStepProcessorInfoDefinition object using input arguments, including a hashtable of the locations associated with this step processor, for each web application.
Method Detail

getCopy

public void getCopy(VWStepProcessorInfoDefinition aSPID)
Copies and cleans a VWStepProcessorInfoDefinition object that may have a "dirty bit-set". .
Returns:
VWStepProcessorInfoDefinition object, cleaned of "dirty bit-sets".

getId

public int getId()
Gets the ID associated with this step processor's information.
Overrides:
getId in class filenet.vw.api.VWStepProcessorObject
Returns:
An integer value representing the unique Id of the step processor.

getName

public java.lang.String getName()
Gets the name associated with this step processor's information object.
Overrides:
getName in class filenet.vw.api.VWStepProcessorObject
Returns:
The name of the step processor.

getLocation

public java.lang.String getLocation()
Deprecated. Replaced by getLocation(int).

Gets the URL location associated with this step processor. The location will depend on the session Web Application ID.
Overrides:
getLocation in class filenet.vw.api.VWStepProcessorObject
Returns:
The location of the step processor.

getLocation

public java.lang.String getLocation(int nWebApp)
Gets the URL location associated with this step processor information object, for the given web application. The location can be a URL of an Active Server Page.
Parameters:
nWebApp - the id of the desired web application
Returns:
A string containing the URL location of the step processor.

getLocations

public java.util.Hashtable getLocations()
Gets the URL locations associated with this step processor, for each web application.
Overrides:
getLocations in class filenet.vw.api.VWStepProcessorObject
Returns:
The locations associated with this step processor, for each web application.

getProcessorType

public int getProcessorType()
Gets the processorType.
Overrides:
getProcessorType in class filenet.vw.api.VWStepProcessorObject
Returns:
An integer value indicating the processor type. The method can return the following integer values:

  • 1: PROCESSOR_LAUNCH_DEFAULT
  • 2: PROCESSOR_STEP_DEFAULT
  • 3: PROCESSOR_DEFAULT
  • 4: PROCESSOR_LAUNCH
  • 8: PROCESSOR_STEP


getAppType

public int getAppType()
Gets the application type, either URL or Java, associated with this step processor.
Overrides:
getAppType in class filenet.vw.api.VWStepProcessorObject
Returns:
An integer value that indication the type of the step processor. This method can return the following integer values:

  • 32: Url (APP_TYPE_URL)
  • 64: Java (APP_TYPE_JAVA)

isDefaultType

public boolean isDefaultType()
Determine whether or not the step processor is a default step or default launch processor.
Overrides:
isDefaultType in class filenet.vw.api.VWStepProcessorObject
Returns:
A Boolean value. This method returns true if step processor is a default type; otherwise, the method returns false.

getHeight

public int getHeight()
Gets the height, in pixels, specified for the step processor.
Overrides:
getHeight in class filenet.vw.api.VWStepProcessorObject
Returns:
An integer value that represents the height of the step processor, in pixels.

getWidth

public int getWidth()
Gets the width, in pixels, specified for the step processor.
Overrides:
getWidth in class filenet.vw.api.VWStepProcessorObject
Returns:
An integer value that represents the width of the step processor, in pixels.

getApplicationName

public java.lang.String getApplicationName()
Gets the application name.
Overrides:
getApplicationName in class filenet.vw.api.VWStepProcessorObject
Returns:
The application name for this step processor.

setName

public void setName(java.lang.String theName)
             throws VWException
Sets the name associated with this step processor's information object.

setLocation

public void setLocation(java.lang.String theLocation)
                 throws VWException
Deprecated. Replaced by setLocations(Hashtable).

Sets the URL location associated with this step processor.
Parameters:
theLocation - The new URL location of the step processor.
Throws:
VWException -  

setLocations

public void setLocations(java.util.Hashtable theLocations)
                  throws VWException
Sets the URL locations associated with this step processor, for each web application.
Parameters:
theLocations - The new URL locations associated with this step processor.
Throws:
VWException -  

setProcessorType

public void setProcessorType(int theProcessorType)
                      throws VWException
Sets the processorType associated with this step processor's information.
Parameters:
theProcessorType - A valid processor type, in integer format.
Throws:
VWException - Thrown if an invalid type is input.

setAppType

public void setAppType(int theAppType)
                throws VWException
Sets the application type associated with this step processor's information.
Parameters:
theAppType - An integer value specifying the application type of the processor. Valid input values are as follows:

  • 32: Url (APP_TYPE_URL)
  • 64: Java (APP_TYPE_JAVA)

Throws:
VWException - Thrown if it cannot set the application type associated with this step processor's information.

setDefaultType

public void setDefaultType(int theDefaultType)
                    throws VWException
Sets the step processor default type.
Parameters:
theDefaultType - An integer value specifying the type for the default step processor.

Valid input values are as follows:

  • 1: PROCESSOR_LAUNCH_DEFAULT
  • 2: PROCESSOR_STEP_DEFAULT

Throws:
VWException - Thrown if it cannot set the step processor default type.

setHeight

public void setHeight(int theHeight)
               throws VWException
Sets the height of the step processor.
Parameters:
theHeight - An integer value that represents the height, in pixels, for the step processor.
Throws:
VWException - Thrown if it cannot set the height of the step processor.

setWidth

public void setWidth(int theWidth)
              throws VWException
Sets the width associated with this step processor's information.
Parameters:
theWidth - An integer value that represents the width, in pixels, for the step processor.
Throws:
VWException - Thrown if it cannot set the width associated with this step processor's information.

setHasChanged

public void setHasChanged(boolean theNewValue)
Sets the hasChanged property value. This is for INTERNAL PURPOSES ONLY. Call this method after committing a work item to reset the hasChanged value to false.
Overrides:
setHasChanged in class filenet.vw.api.VWStepProcessorObject
Parameters:
theNewValue - A Boolean value. Specify true to indicate the item has been updated; otherwise, specify false.

hasChanged

public boolean hasChanged()
Determines whether or not this step processor definition has changed.
Overrides:
hasChanged in class filenet.vw.api.VWStepProcessorObject
Returns:
A Boolean value. This method returns true if the has changed. If the object has not changed, the method returns false.

setApplicationName

public void setApplicationName(java.lang.String theApplicationName)
                        throws VWException
Sets the application name.
Parameters:
theApplicationName - The new name for the application.
Throws:
VWException - Thrown if it cannot set the application name.

toString

public java.lang.String toString()
Gets a string representation of the step processor object.
Overrides:
toString in class filenet.vw.api.VWStepProcessorObject
Returns:
A string containing a representation of this VWStepProcessorObject. The string is formatted as follows:

[Id] [URL] [Name] [Location] [Height] [Width] [AppName].


Process Class Relationships

Copyright © 2002 FileNET Corporation. All rights reserved.