org.nuiton.web.AbstractSecurityTopiaPersistenceContext 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;
/*-
* #%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 javax.annotation.Generated;
import org.nuiton.topia.persistence.internal.AbstractTopiaPersistenceContext;
import org.nuiton.topia.persistence.internal.AbstractTopiaPersistenceContextConstructorParameter;
import org.nuiton.web.security.SecurityRole;
import org.nuiton.web.security.SecurityRoleTopiaDao;
import org.nuiton.web.security.SecurityUser;
import org.nuiton.web.security.SecurityUserTopiaDao;
@Generated(value = "org.nuiton.topia.templates.PersistenceContextTransformer", date = "Thu Sep 07 10:56:15 CEST 2017")
public abstract class AbstractSecurityTopiaPersistenceContext extends AbstractTopiaPersistenceContext implements SecurityTopiaDaoSupplier {
protected AbstractSecurityTopiaPersistenceContext(AbstractTopiaPersistenceContextConstructorParameter parameter) {
super(parameter);
}
@Override
public SecurityRoleTopiaDao getSecurityRoleDao() {
SecurityRoleTopiaDao result = getDao(SecurityRole.class, SecurityRoleTopiaDao.class);
return result;
}
@Override
public SecurityUserTopiaDao getSecurityUserDao() {
SecurityUserTopiaDao result = getDao(SecurityUser.class, SecurityUserTopiaDao.class);
return result;
}
} //AbstractSecurityTopiaPersistenceContext
© 2015 - 2025 Weber Informatics LLC | Privacy Policy