Package wt.occurrence
Interface OccurrenceModificationDelegate
- All Known Implementing Classes:
wt.occurrence.AbstractOccurrenceModificationDelegate,CombinedPathOccurrenceModificationDelegate,PathOccurrenceModificationDelegate
public interface OccurrenceModificationDelegate
Determines if you can modify an
Supported API: true
Extendable: true
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
-
Method Summary
Modifier and TypeMethodDescriptionvoidapproveModification(WTCollection occurrences, int operation) Occurrences modification is approved only if user has access control rights to modify it.voidapproveModification(Occurrence occurrence, int operation) Occurrence modification is approved only if user has access control rights to modify it.
-
Method Details
-
approveModification
void approveModification(Occurrence occurrence, int operation) throws WTException, OccurrenceException Occurrence modification is approved only if user has access control rights to modify it.
Supported API: true- Parameters:
occurrence-operation- This parameter should use the constantsINSERT,UPDATEorDELETE.- Throws:
WTExceptionOccurrenceException
-
approveModification
Occurrences modification is approved only if user has access control rights to modify it.
Supported API: true- Parameters:
occurrences-operation- This parameter should use the constantsINSERT,UPDATEorDELETE.- Throws:
WTExceptionOccurrenceException
-