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    /**
018     * @author Miguel Pastor
019     */
020    public class RoleVerifiableModel
021            implements VerifiableAuditedModel, VerifiableUUIDModel {
022    
023            @Override
024            public String getJoinByTableName() {
025                    return null;
026            }
027    
028            @Override
029            public String getPrimaryKeyColumnName() {
030                    return "roleId";
031            }
032    
033            @Override
034            public String getRelatedModelName() {
035                    return null;
036            }
037    
038            @Override
039            public String getRelatedPKColumnName() {
040                    return null;
041            }
042    
043            @Override
044            public String getTableName() {
045                    return "Role_";
046            }
047    
048            @Override
049            public boolean isAnonymousUserAllowed() {
050                    return false;
051            }
052    
053            @Override
054            public boolean isUpdateDates() {
055                    return true;
056            }
057    
058    }