|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.processor.BaseProcessorExtension
org.alfresco.repo.jscript.BaseScopableProcessorExtension
org.alfresco.repo.thumbnail.script.ScriptThumbnailService
public class ScriptThumbnailService
Script object representing the site service.
Constructor Summary | |
---|---|
ScriptThumbnailService()
|
Method Summary | |
---|---|
java.lang.String |
getMimeAwarePlaceHolderResourcePath(java.lang.String thumbnailName,
java.lang.String mimetype)
Gets the resource path for the place holder thumbnail for the given named thumbnail and the given mime type. |
java.lang.String |
getPlaceHolderResourcePath(java.lang.String thumbnailName)
Gets the resource path for the place holder thumbnail for the given named thumbnail. |
boolean |
isThumbnailNameRegistered(java.lang.String thumbnailName)
Indicates whether a given thumbnail name has been registered. |
void |
setServiceRegistry(ServiceRegistry serviceRegistry)
Sets the Service Registry |
Methods inherited from class org.alfresco.repo.jscript.BaseScopableProcessorExtension |
---|
getScope, setScope |
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension |
---|
getExtensionName, register, setExtensionName, setProcessor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ScriptThumbnailService()
Method Detail |
---|
public void setServiceRegistry(ServiceRegistry serviceRegistry)
serviceRegistry
- public boolean isThumbnailNameRegistered(java.lang.String thumbnailName)
thumbnailName
- thumbnail name
public java.lang.String getPlaceHolderResourcePath(java.lang.String thumbnailName)
thumbnailName
- the thumbnail name
public java.lang.String getMimeAwarePlaceHolderResourcePath(java.lang.String thumbnailName, java.lang.String mimetype)
ScriptThumbnailService.getPlaceHolderResourcePath(String)
If neither a MIME-specific icon nor a generic icon is available, null
is returned.
thumbnailName
- the thumbnail namemimetype
- the mimetype of the piece of content.
ScriptThumbnailService.getPlaceHolderResourcePath(String)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |