Class MockAssetStore

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

    public final class MockAssetStore
    extends Object
    implements com.day.cq.dam.api.handler.store.AssetStore
    Mock implementation of AssetStore
    • Constructor Detail

      • MockAssetStore

        public MockAssetStore()
    • Method Detail

      • getAssetHandler

        public com.day.cq.dam.api.handler.AssetHandler getAssetHandler​(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 String getFileNameSuffix​(String arg0)
        Specified by:
        getFileNameSuffix in interface com.day.cq.dam.api.handler.store.AssetStore
      • getIconPath

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

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

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