@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 com.liferay.portal.kernel.exception.PortalException
model - the model for which all generated media is deletedcom.liferay.portal.kernel.exception.PortalException - if an error occurred while calling any Liferay
servicesvoid process(M model) throws com.liferay.portal.kernel.exception.PortalException
model - the model for which media is generatedcom.liferay.portal.kernel.exception.PortalException - if an error occurred while calling any Liferay
services