com.ptc.wvs.client.beans
Class Clipboard

java.lang.Object
  extended bycom.ptc.wvs.client.beans.Clipboard

public class Clipboard
extends Object

The Clipboard bean supports the bringing together of Representations, so that they may be viewed together within ProductView



Supported API: false

Extendable: false


Field Summary
static int CLIPBOARD_CONTAINEROID
           
static int CLIPBOARD_DISPLAY
           
static int CLIPBOARD_EDFILE
           
static int CLIPBOARD_ICON
           
static int CLIPBOARD_IS_MARKUP
           
static int CLIPBOARD_ITERATION
           
static int CLIPBOARD_NAME
           
static int CLIPBOARD_NUMBER
           
static int CLIPBOARD_PV_ICON
           
static int CLIPBOARD_PVURL
           
static int CLIPBOARD_REPRESENTABLE
           
static int CLIPBOARD_REPRESENTATION
           
static int CLIPBOARD_VERSION
           
private  Vector clipboardContainerOid
           
private  Vector clipboardDisplay
           
private  Vector clipboardFile
           
private  Vector clipboardIcon
           
private  Vector clipboardIsMarkup
           
private  Vector clipboardName
           
private  Vector clipboardNumber
           
private  Vector clipboardPVIcon
           
private  Vector clipboardQID
           
private  Vector clipboardRepableRef
           
private  Vector clipboardRepationRef
           
private  Vector clipboardURL
           
private  Vector clipboardVersion
           
private  int count
           
private  int lineFlag
           
 
Constructor Summary
Clipboard()
          Constructs an empty clipboard

Supported API: false
 
Method Summary
 void addToClipboard(String representableRef, String representationRef)
          Inserts a new entry in the clipboard

Supported API: false
 void addToClipboard(String representableRef, String representationRef, String ContainerOid, boolean isMarkup, Locale locale)
           
 void clearClipboard()
          Removes all references to the contents of the clipboard

Supported API: false
 String getResultElement(int line, int element)
          Returns the string for each element of the clipbaord table

Supported API: false
 void removeFromClipboard(int entry)
          Removes a specific entry from the clipboard

Supported API: false
 void removeFromClipboard(String entry)
          Removes a specific entry from the clipboard

Supported API: false
 int size()
          Returns the number of entries currently in the clipboard

Supported API: false
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clipboardRepableRef

private Vector clipboardRepableRef

clipboardRepationRef

private Vector clipboardRepationRef

clipboardName

private Vector clipboardName

clipboardNumber

private Vector clipboardNumber

clipboardVersion

private Vector clipboardVersion

clipboardQID

private Vector clipboardQID

clipboardURL

private Vector clipboardURL

clipboardFile

private Vector clipboardFile

clipboardIcon

private Vector clipboardIcon

clipboardDisplay

private Vector clipboardDisplay

clipboardPVIcon

private Vector clipboardPVIcon

clipboardIsMarkup

private Vector clipboardIsMarkup

clipboardContainerOid

private Vector clipboardContainerOid

count

private int count

lineFlag

private int lineFlag

CLIPBOARD_NUMBER

public static final int CLIPBOARD_NUMBER
See Also:
Constant Field Values

CLIPBOARD_NAME

public static final int CLIPBOARD_NAME
See Also:
Constant Field Values

CLIPBOARD_VERSION

public static final int CLIPBOARD_VERSION
See Also:
Constant Field Values

CLIPBOARD_PVURL

public static final int CLIPBOARD_PVURL
See Also:
Constant Field Values

CLIPBOARD_EDFILE

public static final int CLIPBOARD_EDFILE
See Also:
Constant Field Values

CLIPBOARD_ITERATION

public static final int CLIPBOARD_ITERATION
See Also:
Constant Field Values

CLIPBOARD_ICON

public static final int CLIPBOARD_ICON
See Also:
Constant Field Values

CLIPBOARD_REPRESENTABLE

public static final int CLIPBOARD_REPRESENTABLE
See Also:
Constant Field Values

CLIPBOARD_REPRESENTATION

public static final int CLIPBOARD_REPRESENTATION
See Also:
Constant Field Values

CLIPBOARD_DISPLAY

public static final int CLIPBOARD_DISPLAY
See Also:
Constant Field Values

CLIPBOARD_PV_ICON

public static final int CLIPBOARD_PV_ICON
See Also:
Constant Field Values

CLIPBOARD_IS_MARKUP

public static final int CLIPBOARD_IS_MARKUP
See Also:
Constant Field Values

CLIPBOARD_CONTAINEROID

public static final int CLIPBOARD_CONTAINEROID
See Also:
Constant Field Values
Constructor Detail

Clipboard

public Clipboard()
Constructs an empty clipboard

Supported API: false

Method Detail

clearClipboard

public void clearClipboard()
Removes all references to the contents of the clipboard

Supported API: false


addToClipboard

public void addToClipboard(String representableRef,
                           String representationRef)
Inserts a new entry in the clipboard

Supported API: false

Parameters:
representableRef - Object Reference of a Representable
representationRef - Object Reference of a representation of the representable

addToClipboard

public void addToClipboard(String representableRef,
                           String representationRef,
                           String ContainerOid,
                           boolean isMarkup,
                           Locale locale)

removeFromClipboard

public void removeFromClipboard(String entry)
Removes a specific entry from the clipboard

Supported API: false


removeFromClipboard

public void removeFromClipboard(int entry)
Removes a specific entry from the clipboard

Supported API: false

Parameters:
entry - The number of the entry in the clipboard

size

public int size()
Returns the number of entries currently in the clipboard

Supported API: false

Returns:
int The number of the enteries

getResultElement

public String getResultElement(int line,
                               int element)
Returns the string for each element of the clipbaord table

Supported API: false

Returns:
String representing the HTML for each cell in a clipboard table