Project: stp

com.ibm.rational.stp.client.samples
Class SimpleEdit

Object
  extended by com.ibm.rational.stp.client.samples.SimpleEdit

public class SimpleEdit
extends Object

Sample CM API Application that allows a ClearQuest record to be edited interactively.


Field Summary
private static javax.wvcm.PropertyRequestItem.PropertyRequest ALL_FIELDS
           
private static int ERROR
           
private static String SUBTITLE
           
 
Constructor Summary
SimpleEdit()
           
 
Method Summary
static void edit(String[] args)
           
static void edit2(String[] args)
           
static void main(String[] args)
           
(package private) static void showRecord(String location)
           
(package private) static String status(CqRecord record)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ERROR

private static final int ERROR
See Also:
Constant Field Values

SUBTITLE

private static final String SUBTITLE
See Also:
Constant Field Values

ALL_FIELDS

private static final javax.wvcm.PropertyRequestItem.PropertyRequest ALL_FIELDS
Constructor Detail

SimpleEdit

public SimpleEdit()
Method Detail

main

public static void main(String[] args)
                 throws Exception
Parameters:
args - arg[0] == simple name of edit action; arg[1]=record to edit
Throws:
Exception

edit

public static void edit(String[] args)
                 throws Exception
Throws:
Exception

status

static String status(CqRecord record)
              throws javax.wvcm.WvcmException
Throws:
javax.wvcm.WvcmException

edit2

public static void edit2(String[] args)
                  throws Exception
Throws:
Exception

showRecord

static void showRecord(String location)
                throws Exception
Throws:
Exception

Generated Mon 24-Feb-2014 01:11 AM

Copyright © IBM 2014. All rights reserved.