/********************************************************************************** * $URL: $ * $Id: $ *********************************************************************************** * * Author: Eric Jeney, jeney@rutgers.edu * * Copyright (c) 2010 Rutgers, the State University of New Jersey * * Licensed under the Educational Community License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.opensource.org/licenses/ECL-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * **********************************************************************************/ package org.sakaiproject.lessonbuildertool; import java.util.Date; public interface SimplePage { public static String PERMISSION_LESSONBUILDER_UPDATE = "lessonbuilder.upd"; public static String PERMISSION_LESSONBUILDER_READ = "lessonbuilder.read"; public static String PERMISSION_LESSONBUILDER_SEE_ALL = "lessonbuilder.seeall"; public static String PERMISSION_LESSONBUILDER_PREFIX = "lessonbuilder."; /* WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. If you change this, make very sure you change the archive and restore code in LessonBuilderEntityProducer and the copy code here. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. WARNING. */ public long getPageId(); public void setPageId(long p); public String getToolId(); public void setToolId(String toolId); public String getSiteId(); public void setSiteId(String i); public String getTitle(); public void setTitle(String t); public Long getParent(); public void setParent(Long l); public Long getTopParent(); public void setTopParent(Long l); public boolean isHidden(); public void setHidden(boolean hidden); public Date getReleaseDate(); public void setReleaseDate(Date releaseDate); public Double getGradebookPoints(); public void setGradebookPoints(Double points); public String getOwner(); public void setOwner(String owner); public String getGroup(); public void setGroup(String group); // no longer used, but left in to ease transitions public boolean isGroupOwned(); public void setGroupOwned(Boolean g); public String getCssSheet(); public void setCssSheet(String cssSheet); }