Commit cba4209ba9be06dec5b18823db666bf90acf286d

Authored by rogerio.costa
1 parent 2ad9d9ef
Exists in master

[3576] - Ajustar modelo e cadastros: Tipo de documento, tipo de processo, documento e processo.

cit-ecm-api/src/main/java/br/com/centralit/api/service/CredencialProcessoService.java
@@ -127,7 +127,7 @@ public interface CredencialProcessoService extends GenericService<CredencialProc @@ -127,7 +127,7 @@ public interface CredencialProcessoService extends GenericService<CredencialProc
127 * @author rogerio.costa 127 * @author rogerio.costa
128 * 128 *
129 */ 129 */
130 - Boolean isCredenciar(Long idProcesso); 130 + Boolean permiteCredenciar(Long idProcesso);
131 131
132 /** 132 /**
133 * <p> 133 * <p>
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/CredencialProcessoServiceImpl.java
@@ -621,7 +621,7 @@ public class CredencialProcessoServiceImpl extends GenericServiceImpl&lt;Credencial @@ -621,7 +621,7 @@ public class CredencialProcessoServiceImpl extends GenericServiceImpl&lt;Credencial
621 * 621 *
622 */ 622 */
623 @Override 623 @Override
624 - public Boolean isCredenciar(Long idProcesso) { 624 + public Boolean permiteCredenciar(Long idProcesso) {
625 625
626 Processo processo = this.processoService.getReference(idProcesso); 626 Processo processo = this.processoService.getReference(idProcesso);
627 627
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
@@ -943,11 +943,12 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl&lt;DocumentoGed, Lo @@ -943,11 +943,12 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl&lt;DocumentoGed, Lo
943 } else if (Dominio.TIPO_ANEXO_XML_CODIGO.equals(tipoAnexo.getCodigo())) { 943 } else if (Dominio.TIPO_ANEXO_XML_CODIGO.equals(tipoAnexo.getCodigo())) {
944 944
945 return DocumentoGedServiceImpl.ICON_CODE; 945 return DocumentoGedServiceImpl.ICON_CODE;
946 -  
947 - } else if (Dominio.TIPO_ANEXO_MP3_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_WMA_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_WAV_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_AAC_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_OGG_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_M4A_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_FLAC_CODIGO.equals(tipoAnexo.getCodigo())) {  
948 - return DocumentoGedServiceImpl.ICON_PLAY;  
949 } 946 }
950 947
  948 +// } else if (Dominio.TIPO_ANEXO_MP3_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_WMA_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_WAV_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_AAC_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_OGG_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_M4A_CODIGO.equals(tipoAnexo.getCodigo()) || Dominio.TIPO_ANEXO_FLAC_CODIGO.equals(tipoAnexo.getCodigo())) {
  949 +// return DocumentoGedServiceImpl.ICON_PLAY;
  950 +// }
  951 +
951 return DocumentoGedServiceImpl.ICON_FILE_SEM_FORMATO; 952 return DocumentoGedServiceImpl.ICON_FILE_SEM_FORMATO;
952 } 953 }
953 954
cit-ecm-web/src/main/webapp/html/gerenciarProcesso/gerenciarProcessoList.html
@@ -4,7 +4,7 @@ @@ -4,7 +4,7 @@
4 <div class="bar-buttons-action fixed"> 4 <div class="bar-buttons-action fixed">
5 <div class="row"> 5 <div class="row">
6 <div class="col-sm-12 text-left"> 6 <div class="col-sm-12 text-left">
7 - <div ng-include src="'/cit-ecm-web/html/gerenciarProcesso/includeCabecalhoGerenciarProcesso.html'" /> </div> 7 + <div ng-include src="'/cit-ecm-web/html/gerenciarProcesso/includeCabecalhoGerenciarProcesso.jsp'" /> </div>
8 8
9 </div> 9 </div>
10 </div> 10 </div>