wt.occurrence
Interface OccurrenceModificationDelegate

All Known Implementing Classes:
CombinedPathOccurrenceModificationDelegate, EPMUsesOccurrenceModificationDelegate, PartPathOccurrenceModificationDelegate, PartUsesOccurrenceModificationDelegate, PathOccurrenceModificationDelegate

public interface OccurrenceModificationDelegate

Determines if you can modify an Occurrence, which may involve checking access rights to the Occurrence or some related object (frequently an OccurrenceableLink or a PathOccurrenceContext.

Supported API: true

Extendable: true


Field Summary
static int DELETE
          

Supported API: false
static int INSERT
          

Supported API: false
static int UPDATE
          

Supported API: false
 
Method Summary
 void approveModification(Occurrence occurrence, int operation)
          

Supported API: false
 

Field Detail

INSERT

public static final int INSERT


Supported API: false

See Also:
Constant Field Values

UPDATE

public static final int UPDATE


Supported API: false

See Also:
Constant Field Values

DELETE

public static final int DELETE


Supported API: false

See Also:
Constant Field Values
Method Detail

approveModification

public void approveModification(Occurrence occurrence,
                                int operation)
                         throws WTException,
                                OccurrenceException


Supported API: false

Parameters:
occurrence -
operation - This parameter should use the constants INSERT, UPDATE or DELETE.
Throws:
WTException
OccurrenceException