Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

org.alfresco.service.cmr.repository
Interface TemplateImageResolver
All Superinterfaces:
Serializable

@org.alfresco.api.AlfrescoPublicApi
public interface TemplateImageResolver
extends Serializable
Interface contract for the conversion of file name to a fully qualified icon image path for use by templating and scripting engines executing within the repository context.

Generally this contract will be implemented by classes that have access to say the webserver context which can be used to generate an icon image for a specific filename.

Author:
Kevin Roast

Method Summary
resolveImagePathForName(String filename, org.alfresco.service.cmr.repository.FileTypeImageSize size)
          Resolve the qualified icon image path for the specified filename
Method Detail
resolveImagePathForName
String resolveImagePathForName(String filename,
                               org.alfresco.service.cmr.repository.FileTypeImageSize size)
Resolve the qualified icon image path for the specified filename
Parameters:
filename - The file name to resolve image path for
size - Enum representing the size of the image to retrieve
Returns:
image path for the specified filename and image size

Overview  Package   Class  Use  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Copyright © 2005–2018 Alfresco Software. All rights reserved.

Java API documentation generated with DocFlex/Javadoc 1.6.1 using JavadocPro template set.