fixes bug #7232
git-svn-id: http://desenvolvimento.rjconsultores.com.br/repositorio/sco/AdmVenta/Model/trunk/modelWeb@53929 d1611594-4594-4d17-8e1d-87c2c4800839master
parent
7077b65b6a
commit
188876cb13
|
@ -232,6 +232,24 @@ public class Usuario implements Serializable, Authentication, UserDetails {
|
||||||
this.empleado = empleado;
|
this.empleado = empleado;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void updateUsuarioUbicacionForClonedUser(){
|
||||||
|
for (UsuarioUbicacion ub : usuarioUbicacionList){
|
||||||
|
ub.setUsuarioubicacionId(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void updateUsuarioEmpresaForClonedUser(){
|
||||||
|
for (UsuarioEmpresa ue : usuarioEmpresaList){
|
||||||
|
ue.setUsuarioEmpresaId(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public void updateUsuarioPerfilForClonedUser(){
|
||||||
|
for (UsuarioPerfil ub : usuarioPerfilList){
|
||||||
|
ub.setUsuarioperfilId(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public int hashCode() {
|
public int hashCode() {
|
||||||
int hash = 0;
|
int hash = 0;
|
||||||
|
|
Loading…
Reference in New Issue