Created
April 7, 2014 23:03
-
-
Save gastonprieto/10071510 to your computer and use it in GitHub Desktop.
type_test.java
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* chequea que el usuario tenga el permiso para modificar el tipo | |
* de movimiento indicado | |
*/ | |
private void authModificacionPorTM(final Movimiento aj) { | |
if (COBRANZA_APERTURA.esTipoDe(aj)) { | |
authz(MODIFICACION_APERTURA_COBRANZA); | |
} else if (COBRANZA_IMPUTACION.esTipoDe(aj)) { | |
authz(MODIFICACION_CAMBIO_IMPUT_COBRANZA); | |
} else if (COBRANZA_DIRECTO.esTipoDe(aj)) { | |
authz(MODIFICACION_AJUSTE_DIRECTO_COBRANZA); | |
} else if (DEPOSITO_APERTURA.esTipoDe(aj)) { | |
authz(MODIFICACION_APERTURA_DEPOSITO); | |
} else if (DEPOSITO_IMPUTACION.esTipoDe(aj)) { | |
authz(MODIFICACION_CAMBIO_IMPUT_DEPOSITO); | |
} else if (DEPOSITO_DIRECTO.esTipoDe(aj)) { | |
authz(MODIFICACION_AJUSTE_DIRECTO_DEPOSITO); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment