/*
 * Decompiled with CFR 0.152.
 * 
 * Could not load the following classes:
 *  com.l7tech.gateway.common.module.ModuleState
 *  com.l7tech.gateway.common.module.ServerModuleFile
 *  com.l7tech.gateway.common.module.ServerModuleFileState
 *  com.l7tech.objectmodel.EntityHeader
 *  com.l7tech.objectmodel.EntityManager
 *  com.l7tech.objectmodel.FindException
 *  com.l7tech.objectmodel.Goid
 *  com.l7tech.objectmodel.UpdateException
 *  com.l7tech.util.Pair
 *  org.jetbrains.annotations.NotNull
 *  org.jetbrains.annotations.Nullable
 */
package com.l7tech.server.module;

import com.l7tech.gateway.common.module.ModuleState;
import com.l7tech.gateway.common.module.ServerModuleFile;
import com.l7tech.gateway.common.module.ServerModuleFileState;
import com.l7tech.objectmodel.EntityHeader;
import com.l7tech.objectmodel.EntityManager;
import com.l7tech.objectmodel.FindException;
import com.l7tech.objectmodel.Goid;
import com.l7tech.objectmodel.UpdateException;
import com.l7tech.util.Pair;
import java.io.InputStream;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public interface ServerModuleFileManager
extends EntityManager<ServerModuleFile, EntityHeader> {
    public void updateState(Goid var1, ModuleState var2) throws UpdateException;

    public void updateState(Goid var1, String var2) throws UpdateException;

    public ServerModuleFileState findStateForCurrentNode(ServerModuleFile var1);

    public boolean isModuleUploadEnabled();

    @Nullable
    public Pair<InputStream, String> getModuleBytesAsStreamWithSignature(@NotNull Goid var1) throws FindException;

    @Nullable
    public ServerModuleFile findModuleWithSha256(@NotNull String var1) throws FindException;
}

