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 PageContentEntryInfosSet extends 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 public void setFromRevisionDate(long date){ 50 this.fromRevisionDate = date; 51 } 52 53 public long getFromRevisionDate(){ 54 return this.fromRevisionDate; 55 } 56 57 public void setToRevisionDate(long date){ 58 this.toRevisionDate = date; 59 } 60 61 public long getToRevisionDate(){ 62 return this.toRevisionDate; 63 } 64 65 public int getNbMaxOfRevisions(){ 66 return this.nbMaxOfRevisions; 67 } 68 69 public void setNbMaxOfRevisions(int value){ 70 this.nbMaxOfRevisions = value; 71 } 72 73 public SortedSet getEntryStates(){ 74 return this.entryStates; 75 } 76 77 public abstract void loadEntryStates(ContentObject contentObject, 78 EntryLoadRequest loadRequest, 79 JahiaUser user, int operation ); 80 } 81 82 | Popular Tags |