CRXRepository.java 1.7 KB
/*
 * Decompiled with CFR 0_118.
 * 
 * Could not load the following classes:
 *  javax.jcr.AccessDeniedException
 *  javax.jcr.Repository
 *  javax.jcr.RepositoryException
 *  javax.jcr.Session
 */
package com.day.crx;

import com.day.crx.CRXModule;
import com.day.crx.License;

import javax.jcr.AccessDeniedException;
import javax.jcr.Repository;
import javax.jcr.RepositoryException;
import javax.jcr.Session;
import java.io.File;

public interface CRXRepository
extends Repository {
    public static final String CRX_NAMESPACE_PREFIX = "crx";
    public static final String CRX_NAMESPACE_URI = "http://www.day.com/crx/1.0";
    public static final String REP_CLUSTER_PREFERRED_MASTER = "crx.cluster.preferredMaster";
    public static final String REP_CLUSTER_MASTER = "crx.cluster.master";
    public static final String REP_CLUSTER_ID = "crx.cluster.id";
    public static final String REP_SYSTEM_ID = "crx.repository.systemid";
    public static final String REP_VERSION_DISPLAY_DESC = "jcr.repository.version.display";
    public static final String STATS_NODE_COUNT_PROPERTY = "jcr.repository.stats.nodes.count";
    public static final String STATS_PROP_COUNT_PROPERTY = "jcr.repository.stats.properties.count";
    @Deprecated
    public static final String SYSTEM_WORKSPACE_NAME = "crx.system";
    public static final String LICENSE_PROPERTIES = "license.properties";

    public CRXModule getModule(String var1);

    public CRXModule[] getModules();

    public void installModule(Session var1, CRXModule var2) throws AccessDeniedException, RepositoryException;

    public void uninstallModule(Session var1, String var2) throws AccessDeniedException;

    public License getLicense();

    public File getHomeDir();
}