1 13 package org.jahia.services.version; 14 15 import java.util.Vector ; 16 17 import org.jahia.exceptions.JahiaException; 18 import org.jahia.params.ParamBean; 19 import org.jahia.services.JahiaService; 20 import org.jahia.services.usermanager.JahiaUser; 21 22 23 28 public abstract class JahiaVersionService extends JahiaService 29 { 30 31 35 public abstract boolean isStagingEnabled (int siteID); 36 37 41 public abstract boolean isVersioningEnabled (int siteID); 42 43 46 public abstract int getCurrentVersionID(); 47 48 51 public abstract JahiaSaveVersion getSiteSaveVersion(int siteID); 52 53 63 public abstract EntryStateable resolveEntry( Vector entryStateables, EntryLoadRequest loadRequest , boolean ignoreLanguage); 64 65 75 public abstract EntryStateable resolveEntry( Vector entryStateables, EntryLoadRequest loadRequest ); 76 77 80 public abstract void activateStagedPage ( int pageID, JahiaUser user, ParamBean jParams, StateModificationContext stateModifContext ) 81 throws JahiaException; 82 83 } 84 | Popular Tags |