001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.dynamicdatamapping;
016    
017    import com.liferay.portal.model.StagedGroupedModel;
018    
019    import java.util.Date;
020    import java.util.Locale;
021    
022    /**
023     * @author Marcellus Tavares
024     */
025    public interface DDMTemplate extends StagedGroupedModel {
026    
027            public boolean getCacheable();
028    
029            public long getClassNameId();
030    
031            public long getClassPK();
032    
033            public String getDescription();
034    
035            public String getDescription(Locale locale);
036    
037            @Override
038            public long getGroupId();
039    
040            public String getLanguage();
041    
042            public String getMode();
043    
044            @Override
045            public Date getModifiedDate();
046    
047            public String getName();
048    
049            public String getName(Locale locale);
050    
051            public long getPrimaryKey();
052    
053            public long getResourceClassNameId();
054    
055            public String getScript();
056    
057            public boolean getSmallImage();
058    
059            public long getSmallImageId();
060    
061            public String getSmallImageURL();
062    
063            public long getTemplateId();
064    
065            public String getTemplateKey();
066    
067            public String getType();
068    
069            @Override
070            public long getUserId();
071    
072            @Override
073            public String getUserName();
074    
075            public String getVersion();
076    
077            public long getVersionUserId();
078    
079            public String getVersionUserName();
080    
081            public boolean isCacheable();
082    
083            public boolean isSmallImage();
084    
085    }