wt.epm
Interface EPMContentDelegate

All Known Implementing Classes:
EPMDefaultContentDelegate

public interface EPMContentDelegate

Handle name/number changing for EPM objects

Supported API: false

Extendable: false


Method Summary
 void checkContents(EPMObject target, String newNumber)
          For a given WTObject check that the numbering change is permissible given the current content on any and all iterations.
 void renumberContents(EPMObject target, String oldNumber, String newNumber)
          Perform the number change for any and all iterations of the given object.
 void renumberIteration(FormatContentHolder holder, String oldNumber, String newNumber)
          For a given FormatContentHolder, do the required modification of content for a number change

Supported API: false
 

Method Detail

renumberContents

public void renumberContents(EPMObject target,
                             String oldNumber,
                             String newNumber)
                      throws WTException
Perform the number change for any and all iterations of the given object.

Supported API: false

Parameters:
target -
oldNumber -
newNumber - The proposed new value for the "number" identifier.
Throws:
WTException

checkContents

public void checkContents(EPMObject target,
                          String newNumber)
                   throws WTException
For a given WTObject check that the numbering change is permissible given the current content on any and all iterations.

Supported API: false

Parameters:
target -
newNumber - The proposed new value for the "number" identifier.
Throws:
WTException

renumberIteration

public void renumberIteration(FormatContentHolder holder,
                              String oldNumber,
                              String newNumber)
                       throws WTException,
                              PropertyVetoException,
                              IOException
For a given FormatContentHolder, do the required modification of content for a number change

Supported API: false

Parameters:
holder -
oldNumber -
newNumber -
Throws:
WTException
PropertyVetoException
IOException