public interface AMImageConfigurationDemoDataCreator
| Modifier and Type | Method and Description |
|---|---|
java.util.Collection<com.liferay.adaptive.media.image.configuration.AMImageConfigurationEntry> |
create(long companyId)
Creates a collection of
AMImageConfigurationEntry configurations
based on the DemoAMImageConfigurationVariant enum |
com.liferay.adaptive.media.image.configuration.AMImageConfigurationEntry |
create(long companyId,
DemoAMImageConfigurationVariant demoAMImageConfigurationVariant)
Creates a
AMImageConfigurationEntry for a company |
void |
delete()
Deletes the configurations created by this demo data creator
|
java.util.Collection<com.liferay.adaptive.media.image.configuration.AMImageConfigurationEntry> create(long companyId)
throws java.io.IOException
AMImageConfigurationEntry configurations
based on the DemoAMImageConfigurationVariant enumcompanyId - ID of the company where the configurations will be
createdjava.io.IOExceptioncom.liferay.adaptive.media.image.configuration.AMImageConfigurationEntry create(long companyId,
DemoAMImageConfigurationVariant demoAMImageConfigurationVariant)
throws java.io.IOException
AMImageConfigurationEntry for a companycompanyId - ID of the company where the configuration will be
createddemoAMImageConfigurationVariant - the configuration to createjava.io.IOExceptionvoid delete()
throws java.io.IOException
java.io.IOException