@ProviderType
public interface AMProcessor<M,T>
The type parameter M specifies the model used by the processor
to generate the media. The type parameter T restricts the valid
AMAttribute set available.
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp(M model)
Completely removes any generated media for the model.
|
void |
process(M model)
Generates the media for the model.
|
void cleanUp(M model) throws PortalException
model - the model for which all generated media is deletedPortalException - if an error occurred while calling any Liferay
servicesvoid process(M model) throws PortalException
model - the model for which media is generatedPortalException - if an error occurred while calling any Liferay
services