001/*
002 *  Copyright 2014 Anyware Services
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 */
016package org.ametys.plugins.workspaces.calendars.resources;
017
018import org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject;
019import org.ametys.plugins.repository.RemovableAmetysObject;
020
021/**
022 * Modifiable Calendar Interface
023 */
024public interface CalendarResource extends RemovableAmetysObject, ModifiableModelAwareDataAwareAmetysObject
025{
026    /**
027     * Get the id of the resource
028     * @return the id of the resource
029     */
030    public String getCalendarResourceId();
031    
032    /**
033     * set the id of the resource
034     * @param id The id of the resource
035     */
036    public void setCalendarResourceId(String id);
037
038    /**
039     * Get the title of the resource
040     * @return the title of the resource
041     */
042    public String getTitle();
043    
044    /**
045     * set the title of the resource
046     * @param title The title
047     */
048    public void setTitle(String title);
049
050    /**
051     * Get the special instructions of the resource
052     * @return the special instructions of the resource
053     */
054    public String getInstructions();
055    
056    /**
057     * set the special instructions of the resource
058     * @param instructions The special instructions
059     */
060    public void setInstructions(String instructions);
061
062    /**
063     * Get the icon of the resource
064     * @return the icon of the resource
065     */
066    public String getIcon();
067    
068    /**
069     * set the icon of the resource
070     * @param icon The icon to set
071     */
072    public void setIcon(String icon);
073        
074}