1 13 package org.jahia.content; 14 15 import java.util.SortedSet ; 16 17 import org.jahia.services.usermanager.JahiaUser; 18 import org.jahia.services.version.EntryLoadRequest; 19 20 29 public abstract class AbstractEntryInfosSet { 30 31 private static final String CLASS_NAME = 32 AbstractEntryInfosSet.class.getName(); 33 34 37 private SortedSet entryStates; 38 39 40 private long fromRevisionDate; 41 42 43 private long toRevisionDate; 44 45 46 private int nbMaxOfRevisions = 10; 47 48 49 private int level; 50 51 52 public void setFromRevisionDate(long date){ 53 this.fromRevisionDate = date; 54 } 55 56 public long getFromRevisionDate(){ 57 return this.fromRevisionDate; 58 } 59 60 public void setToRevisionDate(long date){ 61 this.toRevisionDate = date; 62 } 63 64 public long getToRevisionDate(){ 65 return this.toRevisionDate; 66 } 67 68 public int getNbMaxOfRevisions(){ 69 return this.nbMaxOfRevisions; 70 } 71 72 public void setNbMaxOfRevisions(int value){ 73 this.nbMaxOfRevisions = value; 74 } 75 76 public SortedSet getEntryStates(){ 77 return this.entryStates; 78 } 79 80 public abstract void loadEntryStates(ContentObject contentObject, 81 EntryLoadRequest loadRequest, 82 JahiaUser user, int operation ); 83 } 84 85 | Popular Tags |