org.nuiton.web.security.SecurityRole Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of nuiton-security Show documentation
Show all versions of nuiton-security Show documentation
Security module based on ToPIA
package org.nuiton.web.security;
/*-
* #%L
* Nuiton Web :: Nuiton Security
* %%
* Copyright (C) 2010 - 2017 CodeLutin
* %%
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Lesser Public License for more details.
*
* You should have received a copy of the GNU General Lesser Public
* License along with this program. If not, see
* .
* #L%
*/
import java.util.Collection;
import javax.annotation.Generated;
import org.nuiton.topia.persistence.TopiaEntity;
@Generated(value = "org.nuiton.topia.templates.EntityTransformer", date = "Thu Sep 07 10:56:15 CEST 2017")
public interface SecurityRole extends TopiaEntity {
String PROPERTY_NAME = "name";
String PROPERTY_PERMISSIONS = "permissions";
void setName(String name);
String getName();
void addPermissions(String permissions);
void addAllPermissions(Iterable permissions);
void setPermissions(Collection permissions);
void removePermissions(String permissions);
void clearPermissions();
Collection getPermissions();
int sizePermissions();
boolean isPermissionsEmpty();
boolean isPermissionsNotEmpty();
boolean containsPermissions(String permissions);
} //SecurityRole
© 2015 - 2025 Weber Informatics LLC | Privacy Policy