Package com.enonic.xp.page

## Interface PageTemplateService

-     @PublicApi
      public interface PageTemplateService

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `PageTemplate` | `create​(CreatePageTemplateParams params)` |
    `PageTemplate` | `getByKey​(PageTemplateKey pageTemplateKey)` |
    `PageTemplates` | `getBySite​(ContentId site)` |
    `PageTemplate` | `getDefault​(GetDefaultPageTemplateParams params)` |

- - ### Method Detail

    - #### create

          PageTemplate create​(CreatePageTemplateParams params)

    - #### getByKey

          PageTemplate getByKey​(PageTemplateKey pageTemplateKey)

    - #### getDefault

          PageTemplate getDefault​(GetDefaultPageTemplateParams params)

    - #### getBySite

          PageTemplates getBySite​(ContentId site)