1 package org.jahia.content; 2 3 import java.util.ArrayList ; 4 5 import org.jahia.exceptions.JahiaException; 6 import org.jahia.services.usermanager.JahiaUser; 7 import org.jahia.services.version.EntryLoadRequest; 8 9 17 18 public interface ContentTreeVisitorInterface { 19 20 24 public abstract JahiaUser getUser(); 25 26 30 public abstract void setUser(JahiaUser user); 31 32 36 public abstract EntryLoadRequest getEntryLoadRequest(); 37 38 42 public abstract void setEntryLoadRequest(EntryLoadRequest loadRequest); 43 44 48 public abstract String getOperationMode(); 49 50 54 public abstract void setOperationMode(String operationMode); 55 56 61 public abstract ContentTree getContentTree(); 62 63 67 public abstract int getDescendingPageLevel(); 68 69 72 public void setDescendingPageLevel(int level); 73 74 79 public abstract boolean withChildsContent(); 80 81 89 public abstract ContentTreeStatusInterface getContentTreeStatus(ContentObject contentObject, 90 int currentPageLevel) 91 throws JahiaException; 92 93 100 public abstract ArrayList getChilds(ContentObject contentObject, 101 int currentPageLevel) 102 throws JahiaException; 103 104 111 public abstract void processContentObjectBeforeChilds( 112 ContentObject contentObject, int currentPageLevel) 113 throws JahiaException; 114 115 122 public abstract void processContentObjectAfterChilds( 123 ContentObject contentObject, int currentPageLevel) 124 throws JahiaException; 125 126 135 public abstract void stopProcessContentObjectAfterChilds( 136 ContentObject contentObject, int currentPageLevel) 137 throws JahiaException; 138 139 140 148 public abstract void processLastContentPageField( 149 ContentObject contentObject, int currentPageLevel) 150 throws JahiaException; 151 152 } 153 | Popular Tags |