001/* 002 * (C) Copyright 2006-2007 Nuxeo SA (http://nuxeo.com/) and others. 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 * 016 * Contributors: 017 * Nuxeo - initial API and implementation 018 * 019 * $Id: JOOoConvertPluginImpl.java 18651 2007-05-13 20:28:53Z sfermigier $ 020 */ 021 022package org.nuxeo.ecm.platform.picture.api.adapters; 023 024import org.nuxeo.ecm.platform.picture.api.PictureView; 025 026public interface MultiviewPicture { 027 028 PictureView getView(String name); 029 030 void removeView(String name); 031 032 void addView(PictureView view); 033 034 PictureView[] getViews(); 035 036 void removeAllView(); 037 038 String getHeadline(); 039 040 void setHeadline(String headline); 041 042 String getSubheadline(); 043 044 void setSubheadline(String subheadline); 045 046 String getByline(); 047 048 void setByline(String byline); 049 050 String getDateline(); 051 052 void setDateline(String dateline); 053 054 String getSlugline(); 055 056 void setSlugline(String slugline); 057 058 String getCredit(); 059 060 void setCredit(String credit); 061 062 String getLanguage(); 063 064 void setLanguage(String language); 065 066 String getSource(); 067 068 void setSource(String source); 069 070 String getOrigin(); 071 072 void setOrigin(String origin); 073 074 String getGenre(); 075 076 void setGenre(String genre); 077 078 String getCaption(); 079 080 void setCaption(String caption); 081 082 String getTypage(); 083 084 void setTypage(String typage); 085 086}