1 // 2 // ____. 3 // __/\ ______| |__/\. _______ 4 // __ .____| | \ | +----+ \ 5 // _______| /--| | | - \ _ | : - \_________ 6 // \\______: :---| : : | : | \________> 7 // |__\---\_____________:______: :____|____:_____\ 8 // /_____| 9 // 10 // . . . i n j a h i a w e t r u s t . . . 11 // 12 13 package org.jahia.services.version; 14 15 /** 16 * <p>Title: EntryState-able interface</p> 17 * <p>Description: Under this name that sorta invents a new word in the english 18 * language is hidden an interface that "tags" a class to be 19 * EntryState-able. This allows it to be used in conjunction with the version 20 * service and therefore to offer a central location to "resolve" content entries 21 * and not have to reimplement the resolver for each EntryState-able class.</p> 22 * <p>Copyright: Copyright (c) 2002</p> 23 * <p>Company: </p> 24 * @author David Jilli 25 * @version 1.0 26 */ 27 public interface EntryStateable { 28 29 public String getLanguageCode(); 30 31 public int getVersionID(); 32 33 public int getWorkflowState(); 34 35 } 36