Package com.day.cq.dam.api.handler.store
Interface AssetHandlerInfo
-
@Deprecated public interface AssetHandlerInfoDeprecated.since 5.4TheAssetHandlerInfoclass ...
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidactivate(java.lang.String mimeType)Deprecated.Activate the media handler for the given mime type.voiddeactivate(java.lang.String mimeType)Deprecated.Deactivate the media handler for the given mime type.java.lang.String[]getActiveMimeTypes()Deprecated.Return the list of currently active mime types for this media handler.java.lang.StringgetClassName()Deprecated.Get the class name.java.lang.String[]getInactiveMimeTypes()Deprecated.Return the list of currently inactive mime types for this media handler.AssetHandlergetMediaHandler()Deprecated.Get the corresponding media handler.java.lang.String[]getMimeTypes()Deprecated.Return the list of mime types supported by this media handler.java.lang.StringgetName()Deprecated.Get the service name.java.lang.StringgetServiceId()Deprecated.Get the service id.booleanhasConfiguration()Deprecated.Is this a configurable media handler?
-
-
-
Method Detail
-
getMediaHandler
AssetHandler getMediaHandler()
Deprecated.Get the corresponding media handler.- Returns:
- the media handler
-
getName
java.lang.String getName()
Deprecated.Get the service name.- Returns:
- the service name
-
getServiceId
java.lang.String getServiceId()
Deprecated.Get the service id.- Returns:
- the service id
-
getClassName
java.lang.String getClassName()
Deprecated.Get the class name.- Returns:
- the class name
-
getMimeTypes
java.lang.String[] getMimeTypes()
Deprecated.Return the list of mime types supported by this media handler.- Returns:
- The list of mime types or an empty list.
-
getActiveMimeTypes
java.lang.String[] getActiveMimeTypes()
Deprecated.Return the list of currently active mime types for this media handler.- Returns:
- The list of mime types or an empty list.
-
getInactiveMimeTypes
java.lang.String[] getInactiveMimeTypes()
Deprecated.Return the list of currently inactive mime types for this media handler.- Returns:
- The list of mime types or an empty list.
-
activate
void activate(java.lang.String mimeType)
Deprecated.Activate the media handler for the given mime type. If the media handler does not support the mime type, no action is performed. If another media handler is currently activated for the mime type, it gets deactivated. Only one media handler can be activate at a time for a mime type.- Parameters:
mimeType- - The mime type for which the media handler is to be activated
-
deactivate
void deactivate(java.lang.String mimeType)
Deprecated.Deactivate the media handler for the given mime type. If the media handler does not support the mime type, no action is performed. If there is another handler for the same mime type that one is not activated automatically. This has to be done manually byactivate(String).- Parameters:
mimeType- - The mime type for which the media handler is to be deactivated
-
hasConfiguration
boolean hasConfiguration()
Deprecated.Is this a configurable media handler?- Returns:
- if the media handler is configurable
-
-