com.enonic.xp.resource.DynamicSchemaService Maven / Gradle / Ivy
The newest version!
package com.enonic.xp.resource;
import java.util.List;
import com.enonic.xp.app.ApplicationKey;
import com.enonic.xp.region.ComponentDescriptor;
import com.enonic.xp.schema.BaseSchema;
import com.enonic.xp.site.SiteDescriptor;
import com.enonic.xp.style.StyleDescriptor;
public interface DynamicSchemaService
{
DynamicSchemaResult createComponent( CreateDynamicComponentParams params );
DynamicSchemaResult updateComponent( UpdateDynamicComponentParams params );
DynamicSchemaResult getComponent( GetDynamicComponentParams params );
List> listComponents( ListDynamicComponentsParams params );
boolean deleteComponent( DeleteDynamicComponentParams params );
> DynamicSchemaResult createContentSchema( CreateDynamicContentSchemaParams params );
> DynamicSchemaResult updateContentSchema( UpdateDynamicContentSchemaParams params );
> DynamicSchemaResult getContentSchema( GetDynamicContentSchemaParams params );
> List> listContentSchemas( ListDynamicContentSchemasParams params );
boolean deleteContentSchema( DeleteDynamicContentSchemaParams params );
DynamicSchemaResult updateSite( UpdateDynamicSiteParams params );
DynamicSchemaResult getSite( ApplicationKey key );
DynamicSchemaResult createStyles( CreateDynamicStylesParams params );
DynamicSchemaResult updateStyles( UpdateDynamicStylesParams params );
DynamicSchemaResult getStyles( ApplicationKey key );
boolean deleteStyles( ApplicationKey key );
}