Project: stp

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

Object
  extended by com.ibm.rational.stp.client.samples.EditRecord
Direct Known Subclasses:
CreateRecord

public class EditRecord
extends Object

A sample CM API application that allows the user to browse to a record by executing a query and selecting a record from the result set. Within the record display the fields of the record can be modified under an applicable action.


Nested Class Summary
(package private) static class EditRecord.Viewer
          An extension of the ViewRecord.Viewer that adds the ability to start an action under which fields of the record can be modified.
 
Field Summary
(package private) static javax.wvcm.PropertyRequestItem.NestedPropertyName<?>[] fieldMetaProperties
          The field meta-properties requested and displayed
(package private) static javax.wvcm.PropertyRequestItem.PropertyRequest RECORD_PROPERTIES
          The record properties read prior to editing the record
 
Constructor Summary
EditRecord()
           
 
Method Summary
static void main(String[] args)
          Extends the ViewRecord example by adding buttons on the record view window to start an edit action, add an attachment, or remove an attachment
(package private) static boolean matches(javax.wvcm.PropertyNameList.PropertyName n1, javax.wvcm.PropertyNameList.PropertyName n2)
          Determines if the given PropertyName's have the same root name and namespace (ignoring any nested properties they may have).
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fieldMetaProperties

static javax.wvcm.PropertyRequestItem.NestedPropertyName<?>[] fieldMetaProperties
The field meta-properties requested and displayed


RECORD_PROPERTIES

static final javax.wvcm.PropertyRequestItem.PropertyRequest RECORD_PROPERTIES
The record properties read prior to editing the record

Constructor Detail

EditRecord

public EditRecord()
Method Detail

main

public static void main(String[] args)
Extends the ViewRecord example by adding buttons on the record view window to start an edit action, add an attachment, or remove an attachment

Parameters:
args - not used

matches

static boolean matches(javax.wvcm.PropertyNameList.PropertyName n1,
                       javax.wvcm.PropertyNameList.PropertyName n2)
Determines if the given PropertyName's have the same root name and namespace (ignoring any nested properties they may have).

Parameters:
n1 - A PropertyName. Must not be null
n2 - Another PropertyName. Must not be null
Returns:
true if n1 and n2 have the same root property name.

Generated Fri 24-May-2013 10:34 PM

Copyright © IBM 2013. All rights reserved.