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.portal.verify.model;
016    
017    import com.liferay.portal.model.Layout;
018    
019    /**
020     * @author Miguel Pastor
021     */
022    public class LayoutVerifiableModel
023            implements VerifiableAuditedModel, VerifiableResourcedModel,
024                               VerifiableUUIDModel {
025    
026            @Override
027            public String getJoinByTableName() {
028                    return null;
029            }
030    
031            @Override
032            public String getModelName() {
033                    return Layout.class.getName();
034            }
035    
036            @Override
037            public String getPrimaryKeyColumnName() {
038                    return "plid";
039            }
040    
041            @Override
042            public String getRelatedModelName() {
043                    return null;
044            }
045    
046            @Override
047            public String getRelatedPKColumnName() {
048                    return null;
049            }
050    
051            @Override
052            public String getTableName() {
053                    return "Layout";
054            }
055    
056            @Override
057            public String getUserIdColumnName() {
058                    return "userId";
059            }
060    
061            @Override
062            public boolean isAnonymousUserAllowed() {
063                    return false;
064            }
065    
066            @Override
067            public boolean isUpdateDates() {
068                    return false;
069            }
070    
071    }