Commit 95a5f55bf5b59f67f32e521c49b093c9fe291ddd
Exists in
master
Merge branch 'tarefa-3216' into desenvolvimento
Conflicts: cit-ecm-web/src/main/java/br/com/centralit/listener/StartupListenerEcm.java cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/ProcessoController.js
Showing
21 changed files
with
686 additions
and
73 deletions
Show diff stats
cit-ecm-api/src/main/java/br/com/centralit/api/dao/TipoSuporteDocumentoDao.java
0 → 100644
@@ -0,0 +1,28 @@ | @@ -0,0 +1,28 @@ | ||
1 | +package br.com.centralit.api.dao; | ||
2 | + | ||
3 | +import br.com.centralit.framework.dao.arquitetura.CitGenericDAO; | ||
4 | + | ||
5 | +/** | ||
6 | + * | ||
7 | + * <p><img src="http://centralit.com.br/images/logo_central.png"></p> | ||
8 | + * | ||
9 | + * <p><b>Company: </b> Central IT - Governança Corporativa - </p> | ||
10 | + * | ||
11 | + * <p><b>Title: </b></p> | ||
12 | + * | ||
13 | + * <p><b>Description: </b></p> | ||
14 | + * | ||
15 | + * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> | ||
16 | + * | ||
17 | + * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p> | ||
18 | + * | ||
19 | + * @since 04/04/2016 - 15:03:38 | ||
20 | + * | ||
21 | + * @version 1.0.0 | ||
22 | + * | ||
23 | + * @author andre.silva | ||
24 | + * | ||
25 | + */ | ||
26 | +public interface TipoSuporteDocumentoDao extends CitGenericDAO { | ||
27 | + | ||
28 | +} |
cit-ecm-api/src/main/java/br/com/centralit/api/dao/impl/TipoSuporteDocumentoDaoHibernate.java
0 → 100644
@@ -0,0 +1,41 @@ | @@ -0,0 +1,41 @@ | ||
1 | +package br.com.centralit.api.dao.impl; | ||
2 | + | ||
3 | +import org.springframework.stereotype.Repository; | ||
4 | + | ||
5 | +import br.com.centralit.api.dao.TipoSuporteDocumentoDao; | ||
6 | +import br.com.centralit.api.model.TipoSuporteDocumento; | ||
7 | +import br.com.centralit.framework.dao.arquitetura.CitGenericDAOImpl; | ||
8 | + | ||
9 | +/** | ||
10 | + * | ||
11 | + * <p><img src="http://centralit.com.br/images/logo_central.png"></p> | ||
12 | + * | ||
13 | + * <p><b>Company: </b> Central IT - Governança Corporativa - </p> | ||
14 | + * | ||
15 | + * <p><b>Title: </b></p> | ||
16 | + * | ||
17 | + * <p><b>Description: </b></p> | ||
18 | + * | ||
19 | + * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> | ||
20 | + * | ||
21 | + * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p> | ||
22 | + * | ||
23 | + * @since 04/04/2016 - 15:05:58 | ||
24 | + * | ||
25 | + * @version 1.0.0 | ||
26 | + * | ||
27 | + * @author andre.silva | ||
28 | + * | ||
29 | + */ | ||
30 | +@Repository("tipoSuporteDocumentoDao") | ||
31 | +public class TipoSuporteDocumentoDaoHibernate extends CitGenericDAOImpl implements TipoSuporteDocumentoDao { | ||
32 | + | ||
33 | + /** | ||
34 | + * Responsável pela criação de novas instâncias desta classe. | ||
35 | + */ | ||
36 | + public TipoSuporteDocumentoDaoHibernate() { | ||
37 | + | ||
38 | + super(TipoSuporteDocumento.class); | ||
39 | + } | ||
40 | + | ||
41 | +} |
cit-ecm-api/src/main/java/br/com/centralit/api/framework/json/ViewsEcm.java
@@ -102,5 +102,9 @@ public class ViewsEcm extends Views { | @@ -102,5 +102,9 @@ public class ViewsEcm extends Views { | ||
102 | 102 | ||
103 | public static class HistoricoAtribuicaoProcessoView extends Views.GenericView{}; | 103 | public static class HistoricoAtribuicaoProcessoView extends Views.GenericView{}; |
104 | 104 | ||
105 | + public static class TipoSuporteDocumentoListView extends Views.GenericView{}; | ||
106 | + | ||
107 | + public static class TipoSuporteDocumentoEdit extends TipoSuporteDocumentoListView{}; | ||
108 | + | ||
105 | 109 | ||
106 | } | 110 | } |
cit-ecm-api/src/main/java/br/com/centralit/api/model/DocumentoGed.java
@@ -130,6 +130,17 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -130,6 +130,17 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
130 | @JsonView({ ViewsEcm.DocumentoGedEdit.class }) | 130 | @JsonView({ ViewsEcm.DocumentoGedEdit.class }) |
131 | private Calendar dataReferencia; | 131 | private Calendar dataReferencia; |
132 | 132 | ||
133 | + /** Atributo prazoSigilo. */ | ||
134 | + @Temporal(TemporalType.TIMESTAMP) | ||
135 | + @JsonSerialize(using = JsonCalendarSimpleDateSerializer.class) | ||
136 | + @JsonDeserialize(using = JsonCalendarSimpleDateDeserializer.class) | ||
137 | + @JsonView({ ViewsEcm.DocumentoGedList.class }) | ||
138 | + private Calendar prazoSigilo; | ||
139 | + | ||
140 | + /** Atributo aprovado. */ | ||
141 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class }) | ||
142 | + private Boolean aprovado; | ||
143 | + | ||
133 | /** Atributo formaCriacao. */ | 144 | /** Atributo formaCriacao. */ |
134 | @ManyToOne(fetch = FetchType.LAZY) | 145 | @ManyToOne(fetch = FetchType.LAZY) |
135 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) | 146 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) |
@@ -164,25 +175,29 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -164,25 +175,29 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
164 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) | 175 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) |
165 | private TipoDocumento tipoDocumento; | 176 | private TipoDocumento tipoDocumento; |
166 | 177 | ||
167 | - | ||
168 | /** Atributo nivelAcesso. */ | 178 | /** Atributo nivelAcesso. */ |
169 | @ManyToOne(fetch = FetchType.EAGER) | 179 | @ManyToOne(fetch = FetchType.EAGER) |
170 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class}) | 180 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) |
171 | private NivelAcessoTipoDocumento nivelAcesso; | 181 | private NivelAcessoTipoDocumento nivelAcesso; |
172 | - | 182 | + |
173 | @ManyToOne(fetch = FetchType.EAGER) | 183 | @ManyToOne(fetch = FetchType.EAGER) |
174 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class , ViewsEcm.ClassificacaoDocumentoGedView.class}) | 184 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) |
175 | private NivelAcessoTipoDocumento nivelAcessoOriginal; | 185 | private NivelAcessoTipoDocumento nivelAcessoOriginal; |
176 | 186 | ||
177 | /** Atributo sigilo. */ | 187 | /** Atributo sigilo. */ |
178 | @ManyToOne(fetch = FetchType.LAZY) | 188 | @ManyToOne(fetch = FetchType.LAZY) |
179 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class , ViewsEcm.ClassificacaoDocumentoGedView.class}) | 189 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) |
180 | private Sigilo sigilo; | 190 | private Sigilo sigilo; |
181 | - | 191 | + |
182 | @ManyToOne(fetch = FetchType.LAZY) | 192 | @ManyToOne(fetch = FetchType.LAZY) |
183 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class , ViewsEcm.ClassificacaoDocumentoGedView.class}) | 193 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) |
184 | private Sigilo sigiloOriginal; | 194 | private Sigilo sigiloOriginal; |
185 | 195 | ||
196 | + /** Atributo tipoSuporteDocumento. */ | ||
197 | + @ManyToOne(fetch = FetchType.LAZY) | ||
198 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) | ||
199 | + private TipoSuporteDocumento tipoSuporteDocumento; | ||
200 | + | ||
186 | /** Atributo planoClassificacao. */ | 201 | /** Atributo planoClassificacao. */ |
187 | @ManyToOne(fetch = FetchType.LAZY) | 202 | @ManyToOne(fetch = FetchType.LAZY) |
188 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) | 203 | @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) |
@@ -198,14 +213,9 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -198,14 +213,9 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
198 | @JsonView({ Views.ProcessoEdit.class, ViewsEcm.DocumentoGedEdit.class }) | 213 | @JsonView({ Views.ProcessoEdit.class, ViewsEcm.DocumentoGedEdit.class }) |
199 | private HipoteseLegal hipoteseLegal; | 214 | private HipoteseLegal hipoteseLegal; |
200 | 215 | ||
201 | - /** Atributo Interessados. */ | ||
202 | - @OneToMany(fetch = FetchType.LAZY, mappedBy = "documentoGed", cascade = CascadeType.ALL, orphanRemoval = true) | ||
203 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) | ||
204 | - private Collection<InteressadoDocumento> interessados; | ||
205 | - | ||
206 | /** Atributo anexo. */ | 216 | /** Atributo anexo. */ |
207 | @OneToOne(mappedBy = "documentoGed", fetch = FetchType.EAGER) | 217 | @OneToOne(mappedBy = "documentoGed", fetch = FetchType.EAGER) |
208 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class ,ViewsEcm.ClassificacaoDocumentoGedView.class}) | 218 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class, ViewsEcm.ClassificacaoDocumentoGedView.class }) |
209 | private AnexoGed anexo; | 219 | private AnexoGed anexo; |
210 | 220 | ||
211 | /** Atributo versaoAnterior. */ | 221 | /** Atributo versaoAnterior. */ |
@@ -219,19 +229,11 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -219,19 +229,11 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
219 | @OneToOne(mappedBy = "documentoGed", fetch = FetchType.EAGER) | 229 | @OneToOne(mappedBy = "documentoGed", fetch = FetchType.EAGER) |
220 | @JsonView({ Views.ProcessoEdit.class }) | 230 | @JsonView({ Views.ProcessoEdit.class }) |
221 | private CancelamentoDocumentoGed cancelamentoDocumentoGed; | 231 | private CancelamentoDocumentoGed cancelamentoDocumentoGed; |
222 | - | ||
223 | - /** Atributo prazoSigilo. */ | ||
224 | - @Temporal(TemporalType.TIMESTAMP) | ||
225 | - @JsonSerialize(using = JsonCalendarSimpleDateSerializer.class) | ||
226 | - @JsonDeserialize(using = JsonCalendarSimpleDateDeserializer.class) | ||
227 | - @JsonView({ ViewsEcm.DocumentoGedList.class }) | ||
228 | - private Calendar prazoSigilo; | ||
229 | - | ||
230 | - /** Atributo aprovado. */ | ||
231 | - @JsonView({ ViewsEcm.DocumentoGedEdit.class }) | ||
232 | - private Boolean aprovado; | ||
233 | - | ||
234 | - | 232 | + |
233 | + /** Atributo Interessados. */ | ||
234 | + @OneToMany(fetch = FetchType.LAZY, mappedBy = "documentoGed", cascade = CascadeType.ALL, orphanRemoval = true) | ||
235 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, Views.ProcessoEdit.class }) | ||
236 | + private Collection<InteressadoDocumento> interessados; | ||
235 | 237 | ||
236 | /** | 238 | /** |
237 | * @return the novaVersao | 239 | * @return the novaVersao |
@@ -424,7 +426,6 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -424,7 +426,6 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
424 | this.tipoDocumento = tipoDocumento; | 426 | this.tipoDocumento = tipoDocumento; |
425 | } | 427 | } |
426 | 428 | ||
427 | - | ||
428 | /** | 429 | /** |
429 | * Retorna o valor do atributo <code>nivelAcesso</code> | 430 | * Retorna o valor do atributo <code>nivelAcesso</code> |
430 | * | 431 | * |
@@ -872,92 +873,104 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | @@ -872,92 +873,104 @@ public class DocumentoGed extends PersistentObjectUnidade implements Cloneable { | ||
872 | 873 | ||
873 | } | 874 | } |
874 | 875 | ||
875 | - | ||
876 | /** | 876 | /** |
877 | * Retorna o valor do atributo <code>prazoSigilo</code> | 877 | * Retorna o valor do atributo <code>prazoSigilo</code> |
878 | - * | 878 | + * |
879 | * @return <code>Calendar</code> | 879 | * @return <code>Calendar</code> |
880 | */ | 880 | */ |
881 | public Calendar getPrazoSigilo() { | 881 | public Calendar getPrazoSigilo() { |
882 | - | 882 | + |
883 | return prazoSigilo; | 883 | return prazoSigilo; |
884 | } | 884 | } |
885 | 885 | ||
886 | - | ||
887 | /** | 886 | /** |
888 | * Define o valor do atributo <code>prazoSigilo</code>. | 887 | * Define o valor do atributo <code>prazoSigilo</code>. |
889 | - * | ||
890 | - * @param prazoSigilo | 888 | + * |
889 | + * @param prazoSigilo | ||
891 | */ | 890 | */ |
892 | public void setPrazoSigilo(Calendar prazoSigilo) { | 891 | public void setPrazoSigilo(Calendar prazoSigilo) { |
893 | - | 892 | + |
894 | this.prazoSigilo = prazoSigilo; | 893 | this.prazoSigilo = prazoSigilo; |
895 | } | 894 | } |
896 | 895 | ||
897 | - | ||
898 | /** | 896 | /** |
899 | * Retorna o valor do atributo <code>aprovado</code> | 897 | * Retorna o valor do atributo <code>aprovado</code> |
900 | - * | 898 | + * |
901 | * @return <code>Boolean</code> | 899 | * @return <code>Boolean</code> |
902 | */ | 900 | */ |
903 | public Boolean getAprovado() { | 901 | public Boolean getAprovado() { |
904 | - | 902 | + |
905 | return aprovado; | 903 | return aprovado; |
906 | } | 904 | } |
907 | 905 | ||
908 | - | ||
909 | /** | 906 | /** |
910 | * Define o valor do atributo <code>aprovado</code>. | 907 | * Define o valor do atributo <code>aprovado</code>. |
911 | - * | ||
912 | - * @param aprovado | 908 | + * |
909 | + * @param aprovado | ||
913 | */ | 910 | */ |
914 | public void setAprovado(Boolean aprovado) { | 911 | public void setAprovado(Boolean aprovado) { |
915 | - | 912 | + |
916 | this.aprovado = aprovado; | 913 | this.aprovado = aprovado; |
917 | } | 914 | } |
918 | 915 | ||
919 | - | ||
920 | /** | 916 | /** |
921 | * Retorna o valor do atributo <code>nivelAcessoOriginal</code> | 917 | * Retorna o valor do atributo <code>nivelAcessoOriginal</code> |
922 | - * | 918 | + * |
923 | * @return <code>NivelAcessoTipoDocumento</code> | 919 | * @return <code>NivelAcessoTipoDocumento</code> |
924 | */ | 920 | */ |
925 | public NivelAcessoTipoDocumento getNivelAcessoOriginal() { | 921 | public NivelAcessoTipoDocumento getNivelAcessoOriginal() { |
926 | - | 922 | + |
927 | return nivelAcessoOriginal; | 923 | return nivelAcessoOriginal; |
928 | } | 924 | } |
929 | 925 | ||
930 | - | ||
931 | /** | 926 | /** |
932 | * Define o valor do atributo <code>nivelAcessoOriginal</code>. | 927 | * Define o valor do atributo <code>nivelAcessoOriginal</code>. |
933 | - * | ||
934 | - * @param nivelAcessoOriginal | 928 | + * |
929 | + * @param nivelAcessoOriginal | ||
935 | */ | 930 | */ |
936 | public void setNivelAcessoOriginal(NivelAcessoTipoDocumento nivelAcessoOriginal) { | 931 | public void setNivelAcessoOriginal(NivelAcessoTipoDocumento nivelAcessoOriginal) { |
937 | - | 932 | + |
938 | this.nivelAcessoOriginal = nivelAcessoOriginal; | 933 | this.nivelAcessoOriginal = nivelAcessoOriginal; |
939 | } | 934 | } |
940 | 935 | ||
941 | - | ||
942 | /** | 936 | /** |
943 | * Retorna o valor do atributo <code>sigiloOriginal</code> | 937 | * Retorna o valor do atributo <code>sigiloOriginal</code> |
944 | - * | 938 | + * |
945 | * @return <code>Sigilo</code> | 939 | * @return <code>Sigilo</code> |
946 | */ | 940 | */ |
947 | public Sigilo getSigiloOriginal() { | 941 | public Sigilo getSigiloOriginal() { |
948 | - | 942 | + |
949 | return sigiloOriginal; | 943 | return sigiloOriginal; |
950 | } | 944 | } |
951 | 945 | ||
952 | - | ||
953 | /** | 946 | /** |
954 | * Define o valor do atributo <code>sigiloOriginal</code>. | 947 | * Define o valor do atributo <code>sigiloOriginal</code>. |
955 | - * | ||
956 | - * @param sigiloOriginal | 948 | + * |
949 | + * @param sigiloOriginal | ||
957 | */ | 950 | */ |
958 | public void setSigiloOriginal(Sigilo sigiloOriginal) { | 951 | public void setSigiloOriginal(Sigilo sigiloOriginal) { |
959 | - | 952 | + |
960 | this.sigiloOriginal = sigiloOriginal; | 953 | this.sigiloOriginal = sigiloOriginal; |
961 | } | 954 | } |
962 | 955 | ||
956 | + /** | ||
957 | + * Retorna o valor do atributo <code>tipoSuporteDocumento</code> | ||
958 | + * | ||
959 | + * @return <code>TipoSuporteDocumento</code> | ||
960 | + */ | ||
961 | + public TipoSuporteDocumento getTipoSuporteDocumento() { | ||
962 | + | ||
963 | + return tipoSuporteDocumento; | ||
964 | + } | ||
965 | + | ||
966 | + /** | ||
967 | + * Define o valor do atributo <code>tipoSuporteDocumento</code>. | ||
968 | + * | ||
969 | + * @param tipoSuporteDocumento | ||
970 | + */ | ||
971 | + public void setTipoSuporteDocumento(TipoSuporteDocumento tipoSuporteDocumento) { | ||
972 | + | ||
973 | + this.tipoSuporteDocumento = tipoSuporteDocumento; | ||
974 | + } | ||
975 | + | ||
963 | } | 976 | } |
cit-ecm-api/src/main/java/br/com/centralit/api/model/TipoSuporteDocumento.java
0 → 100644
@@ -0,0 +1,101 @@ | @@ -0,0 +1,101 @@ | ||
1 | +package br.com.centralit.api.model; | ||
2 | + | ||
3 | +import javax.persistence.Entity; | ||
4 | +import javax.persistence.GeneratedValue; | ||
5 | +import javax.persistence.GenerationType; | ||
6 | +import javax.persistence.Id; | ||
7 | + | ||
8 | +import br.com.centralit.api.framework.json.ViewsEcm; | ||
9 | +import br.com.centralit.framework.json.Views; | ||
10 | + | ||
11 | +import com.fasterxml.jackson.annotation.JsonView; | ||
12 | + | ||
13 | +/** | ||
14 | + * | ||
15 | + * <p> | ||
16 | + * <img src="http://centralit.com.br/images/logo_central.png"> | ||
17 | + * </p> | ||
18 | + * | ||
19 | + * <p> | ||
20 | + * <b>Company: </b> Central IT - Governança Corporativa - | ||
21 | + * </p> | ||
22 | + * | ||
23 | + * <p> | ||
24 | + * <b>Title: </b> | ||
25 | + * </p> | ||
26 | + * | ||
27 | + * <p> | ||
28 | + * <b>Description: </b> | ||
29 | + * </p> | ||
30 | + * | ||
31 | + * <p> | ||
32 | + * <b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a> | ||
33 | + * </p> | ||
34 | + * | ||
35 | + * <p> | ||
36 | + * <b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a> | ||
37 | + * </p> | ||
38 | + * | ||
39 | + * @since 04/04/2016 - 14:47:10 | ||
40 | + * | ||
41 | + * @version 1.0.0 | ||
42 | + * | ||
43 | + * @author andre.silva | ||
44 | + * | ||
45 | + */ | ||
46 | +@Entity | ||
47 | +public class TipoSuporteDocumento extends PersistentObjectUnidade { | ||
48 | + | ||
49 | + /** Atributo serialVersionUID. */ | ||
50 | + private static final long serialVersionUID = 4824264305224974743L; | ||
51 | + | ||
52 | + @Id | ||
53 | + @GeneratedValue(strategy = GenerationType.AUTO) | ||
54 | + @JsonView({ Views.GenericView.class }) | ||
55 | + private Long id; | ||
56 | + | ||
57 | + /** Atributo nome. */ | ||
58 | + @JsonView({ ViewsEcm.DocumentoGedEdit.class, ViewsEcm.TipoSuporteDocumentoEdit.class }) | ||
59 | + private String nome; | ||
60 | + | ||
61 | + /** | ||
62 | + * Retorna o valor do atributo <code>id</code> | ||
63 | + * | ||
64 | + * @return <code>Long</code> | ||
65 | + */ | ||
66 | + public Long getId() { | ||
67 | + | ||
68 | + return id; | ||
69 | + } | ||
70 | + | ||
71 | + /** | ||
72 | + * Define o valor do atributo <code>id</code>. | ||
73 | + * | ||
74 | + * @param id | ||
75 | + */ | ||
76 | + public void setId(Long id) { | ||
77 | + | ||
78 | + this.id = id; | ||
79 | + } | ||
80 | + | ||
81 | + /** | ||
82 | + * Retorna o valor do atributo <code>nome</code> | ||
83 | + * | ||
84 | + * @return <code>String</code> | ||
85 | + */ | ||
86 | + public String getNome() { | ||
87 | + | ||
88 | + return nome; | ||
89 | + } | ||
90 | + | ||
91 | + /** | ||
92 | + * Define o valor do atributo <code>nome</code>. | ||
93 | + * | ||
94 | + * @param nome | ||
95 | + */ | ||
96 | + public void setNome(String nome) { | ||
97 | + | ||
98 | + this.nome = nome; | ||
99 | + } | ||
100 | + | ||
101 | +} |
cit-ecm-api/src/main/java/br/com/centralit/api/service/TipoSuporteDocumentoService.java
0 → 100644
@@ -0,0 +1,29 @@ | @@ -0,0 +1,29 @@ | ||
1 | +package br.com.centralit.api.service; | ||
2 | + | ||
3 | +import br.com.centralit.api.model.TipoSuporteDocumento; | ||
4 | +import br.com.centralit.framework.service.arquitetura.GenericService; | ||
5 | + | ||
6 | +/** | ||
7 | + * | ||
8 | + * <p><img src="http://centralit.com.br/images/logo_central.png"></p> | ||
9 | + * | ||
10 | + * <p><b>Company: </b> Central IT - Governança Corporativa - </p> | ||
11 | + * | ||
12 | + * <p><b>Title: </b></p> | ||
13 | + * | ||
14 | + * <p><b>Description: </b></p> | ||
15 | + * | ||
16 | + * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> | ||
17 | + * | ||
18 | + * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p> | ||
19 | + * | ||
20 | + * @since 04/04/2016 - 14:52:40 | ||
21 | + * | ||
22 | + * @version 1.0.0 | ||
23 | + * | ||
24 | + * @author andre.silva | ||
25 | + * | ||
26 | + */ | ||
27 | +public interface TipoSuporteDocumentoService extends GenericService<TipoSuporteDocumento, Long> { | ||
28 | + | ||
29 | +} |
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/AnexoGedServiceImpl.java
@@ -107,7 +107,7 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl | @@ -107,7 +107,7 @@ public class AnexoGedServiceImpl extends GenericServiceImpl<AnexoGed, Long> impl | ||
107 | 107 | ||
108 | documentoGed.setConteudo(this.gedFileService.doOcr(anexo)); | 108 | documentoGed.setConteudo(this.gedFileService.doOcr(anexo)); |
109 | 109 | ||
110 | - this.solrService.addDocumento(documentoGed); | 110 | +// this.solrService.addDocumento(documentoGed); |
111 | 111 | ||
112 | anexo.setDocumentoGed(documentoGed); | 112 | anexo.setDocumentoGed(documentoGed); |
113 | 113 |
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/DocumentoGedServiceImpl.java
@@ -176,7 +176,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo | @@ -176,7 +176,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo | ||
176 | entity.setConteudo(this.decrypted(entity.getConteudoCriptografado())); | 176 | entity.setConteudo(this.decrypted(entity.getConteudoCriptografado())); |
177 | } | 177 | } |
178 | 178 | ||
179 | - this.saveSolr(entity); | 179 | + // this.saveSolr(entity); |
180 | 180 | ||
181 | this.verificaTemporalidadeProcesso(entity); | 181 | this.verificaTemporalidadeProcesso(entity); |
182 | 182 | ||
@@ -594,7 +594,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo | @@ -594,7 +594,7 @@ public class DocumentoGedServiceImpl extends GenericServiceImpl<DocumentoGed, Lo | ||
594 | 594 | ||
595 | entity.setConteudo(this.decrypted(entity.getConteudoCriptografado())); | 595 | entity.setConteudo(this.decrypted(entity.getConteudoCriptografado())); |
596 | 596 | ||
597 | - this.saveSolr(entity); | 597 | + // this.saveSolr(entity); |
598 | 598 | ||
599 | try { | 599 | try { |
600 | if (anexo != null) { | 600 | if (anexo != null) { |
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/InicializarEcmServiceImpl.java
@@ -215,7 +215,6 @@ public class InicializarEcmServiceImpl extends UtilStartup { | @@ -215,7 +215,6 @@ public class InicializarEcmServiceImpl extends UtilStartup { | ||
215 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/controller/AtribuirProcessoController.min.js", this.dominioJS, menuCadastroProcesso)); | 215 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/controller/AtribuirProcessoController.min.js", this.dominioJS, menuCadastroProcesso)); |
216 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/repository/HistoricoAtribuicaoProcessoRepository.js", this.dominioJS, menuCadastroProcesso)); | 216 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/repository/HistoricoAtribuicaoProcessoRepository.js", this.dominioJS, menuCadastroProcesso)); |
217 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/repository/HistoricoAtribuicaoProcessoRepository.min.js", this.dominioJS, menuCadastroProcesso)); | 217 | filesProcesso.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/repository/HistoricoAtribuicaoProcessoRepository.min.js", this.dominioJS, menuCadastroProcesso)); |
218 | - | ||
219 | 218 | ||
220 | menuCadastroProcesso.setIncludes(filesProcesso); | 219 | menuCadastroProcesso.setIncludes(filesProcesso); |
221 | this.menuService.mergeIfNotExist(menuCadastroProcesso); | 220 | this.menuService.mergeIfNotExist(menuCadastroProcesso); |
@@ -249,14 +248,14 @@ public class InicializarEcmServiceImpl extends UtilStartup { | @@ -249,14 +248,14 @@ public class InicializarEcmServiceImpl extends UtilStartup { | ||
249 | Menu menuProcessoDocumentoSigiloso = new Menu("Processos e Documentos Sigilosos", pgProcessoDocumentoSigiloso, menuProcesso, 2, 5, null, null, null, null, modulo, "CLASSIFICAR_PROCESSO_DOCUMENTO"); | 248 | Menu menuProcessoDocumentoSigiloso = new Menu("Processos e Documentos Sigilosos", pgProcessoDocumentoSigiloso, menuProcesso, 2, 5, null, null, null, null, modulo, "CLASSIFICAR_PROCESSO_DOCUMENTO"); |
250 | menuProcessoDocumentoSigiloso.setIncludes(this.gerarArquivosMenu(menuProcessoDocumentoSigiloso, this.CIT_ECM_WEB_ANGULAR, "ClassificarDocumentoProcesso", true, true, true)); | 249 | menuProcessoDocumentoSigiloso.setIncludes(this.gerarArquivosMenu(menuProcessoDocumentoSigiloso, this.CIT_ECM_WEB_ANGULAR, "ClassificarDocumentoProcesso", true, true, true)); |
251 | this.menuService.mergeIfNotExist(menuProcessoDocumentoSigiloso); | 250 | this.menuService.mergeIfNotExist(menuProcessoDocumentoSigiloso); |
252 | - | 251 | + |
253 | Pagina pgGerenciarProcessoListUnidade = new Pagina("Processos Abertos na Unidade", "/cit-ecm-web/html/gerenciarProcesso/gerenciarProcessoListUnidade.html"); | 252 | Pagina pgGerenciarProcessoListUnidade = new Pagina("Processos Abertos na Unidade", "/cit-ecm-web/html/gerenciarProcesso/gerenciarProcessoListUnidade.html"); |
254 | pgGerenciarProcessoListUnidade = this.paginaService.saveIfNotExist(pgGerenciarProcessoListUnidade); | 253 | pgGerenciarProcessoListUnidade = this.paginaService.saveIfNotExist(pgGerenciarProcessoListUnidade); |
255 | - | 254 | + |
256 | Menu menuGerenciarProcessoListUnidade = new Menu("Processos Abertos na Unidade", pgGerenciarProcessoListUnidade, menuProcesso, 2, 6, null, null, null, null, modulo, "PROCESSO_ABERTO_UNIDADE"); | 255 | Menu menuGerenciarProcessoListUnidade = new Menu("Processos Abertos na Unidade", pgGerenciarProcessoListUnidade, menuProcesso, 2, 6, null, null, null, null, modulo, "PROCESSO_ABERTO_UNIDADE"); |
257 | List<MenuFile> filesGerenciarProcessoListUnidade = new ArrayList<MenuFile>(); | 256 | List<MenuFile> filesGerenciarProcessoListUnidade = new ArrayList<MenuFile>(); |
258 | 257 | ||
259 | - filesGerenciarProcessoListUnidade.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/controller/GerenciarProcessoListUnidadeController.js", this.dominioJS, menuGerenciarProcessoListUnidade)); | 258 | + filesGerenciarProcessoListUnidade.add(new MenuFile("/cit-ecm-web/assets/js/angular/custom/controller/GerenciarProcessoListUnidadeController.js", this.dominioJS, menuGerenciarProcessoListUnidade)); |
260 | menuGerenciarProcessoListUnidade.setIncludes(filesGerenciarProcessoListUnidade); | 259 | menuGerenciarProcessoListUnidade.setIncludes(filesGerenciarProcessoListUnidade); |
261 | this.menuService.mergeIfNotExist(menuGerenciarProcessoListUnidade); | 260 | this.menuService.mergeIfNotExist(menuGerenciarProcessoListUnidade); |
262 | 261 | ||
@@ -332,6 +331,14 @@ public class InicializarEcmServiceImpl extends UtilStartup { | @@ -332,6 +331,14 @@ public class InicializarEcmServiceImpl extends UtilStartup { | ||
332 | menuCabecalho.setIncludes(this.gerarArquivosMenu(menuCabecalho, this.CIT_ECM_WEB_ANGULAR, "Cabecalho", true, true, true)); | 331 | menuCabecalho.setIncludes(this.gerarArquivosMenu(menuCabecalho, this.CIT_ECM_WEB_ANGULAR, "Cabecalho", true, true, true)); |
333 | this.menuService.mergeIfNotExist(menuCabecalho); | 332 | this.menuService.mergeIfNotExist(menuCabecalho); |
334 | 333 | ||
334 | + // Submenu tipoSuporteDocumento | ||
335 | + Pagina pgTipoSuporteDocumento = new Pagina("Tipo suporte de documento", "/cit-ecm-web/html/tipoSuporteDocumento/tipoSuporteDocumento.html"); | ||
336 | + pgTipoSuporteDocumento = this.paginaService.saveIfNotExist(pgTipoSuporteDocumento); | ||
337 | + | ||
338 | + Menu menuSuporteDocumento = new Menu("Tipo suporte de documento", pgTipoSuporteDocumento, menuCadastroBasico, 0, 8, null, null, null, null, modulo); | ||
339 | + menuSuporteDocumento.setIncludes(this.gerarArquivosMenu(menuSuporteDocumento, this.CIT_ECM_WEB_ANGULAR, "TipoSuporteDocumento", true, true, true)); | ||
340 | + this.menuService.mergeIfNotExist(menuSuporteDocumento); | ||
341 | + | ||
335 | } | 342 | } |
336 | 343 | ||
337 | } | 344 | } |
cit-ecm-api/src/main/java/br/com/centralit/api/service/impl/TipoSuporteDocumentoServiceImpl.java
0 → 100644
@@ -0,0 +1,51 @@ | @@ -0,0 +1,51 @@ | ||
1 | +package br.com.centralit.api.service.impl; | ||
2 | + | ||
3 | +import org.springframework.beans.factory.annotation.Autowired; | ||
4 | +import org.springframework.stereotype.Service; | ||
5 | + | ||
6 | +import br.com.centralit.api.dao.TipoSuporteDocumentoDao; | ||
7 | +import br.com.centralit.api.model.TipoSuporteDocumento; | ||
8 | +import br.com.centralit.api.service.TipoSuporteDocumentoService; | ||
9 | +import br.com.centralit.framework.service.arquitetura.GenericServiceImpl; | ||
10 | + | ||
11 | +/** | ||
12 | + * | ||
13 | + * <p><img src="http://centralit.com.br/images/logo_central.png"></p> | ||
14 | + * | ||
15 | + * <p><b>Company: </b> Central IT - Governança Corporativa - </p> | ||
16 | + * | ||
17 | + * <p><b>Title: </b></p> | ||
18 | + * | ||
19 | + * <p><b>Description: </b></p> | ||
20 | + * | ||
21 | + * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> | ||
22 | + * | ||
23 | + * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p> | ||
24 | + * | ||
25 | + * @since 04/04/2016 - 15:02:14 | ||
26 | + * | ||
27 | + * @version 1.0.0 | ||
28 | + * | ||
29 | + * @author andre.silva | ||
30 | + * | ||
31 | + */ | ||
32 | +@Service("tipoSuporteDocumentoService") | ||
33 | +public class TipoSuporteDocumentoServiceImpl extends GenericServiceImpl<TipoSuporteDocumento, Long> implements TipoSuporteDocumentoService { | ||
34 | + | ||
35 | + /** Atributo tipoSuporteDocumentoDao. */ | ||
36 | + @SuppressWarnings("unused") | ||
37 | + private TipoSuporteDocumentoDao tipoSuporteDocumentoDao; | ||
38 | + | ||
39 | + /** | ||
40 | + * | ||
41 | + * Responsável pela criação de novas instâncias desta classe. | ||
42 | + * @param tipoSuporteDocumentoDao | ||
43 | + */ | ||
44 | + @Autowired | ||
45 | + public TipoSuporteDocumentoServiceImpl( TipoSuporteDocumentoDao tipoSuporteDocumentoDao ) { | ||
46 | + | ||
47 | + this.dao = tipoSuporteDocumentoDao; | ||
48 | + | ||
49 | + this.tipoSuporteDocumentoDao = tipoSuporteDocumentoDao; | ||
50 | + } | ||
51 | +} |
cit-ecm-web/src/main/java/br/com/centralit/controller/TipoSuporteDocumentoController.java
0 → 100644
@@ -0,0 +1,68 @@ | @@ -0,0 +1,68 @@ | ||
1 | +package br.com.centralit.controller; | ||
2 | + | ||
3 | +import org.springframework.beans.factory.annotation.Autowired; | ||
4 | +import org.springframework.stereotype.Controller; | ||
5 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
6 | + | ||
7 | +import br.com.centralit.api.framework.json.ViewsEcm; | ||
8 | +import br.com.centralit.api.model.TipoSuporteDocumento; | ||
9 | +import br.com.centralit.api.service.TipoSuporteDocumentoService; | ||
10 | +import br.com.centralit.framework.controller.GenericController; | ||
11 | + | ||
12 | +/** | ||
13 | + * | ||
14 | + * <p><img src="http://centralit.com.br/images/logo_central.png"></p> | ||
15 | + * | ||
16 | + * <p><b>Company: </b> Central IT - Governança Corporativa - </p> | ||
17 | + * | ||
18 | + * <p><b>Title: </b></p> | ||
19 | + * | ||
20 | + * <p><b>Description: </b></p> | ||
21 | + * | ||
22 | + * <p><b>Iniciativa(s):</b> <a href="LINK_PORTAL">NUMERO_INICIATIVA</a></p> | ||
23 | + * | ||
24 | + * <p><b>Regra(s) de negócio:</b> <a href="LINK_PORTAL">NUMERO_REGRA_DE_NEGOCIO</a></p> | ||
25 | + * | ||
26 | + * @since 04/04/2016 - 15:07:17 | ||
27 | + * | ||
28 | + * @version 1.0.0 | ||
29 | + * | ||
30 | + * @author andre.silva | ||
31 | + * | ||
32 | + */ | ||
33 | +@Controller | ||
34 | +@RequestMapping("/rest/tipoSuporteDocumento") | ||
35 | +public class TipoSuporteDocumentoController extends GenericController<TipoSuporteDocumento> { | ||
36 | + | ||
37 | + | ||
38 | + @SuppressWarnings("unused") | ||
39 | + private TipoSuporteDocumentoService tipoSuporteDocumentoService; | ||
40 | + | ||
41 | + /** | ||
42 | + * Responsável pela criação de novas instâncias desta classe. | ||
43 | + * | ||
44 | + * @param privilegioService | ||
45 | + */ | ||
46 | + @Autowired | ||
47 | + public TipoSuporteDocumentoController( TipoSuporteDocumentoService tipoSuporteDocumentoService ) { | ||
48 | + | ||
49 | + super(tipoSuporteDocumentoService); | ||
50 | + | ||
51 | + this.tipoSuporteDocumentoService = tipoSuporteDocumentoService; | ||
52 | + | ||
53 | + } | ||
54 | + | ||
55 | + | ||
56 | + @Override | ||
57 | + public Class<ViewsEcm.TipoSuporteDocumentoListView> getListView() { | ||
58 | + | ||
59 | + return ViewsEcm.TipoSuporteDocumentoListView.class; | ||
60 | + } | ||
61 | + | ||
62 | + @Override | ||
63 | + public Class<ViewsEcm.TipoSuporteDocumentoEdit> getEditView() { | ||
64 | + | ||
65 | + return ViewsEcm.TipoSuporteDocumentoEdit.class; | ||
66 | + } | ||
67 | + | ||
68 | +} |
cit-ecm-web/src/main/java/br/com/centralit/listener/StartupListenerEcm.java
@@ -393,6 +393,12 @@ public class StartupListenerEcm extends UtilStartup implements ApplicationListen | @@ -393,6 +393,12 @@ public class StartupListenerEcm extends UtilStartup implements ApplicationListen | ||
393 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.DATA_REMOCAO", "Data remoção", dominio, modulo)); | 393 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.DATA_REMOCAO", "Data remoção", dominio, modulo)); |
394 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.FORMA_NUMERACAO", "Forma de numeração", dominio, modulo)); | 394 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.FORMA_NUMERACAO", "Forma de numeração", dominio, modulo)); |
395 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.ADICIONAR_PARAMETRO_NUMERO", "Adicionar parâmetro número", dominio, modulo)); | 395 | internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.ADICIONAR_PARAMETRO_NUMERO", "Adicionar parâmetro número", dominio, modulo)); |
396 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.DADOS_SUPORTE_DOCUMENTO", "Dados do suporte de documento", dominio, modulo)); | ||
397 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.TIPO_SUPORTE", "Tipo de suporte", dominio, modulo)); | ||
398 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.OUTROS", "Outros", dominio, modulo)); | ||
399 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.NOME_NOVO_SUPORTE ", "Nome do suporte", dominio, modulo)); | ||
400 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.NOVO_TIPO_SUPORTE ", "Novo tipo suporte de documento", dominio, modulo)); | ||
401 | + internacionalizacaoList.add(new Internacionalizacao("ECM.LABEL.TIPO_SUPORTE_DOCUMENTO ", "Tipo suporte de documento", dominio, modulo)); | ||
396 | 402 | ||
397 | 403 | ||
398 | } | 404 | } |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/DocumentoGedController.js
1 | 'use strict'; | 1 | 'use strict'; |
2 | 2 | ||
3 | citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', '$translate', '$timeout', 'TipoDocumentoRepository', 'PlanoClassificacaoRepository', 'HipoteseLegalRepository', 'PessoaRepository', 'NivelAcessoTipoDocumentoRepository', 'TipoDocumentoPlanoClassificacaoRepository', '$filter', 'FileUploader', 'AnexoGedRepository', 'HistoricoAlteracaoProcessoRepository', 'DominioRepository', | 3 | citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', '$translate', '$timeout', 'TipoDocumentoRepository', 'PlanoClassificacaoRepository', 'HipoteseLegalRepository', 'PessoaRepository', 'NivelAcessoTipoDocumentoRepository', 'TipoDocumentoPlanoClassificacaoRepository', '$filter', 'FileUploader', 'AnexoGedRepository', 'HistoricoAlteracaoProcessoRepository', 'DominioRepository', |
4 | - 'TemplatePadraoRepository', 'CabecalhoRepository', 'RodapeRepository', 'InteressadoDocumentoRepository', function DocumentoGedController($scope, DocumentoGedRepository, $translate, $timeout, TipoDocumentoRepository, PlanoClassificacaoRepository, HipoteseLegalRepository, PessoaRepository, NivelAcessoTipoDocumentoRepository, TipoDocumentoPlanoClassificacaoRepository, $filter, FileUploader, AnexoGedRepository, HistoricoAlteracaoProcessoRepository, DominioRepository, TemplatePadraoRepository, CabecalhoRepository, RodapeRepository, InteressadoDocumentoRepository) { | 4 | + 'TemplatePadraoRepository', 'CabecalhoRepository', 'RodapeRepository', 'InteressadoDocumentoRepository', 'TipoSuporteDocumentoRepository', function DocumentoGedController($scope, DocumentoGedRepository, $translate, $timeout, TipoDocumentoRepository, PlanoClassificacaoRepository, HipoteseLegalRepository, PessoaRepository, NivelAcessoTipoDocumentoRepository, TipoDocumentoPlanoClassificacaoRepository, $filter, FileUploader, AnexoGedRepository, HistoricoAlteracaoProcessoRepository, DominioRepository, TemplatePadraoRepository, CabecalhoRepository, RodapeRepository, InteressadoDocumentoRepository, TipoSuporteDocumentoRepository) { |
5 | 5 | ||
6 | $scope.documentoGed = {}; | 6 | $scope.documentoGed = {}; |
7 | $scope.changeWatch = false; | 7 | $scope.changeWatch = false; |
8 | + $scope.outrosSuporte = false; | ||
8 | 9 | ||
9 | $scope.setForm = function(scope){ | 10 | $scope.setForm = function(scope){ |
10 | this.documentoGedForm = scope.documentoGedForm; | 11 | this.documentoGedForm = scope.documentoGedForm; |
@@ -59,6 +60,18 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | @@ -59,6 +60,18 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | ||
59 | } | 60 | } |
60 | }); | 61 | }); |
61 | }; | 62 | }; |
63 | + | ||
64 | + //Abre a tela de cadastro de tipoSuporte | ||
65 | + $scope.novoTipoSuporteDocumento = function() { | ||
66 | + $scope.openWorkspaceIfNotOpen($translate.instant('ECM.LABEL.TIPO_SUPORTE_DOCUMENTO'), '/cit-ecm-web/html/tipoSuporteDocumento/tipoSuporteDocumento.html', 'mod-orange'); | ||
67 | + | ||
68 | + $timeout(function() { | ||
69 | + angular.element('#searchTipoSuporteDocumento').scope().$showPageEditWorkspace(angular.element('#searchTipoSuporteDocumento').scope().workspace); | ||
70 | + angular.element('#tipoSuporteDocumentoEdit').scope().resetForm(); | ||
71 | + | ||
72 | + }, 300); | ||
73 | + | ||
74 | + }; | ||
62 | 75 | ||
63 | //Remove o primeiro documento criado | 76 | //Remove o primeiro documento criado |
64 | $scope.removeDocumento = function(){ | 77 | $scope.removeDocumento = function(){ |
@@ -152,7 +165,9 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | @@ -152,7 +165,9 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | ||
152 | $scope.removePropriedades(); | 165 | $scope.removePropriedades(); |
153 | 166 | ||
154 | DocumentoGedRepository.save($scope.documentoGed).then(function(result) { | 167 | DocumentoGedRepository.save($scope.documentoGed).then(function(result) { |
168 | + | ||
155 | $scope.documentoGed = result.originalElement; | 169 | $scope.documentoGed = result.originalElement; |
170 | + | ||
156 | $scope.saveUpload(); | 171 | $scope.saveUpload(); |
157 | $scope.showAlert("success", $translate.instant('MSG.REGISTRO_SALVO')); | 172 | $scope.showAlert("success", $translate.instant('MSG.REGISTRO_SALVO')); |
158 | $scope.documentoGedForm.$submitted = false; | 173 | $scope.documentoGedForm.$submitted = false; |
@@ -637,6 +652,12 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | @@ -637,6 +652,12 @@ citApp.controller('DocumentoGedController', ['$scope', 'DocumentoGedRepository', | ||
637 | 652 | ||
638 | $window.location.href = (href); | 653 | $window.location.href = (href); |
639 | 654 | ||
640 | - } | 655 | + }; |
656 | + | ||
657 | + $scope.findAutoCompleteTipoSuporte = function(value){ | ||
658 | + return TipoSuporteDocumentoRepository.findAutoComplete("nome", value).then(function(result) { | ||
659 | + return result; | ||
660 | + }); | ||
661 | + }; | ||
641 | 662 | ||
642 | }]); | 663 | }]); |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/ProcessoController.js
@@ -68,7 +68,9 @@ citApp.controller('ProcessoController', ['$scope', 'ProcessoRepository', 'Domini | @@ -68,7 +68,9 @@ citApp.controller('ProcessoController', ['$scope', 'ProcessoRepository', 'Domini | ||
68 | acaoAlteracao : "INCLUSAO_PROCESSO" | 68 | acaoAlteracao : "INCLUSAO_PROCESSO" |
69 | }; | 69 | }; |
70 | HistoricoAlteracaoProcessoRepository.saveParams(historicoAlteracaoProcesso).then(function(result){ | 70 | HistoricoAlteracaoProcessoRepository.saveParams(historicoAlteracaoProcesso).then(function(result){ |
71 | + | ||
71 | $scope.setLoadingSalva(false); | 72 | $scope.setLoadingSalva(false); |
73 | + | ||
72 | }); | 74 | }); |
73 | } else { | 75 | } else { |
74 | var historicoAlteracaoProcesso = { | 76 | var historicoAlteracaoProcesso = { |
@@ -78,12 +80,15 @@ citApp.controller('ProcessoController', ['$scope', 'ProcessoRepository', 'Domini | @@ -78,12 +80,15 @@ citApp.controller('ProcessoController', ['$scope', 'ProcessoRepository', 'Domini | ||
78 | acaoAlteracao : "ALTERACAO_METADADO_PROCESSO" | 80 | acaoAlteracao : "ALTERACAO_METADADO_PROCESSO" |
79 | }; | 81 | }; |
80 | HistoricoAlteracaoProcessoRepository.saveParams(historicoAlteracaoProcesso).then(function(result){ | 82 | HistoricoAlteracaoProcessoRepository.saveParams(historicoAlteracaoProcesso).then(function(result){ |
83 | + | ||
81 | $scope.setLoadingSalva(false); | 84 | $scope.setLoadingSalva(false); |
85 | + | ||
82 | }); | 86 | }); |
83 | } | 87 | } |
84 | $scope.processoForm.$submitted = false; | 88 | $scope.processoForm.$submitted = false; |
85 | $scope.resetForm(); | 89 | $scope.resetForm(); |
86 | }); | 90 | }); |
91 | + | ||
87 | }else{ | 92 | }else{ |
88 | //Mensagem de erro de campos obrigatorios não preenchidos | 93 | //Mensagem de erro de campos obrigatorios não preenchidos |
89 | $scope.showAlert('error', $translate.instant('MSG.MN001'), " ", false); | 94 | $scope.showAlert('error', $translate.instant('MSG.MN001'), " ", false); |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/TipoSuporteDocumentoController.js
0 → 100644
@@ -0,0 +1,65 @@ | @@ -0,0 +1,65 @@ | ||
1 | +'use strict'; | ||
2 | + | ||
3 | +citApp.controller('TipoSuporteDocumentoController', ['$scope', 'TipoSuporteDocumentoRepository', '$filter', '$translate', '$timeout', function TipoSuporteDocumentoController($scope, TipoSuporteDocumentoRepository, $filter, $translate, $timeout) { | ||
4 | + $scope.tipoSuporteDocumento = {}; | ||
5 | + | ||
6 | + | ||
7 | + // Limpa formulário para novo cadastro | ||
8 | + $scope.resetForm = function() { | ||
9 | + $scope.limparPrivilegio(); | ||
10 | + $scope.edit = true; | ||
11 | + $timeout(function(){ | ||
12 | + $scope.tipoSuporteDocumentoForm.$submitted = false; | ||
13 | + $scope.tipoSuporteDocumentoForm.$setPristine(); | ||
14 | + }); | ||
15 | + }; | ||
16 | + | ||
17 | + // Atualiza pagina de pesquisa | ||
18 | + $scope.atualizaPaginaPesquisa = function () { | ||
19 | + angular.element('#searchTipoSuporteDocumento').scope().fetchResult(); | ||
20 | + }; | ||
21 | + | ||
22 | + // SALVA O PAIS | ||
23 | + $scope.saveOrUpdate = function(){ | ||
24 | + $scope.tipoSuporteDocumentoForm.$submitted = true; | ||
25 | + | ||
26 | + //verifica se o formulario está valido para salvar | ||
27 | + if($scope.tipoSuporteDocumentoForm.$valid){ | ||
28 | + | ||
29 | + $scope.setLoadingSalva(true); | ||
30 | + | ||
31 | + TipoSuporteDocumentoRepository.save($scope.tipoSuporteDocumento).then(function(result) { | ||
32 | + $scope.tipoSuporteDocumento = result.originalElement; | ||
33 | + $scope.showAlert("success", $translate.instant('MSG.REGISTRO_SALVO')); | ||
34 | + $scope.tipoSuporteDocumentoForm.$submitted = false; | ||
35 | + $scope.setLoading(false); | ||
36 | + }); | ||
37 | + }else{ | ||
38 | + //Mensagem de erro de campos obrigatorios não preenchidos | ||
39 | + $scope.showAlert('error', $translate.instant('VALIDACAO.ALERTA_OBRIGATORIOS'), " ", false); | ||
40 | + } | ||
41 | + | ||
42 | + }; | ||
43 | + | ||
44 | + // Limpa o formulario preenchido | ||
45 | + $scope.limparPrivilegio = function(){ | ||
46 | + $scope.tipoSuporteDocumento = {}; | ||
47 | + }; | ||
48 | + | ||
49 | + | ||
50 | + | ||
51 | + // Consulta entidade e mostra no formulario | ||
52 | + $scope.getTipoSuporteDocumento = function(tipoSuporteDocumento, edit){ | ||
53 | + $scope.setLoadingGet(true); | ||
54 | + | ||
55 | + TipoSuporteDocumentoRepository.get(tipoSuporteDocumento.id).then(function(result) { | ||
56 | + $scope.tipoSuporteDocumento = result.originalElement; | ||
57 | + $scope.pgEdit = edit; | ||
58 | + $scope.edit = edit; | ||
59 | + $scope.setLoading(false); | ||
60 | + }); | ||
61 | + }; | ||
62 | + | ||
63 | +}]); | ||
64 | + | ||
65 | + |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/controller/TipoSuporteDocumentoListController.js
0 → 100644
@@ -0,0 +1,43 @@ | @@ -0,0 +1,43 @@ | ||
1 | +'use strict'; | ||
2 | + | ||
3 | +citApp.controller('TipoSuporteDocumentoListController', ['$scope', 'TipoSuporteDocumentoRepository', '$translate', '$modal', '$timeout', function TipoSuporteDocumentoListController($scope, TipoSuporteDocumentoRepository, $translate, $modal, $timeout) { | ||
4 | + | ||
5 | + $scope.$showAdvancedFilters = false; | ||
6 | + | ||
7 | + // Chama controlleredit para limpar o formulario de cadastro | ||
8 | + $scope.resetForm = function() { | ||
9 | + angular.element("#editTipoSuporteDocumento").scope().resetForm(); | ||
10 | + }; | ||
11 | + | ||
12 | + $scope.headers = [ | ||
13 | + {title : $translate.instant('LABEL.NOME'), value : 'nome'}]; | ||
14 | + | ||
15 | + // default criteria that will be sent to the server | ||
16 | + $scope.filterCriteria = { | ||
17 | + start : 1, | ||
18 | + dir : 'asc', | ||
19 | + sort : 'id', | ||
20 | + limit : 10, | ||
21 | + fields: ['id','nome'], | ||
22 | + filters : [{type: 'string', field: 'nome'}] | ||
23 | + }; | ||
24 | + | ||
25 | + // ABRI PAIS SELECIONADO | ||
26 | + $scope.abrirTipoSuporteDocumento = function(edit){ | ||
27 | + var tipoSuporteDocumento = $scope.tipoSuporteDocumentoChecked; | ||
28 | + | ||
29 | + if(!edit && !tipoSuporteDocumento) { | ||
30 | + $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_VISUALIZACAO')); | ||
31 | + return; | ||
32 | + } | ||
33 | + | ||
34 | + if(edit && !tipoSuporteDocumento) { | ||
35 | + $scope.showAlert('warning', $translate.instant('MSG.SELECIONE_UM_ITEM_PARA_EDICAO')); | ||
36 | + return; | ||
37 | + } | ||
38 | + | ||
39 | + angular.element('#editTipoSuporteDocumento').scope().getTipoSuporteDocumento(tipoSuporteDocumento, edit); | ||
40 | + $scope.$showPageEditWorkspace($scope.workspace); | ||
41 | + }; | ||
42 | + | ||
43 | +}]); | ||
0 | \ No newline at end of file | 44 | \ No newline at end of file |
cit-ecm-web/src/main/webapp/assets/js/angular/custom/repository/TipoSuporteDocumentoRepository.js
0 → 100644
@@ -0,0 +1,11 @@ | @@ -0,0 +1,11 @@ | ||
1 | +citApp.factory('TipoSuporteDocumentoRepository', ['RestangularEcm','AbstractRepository', function(restangularEcm, AbstractRepository) { | ||
2 | + | ||
3 | + | ||
4 | + function TipoSuporteDocumentoRepository(){ | ||
5 | + AbstractRepository.call(this, restangularEcm, 'rest/tipoSuporteDocumento'); | ||
6 | + }; | ||
7 | + | ||
8 | + AbstractRepository.extend(TipoSuporteDocumentoRepository); | ||
9 | + | ||
10 | + return new TipoSuporteDocumentoRepository(); | ||
11 | +}]); | ||
0 | \ No newline at end of file | 12 | \ No newline at end of file |
cit-ecm-web/src/main/webapp/html/documentoGed/metadadosDocumentoEdit.html
@@ -35,7 +35,7 @@ | @@ -35,7 +35,7 @@ | ||
35 | 35 | ||
36 | </div> | 36 | </div> |
37 | </div> | 37 | </div> |
38 | - | 38 | + |
39 | <div class="row"> | 39 | <div class="row"> |
40 | 40 | ||
41 | <div class="col-md-8"> | 41 | <div class="col-md-8"> |
@@ -132,26 +132,34 @@ | @@ -132,26 +132,34 @@ | ||
132 | </div> | 132 | </div> |
133 | </div> | 133 | </div> |
134 | 134 | ||
135 | - <div class="row"> | ||
136 | - <div class="col-md-12"> | ||
137 | - | ||
138 | - <label-text-area ng-id="documentoGed.assuntoComplementar" ng-label="ECM.LABEL.ASSUNTOCOMPLEMENTAR" ng-model="documentoGed.assuntoComplementar" form="documentoGedForm" ng-obrigatorio="false" | ||
139 | - ng-disabled="!edit" rows="3" /> | 135 | + <div class="row" ng-show='documentoGed.formaCriacao.codigo == 2'> |
136 | + <div class="col-md-6"> | ||
137 | + <auto-complete ng-id="documentoGed.tipoSuporteDocumento" ng-label="ECM.LABEL.TIPO_SUPORTE" ng-disabled="!edit" form='documentoGedForm' ng-model="documentoGed.tipoSuporteDocumento" | ||
138 | + ng-find="findAutoCompleteTipoSuporte(value)" button-new-action="novoTipoSuporteDocumento()" button-new-tooltip="{{$translate.instant('ECM.LABEL.NOVO_TIPO_SUPORTE')}}" button-new-show="true" ng-item="item.nome" ng-obrigatorio="{{documentoGed.formaCriacao.codigo == 2 && !outrosSuporte}}" /> | ||
140 | </div> | 139 | </div> |
140 | + | ||
141 | </div> | 141 | </div> |
142 | + | ||
142 | <div class="row" ng-show='documentoGed.formaCriacao.codigo == 2'> | 143 | <div class="row" ng-show='documentoGed.formaCriacao.codigo == 2'> |
143 | 144 | ||
144 | - <div class="col-md-4"> | 145 | + <div class="col-md-2"> |
145 | <label-input-checkbox ng-model="mantido" ng-disabled="!edit" ng-label="ECM.LABEL.MANTIDO" ng-custom-change="limparLocalizacao()"></label-input-checkbox> | 146 | <label-input-checkbox ng-model="mantido" ng-disabled="!edit" ng-label="ECM.LABEL.MANTIDO" ng-custom-change="limparLocalizacao()"></label-input-checkbox> |
146 | </div> | 147 | </div> |
147 | - | ||
148 | - <div class="col-md-8" ng-show="mantido"> | 148 | + <div class="col-md-10" ng-show="mantido"> |
149 | <label-input ng-id="documentoGed.localizacao" ng-label="LABEL.LOCALIZACAO" ng-type="text" ng-model="documentoGed.localizacao" form="documentoGedForm" ng-obrigatorio="mantido" | 149 | <label-input ng-id="documentoGed.localizacao" ng-label="LABEL.LOCALIZACAO" ng-type="text" ng-model="documentoGed.localizacao" form="documentoGedForm" ng-obrigatorio="mantido" |
150 | ng-custom-maxlength="255" ng-type="text" ng-disabled="!edit" /> | 150 | ng-custom-maxlength="255" ng-type="text" ng-disabled="!edit" /> |
151 | </div> | 151 | </div> |
152 | 152 | ||
153 | </div> | 153 | </div> |
154 | 154 | ||
155 | + <div class="row"> | ||
156 | + <div class="col-md-12"> | ||
157 | + | ||
158 | + <label-text-area ng-id="documentoGed.assuntoComplementar" ng-label="ECM.LABEL.ASSUNTOCOMPLEMENTAR" ng-model="documentoGed.assuntoComplementar" form="documentoGedForm" ng-obrigatorio="false" | ||
159 | + ng-disabled="!edit" rows="3" /> | ||
160 | + </div> | ||
161 | + </div> | ||
162 | + | ||
155 | <fieldset> | 163 | <fieldset> |
156 | 164 | ||
157 | <legend> | 165 | <legend> |
cit-ecm-web/src/main/webapp/html/tipoSuporteDocumento/tipoSuporteDocumento.html
0 → 100644
@@ -0,0 +1,2 @@ | @@ -0,0 +1,2 @@ | ||
1 | +<div ng-include src="'/cit-ecm-web/html/tipoSuporteDocumento/tipoSuporteDocumentoList.html'" ng-show="workspace.$showSearch" /> | ||
2 | +<div ng-include src="'/cit-ecm-web/html/tipoSuporteDocumento/tipoSuporteDocumentoEdit.html'" ng-show="workspace.$showEdit" /> | ||
0 | \ No newline at end of file | 3 | \ No newline at end of file |
cit-ecm-web/src/main/webapp/html/tipoSuporteDocumento/tipoSuporteDocumentoEdit.html
0 → 100644
@@ -0,0 +1,69 @@ | @@ -0,0 +1,69 @@ | ||
1 | +<div id="editTipoSuporteDocumento" class="page-content clearfix" ng-controller="TipoSuporteDocumentoController"> | ||
2 | + <div class="bar-buttons-action fixed"> | ||
3 | + <div class="row"> | ||
4 | + <div class="col-sm-8 text-left"> | ||
5 | + <button title="{{$translate.instant('LABEL.SALVAR')}}" alt="{{$translate.instant('LABEL.SALVAR')}}" class="btn btn-clear" ng-click="saveOrUpdate()" ng-show="edit" type="button"> | ||
6 | + <i class="fa fa-save green"></i> | ||
7 | + <translate>LABEL.SALVAR</translate> | ||
8 | + </button> | ||
9 | + | ||
10 | + <button title="{{$translate.instant('LABEL.LIMPAR')}}" alt="{{$translate.instant('LABEL.LIMPAR')}}" class="btn btn-clear" ng-click="resetForm();" ng-show="privilegio.id === undefined" | ||
11 | + type="button"> | ||
12 | + <i class="fa fa-eraser yellow-dark"></i> | ||
13 | + <translate>LABEL.LIMPAR</translate> | ||
14 | + </button> | ||
15 | + | ||
16 | + <button title="{{$translate.instant('LABEL.EDITAR')}}" alt="{{$translate.instant('LABEL.EDITAR')}}" class="btn btn-clear" ng-click="edit = true" | ||
17 | + type="button"> | ||
18 | + <i class="fa fa-pencil blue"></i> | ||
19 | + <translate>LABEL.EDITAR</translate> | ||
20 | + </button> | ||
21 | + | ||
22 | + <button title="{{$translate.instant('LABEL.REMOVER')}}" alt="{{$translate.instant('LABEL.REMOVER')}}" class="btn btn-clear" ng-click="remove(privilegio);" ng-show="privilegio.id !== undefined" | ||
23 | + type="button"> | ||
24 | + <i class="fa fa-times red"></i> | ||
25 | + <translate>LABEL.REMOVER</translate> | ||
26 | + </button> | ||
27 | + | ||
28 | + <bloquear-desbloquear ng-model="TipoSuporteDocumento" ng-repository="TipoSuporteDocumentoRepository" ng-edit="edit" form="tipoSuporteDocumentoForm"></bloquear-desbloquear> | ||
29 | + | ||
30 | + <button title="{{$translate.instant('LABEL.PESQUISAR')}}" alt="{{$translate.instant('LABEL.PESQUISAR')}}" class="btn btn-clear" | ||
31 | + ng-click="$showPageSearchWorkspace(workspace); atualizaPaginaPesquisa();" type="button"> | ||
32 | + <i class="fa fa-search"></i> | ||
33 | + <translate>LABEL.PESQUISAR</translate> | ||
34 | + </button> | ||
35 | + </div> | ||
36 | + <!-- .col --> | ||
37 | + | ||
38 | + <div class="col-sm-4 text-right"> | ||
39 | + <favorito /> | ||
40 | + | ||
41 | + <help-button workspace="workspace" /> | ||
42 | + </div> | ||
43 | + <!-- .col --> | ||
44 | + </div> | ||
45 | + <!-- .row --> | ||
46 | + </div> | ||
47 | + <!-- .bar-buttons-action --> | ||
48 | + | ||
49 | + <breadcrumb ng-workspace="workspace"></breadcrumb> | ||
50 | + | ||
51 | + <form name="tipoSuporteDocumentoForm" id="tipoSuporteDocumentoEdit" novalidate autocomplete="off"> | ||
52 | + <p> | ||
53 | + <small>( <span class="red">*</span> ) <translate>LABEL.CAMPOS_OBRIGATORIOS</translate></small> | ||
54 | + </p> | ||
55 | + | ||
56 | + <fieldset> | ||
57 | + <legend> | ||
58 | + <translate>ECM.LABEL.DADOS_SUPORTE_DOCUMENTO</translate> | ||
59 | + </legend> | ||
60 | + | ||
61 | + <div class="row"> | ||
62 | + <div class="col-md-6"> | ||
63 | + <label-input ng-id="tipoSuporteDocumento.nome" ng-typ="text" ng-obrigatorio='true' ng-custom-maxlength='255' form="tipoSuporteDocumentoForm" ng-label="LABEL.NOME" ng-model="tipoSuporteDocumento.nome" | ||
64 | + ng-disabled="!edit" /> | ||
65 | + </div> | ||
66 | + </div> | ||
67 | + </fieldset> | ||
68 | + </form> | ||
69 | +</div> |
cit-ecm-web/src/main/webapp/html/tipoSuporteDocumento/tipoSuporteDocumentoList.html
0 → 100644
@@ -0,0 +1,41 @@ | @@ -0,0 +1,41 @@ | ||
1 | +<div id="searchTipoSuporteDocumento" class="page-content" ng-controller="TipoSuporteDocumentoListController"> | ||
2 | + <div class="bar-buttons-action fixed"> | ||
3 | + <div class="row"> | ||
4 | + <div class="col-sm-8 text-left"> | ||
5 | + <button title="{{$translate.instant('LABEL.CADASTRAR')}}" alt="{{$translate.instant('LABEL.CADASTRAR')}}" class="btn btn-clear" ng-click="$showPageEditWorkspace(workspace); resetForm();" type="button"> | ||
6 | + <i class="fa fa-plus-circle yellow-dark"></i> | ||
7 | + <translate>LABEL.CADASTRAR</translate> | ||
8 | + </button> | ||
9 | + | ||
10 | + <button title="{{$translate.instant('LABEL.VISUALIZAR')}}" alt="{{$translate.instant('LABEL.VISUALIZAR')}}" class="btn btn-clear" ng-click="abrirTipoSuporteDocumento(false);" type="button"> | ||
11 | + <i class="fa fa-search blue"></i> | ||
12 | + <translate>LABEL.VISUALIZAR</translate> | ||
13 | + </button> | ||
14 | + | ||
15 | + <button title="{{$translate.instant('LABEL.EDITAR')}}" alt="{{$translate.instant('LABEL.EDITAR')}}" class="btn btn-clear" ng-click="abrirTipoSuporteDocumento(true);" type="button"> | ||
16 | + <i class="fa fa-pencil blue"></i> | ||
17 | + <translate>LABEL.EDITAR</translate> | ||
18 | + </button> | ||
19 | + | ||
20 | + <button title="{{$translate.instant('LABEL.REMOVER')}}" alt="{{$translate.instant('LABEL.REMOVER')}}" class="btn btn-clear" ng-click="remove();" type="button"> | ||
21 | + <i class="fa fa-times red"></i> | ||
22 | + <translate>LABEL.REMOVER</translate> | ||
23 | + </button> | ||
24 | + | ||
25 | + <span class="divider-vertical"></span> | ||
26 | + | ||
27 | + <filtros ng-filter="filterCriteria" ng-workspace="workspace"></filtros> | ||
28 | + </div><!-- .col --> | ||
29 | + | ||
30 | + <div class="col-sm-4 text-right"> | ||
31 | + <favorito/> | ||
32 | + <help-button workspace="workspace" /> | ||
33 | + </div><!-- .col --> | ||
34 | + </div><!-- .row --> | ||
35 | + </div><!-- .bar-buttons-action --> | ||
36 | + | ||
37 | + <breadcrumb ng-workspace="workspace"></breadcrumb> | ||
38 | + | ||
39 | + <list-view ng-lista="tipoSuporteDocumento" ng-repository="TipoSuporteDocumentoRepository" ng-headers="headers" ng-filter-criteria="filterCriteria" ng-item-selecionado="tipoSuporteDocumentoChecked"></list-view> | ||
40 | + | ||
41 | +</div><!-- .page-content --> | ||
0 | \ No newline at end of file | 42 | \ No newline at end of file |