public class OwSimpleRenditionServiceProvider extends Object implements OwRenditionServiceProvider
Simple implementation of OwRenditionServiceProvider. Using a rendition.xml file to configure/load corresponding service definitions.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor and Description |
---|
OwSimpleRenditionServiceProvider() |
Modifier and Type | Method and Description |
---|---|
protected OwRenditionService |
createRenditionService(String fullServiceName) |
OwRenditionService |
getFallbackRendtionService() |
OwRenditionService |
getRendtionService(OwObject obj)
Get a rendition service for provided object.
|
protected String |
getRootConfigurationName()
Get the path/file name for root configuration resource.
|
protected OwRenditionService |
initRendtionService(String mappingPrefix) |
protected OwXMLUtil |
readConfiguration(String resourceName) |
public OwRenditionService getRendtionService(OwObject obj) throws OwException
OwRenditionServiceProvider
getRendtionService
in interface OwRenditionServiceProvider
obj
- OwObject to get rendition service for.OwException
public OwRenditionService getFallbackRendtionService()
getFallbackRendtionService
in interface OwRenditionServiceProvider
protected String getRootConfigurationName()
protected OwRenditionService initRendtionService(String mappingPrefix) throws OwException
OwException
protected OwRenditionService createRenditionService(String fullServiceName) throws OwServerException
OwServerException
protected OwXMLUtil readConfiguration(String resourceName) throws OwConfigurationException
OwConfigurationException
Copyright © 2014 Alfresco Business Solutions. All Rights Reserved.