Class MockAssetStore

  • All Implemented Interfaces:
    com.day.cq.dam.api.handler.store.AssetStore

    public final class MockAssetStore
    extends java.lang.Object
    implements com.day.cq.dam.api.handler.store.AssetStore
    Mock implementation of AssetStore
    • Field Summary

      • Fields inherited from interface com.day.cq.dam.api.handler.store.AssetStore

        SIZE_LARGE, SIZE_MEDIUM, SIZE_SMALL
    • Constructor Summary

      Constructors 
      Constructor Description
      MockAssetStore()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.day.cq.dam.api.handler.AssetHandler[] getAllAssetHandler()  
      com.day.cq.dam.api.handler.AssetHandler getAssetHandler​(java.lang.String mimeType)  
      java.util.Map<java.lang.String,​com.day.cq.dam.api.handler.store.AssetHandlerInfo> getAssetHandlerInfos()  
      java.lang.String getFileNameSuffix​(java.lang.String arg0)  
      java.lang.String getIconPath​(java.lang.String arg0, int arg1)  
      java.lang.String getMimeType​(java.lang.String arg0)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MockAssetStore

        public MockAssetStore()
    • Method Detail

      • getAssetHandler

        public com.day.cq.dam.api.handler.AssetHandler getAssetHandler​(java.lang.String mimeType)
        Specified by:
        getAssetHandler in interface com.day.cq.dam.api.handler.store.AssetStore
      • getAllAssetHandler

        public com.day.cq.dam.api.handler.AssetHandler[] getAllAssetHandler()
        Specified by:
        getAllAssetHandler in interface com.day.cq.dam.api.handler.store.AssetStore
      • getFileNameSuffix

        public java.lang.String getFileNameSuffix​(java.lang.String arg0)
        Specified by:
        getFileNameSuffix in interface com.day.cq.dam.api.handler.store.AssetStore
      • getIconPath

        public java.lang.String getIconPath​(java.lang.String arg0,
                                            int arg1)
        Specified by:
        getIconPath in interface com.day.cq.dam.api.handler.store.AssetStore
      • getMimeType

        public java.lang.String getMimeType​(java.lang.String arg0)
        Specified by:
        getMimeType in interface com.day.cq.dam.api.handler.store.AssetStore
      • getAssetHandlerInfos

        public java.util.Map<java.lang.String,​com.day.cq.dam.api.handler.store.AssetHandlerInfo> getAssetHandlerInfos()
        Specified by:
        getAssetHandlerInfos in interface com.day.cq.dam.api.handler.store.AssetStore