delete(MediaObject)

format

void delete(MediaObject eve) throws EveException

 

void update(MediaObject eve,CommandList beforeMethods,CommandList afterMethods) throws EveException

description

Removes a MediaObject from the MediaCollection.

parameters

eve - the MediaObject to be removed

 

CommandList beforeMethods — indicates that you want to run a command method(s) before the method is invoked

 

CommandList afterMethods — indicates that you want to run a command method(s) after the method is executed

returns

TRUE - if the deletion was successful

throws

The delete() method throws an EveException if the deletion fails.

 

NOTE: After you delete an image from a MediaCollection using the delete(MediaObject) method, you must call the reorganize method to organize and optimize the remaining data structures within the MediaCollection.