Commit a8f0079d299fea9f191d4fc5196e5e12f17c7760
1 parent
8af50b57
Exists in
master
Ajustes após revisão.
Showing
3 changed files
with
26 additions
and
28 deletions
Show diff stats
documentation/quickstart/pt-BR/criacao.xml
@@ -36,7 +36,7 @@ | @@ -36,7 +36,7 @@ | ||
36 | </mediaobject> | 36 | </mediaobject> |
37 | </para> | 37 | </para> |
38 | <para> | 38 | <para> |
39 | - Na tela seguinte, recomenda-se manter os valores "default": | 39 | + Na tela seguinte, recomenda-se manter os valores padrões: |
40 | <mediaobject> | 40 | <mediaobject> |
41 | <imageobject role="fo"> | 41 | <imageobject role="fo"> |
42 | <imagedata fileref="images/new-maven-project01.png" align="center" scalefit="1" width="75%"/> | 42 | <imagedata fileref="images/new-maven-project01.png" align="center" scalefit="1" width="75%"/> |
@@ -332,34 +332,32 @@ | @@ -332,34 +332,32 @@ | ||
332 | <literal>BookmarkBC</literal>, a qual será responsável por gerenciar as regras de negócio referentes aos bookmarks: | 332 | <literal>BookmarkBC</literal>, a qual será responsável por gerenciar as regras de negócio referentes aos bookmarks: |
333 | </para> | 333 | </para> |
334 | <programlisting role="JAVA"> | 334 | <programlisting role="JAVA"> |
335 | - <![CDATA[ | ||
336 | - @BusinessController | ||
337 | - public class BookmarkBC extends DelegateCrud<Bookmark, Long, BookmarkDAO> { | ||
338 | - | ||
339 | - private static final long serialVersionUID = 1L; | ||
340 | - | ||
341 | - @Startup | ||
342 | - @Transactional | ||
343 | - public void load() { | ||
344 | - if (findAll().isEmpty()) { | ||
345 | - insert(new Bookmark("Demoiselle Portal", "http://www.frameworkdemoiselle.gov.br")); | ||
346 | - insert(new Bookmark("Demoiselle SourceForge", "http://sf.net/projects/demoiselle")); | ||
347 | - insert(new Bookmark("Twitter", "http://twitter.frameworkdemoiselle.gov.br")); | ||
348 | - insert(new Bookmark("Blog", "http://blog.frameworkdemoiselle.gov.br")); | ||
349 | - insert(new Bookmark("Wiki", "http://wiki.frameworkdemoiselle.gov.br")); | ||
350 | - insert(new Bookmark("Bug Tracking", "http://tracker.frameworkdemoiselle.gov.br")); | ||
351 | - insert(new Bookmark("Forum", "http://forum.frameworkdemoiselle.gov.br")); | ||
352 | - insert(new Bookmark("SVN", "http://svn.frameworkdemoiselle.gov.br")); | ||
353 | - insert(new Bookmark("Maven", "http://repository.frameworkdemoiselle.gov.br")); | ||
354 | - insert(new Bookmark("Downloads", "http://download.frameworkdemoiselle.gov.br")); | ||
355 | - } | ||
356 | - } | ||
357 | - | ||
358 | - } | ||
359 | - ]]> | 335 | +<![CDATA[@BusinessController |
336 | +public class BookmarkBC extends DelegateCrud<Bookmark, Long, BookmarkDAO> { | ||
337 | + | ||
338 | + private static final long serialVersionUID = 1L; | ||
339 | + | ||
340 | + @Startup | ||
341 | + @Transactional | ||
342 | + public void load() { | ||
343 | + if (findAll().isEmpty()) { | ||
344 | + insert(new Bookmark("Demoiselle Portal", "http://www.frameworkdemoiselle.gov.br")); | ||
345 | + insert(new Bookmark("Demoiselle SourceForge", "http://sf.net/projects/demoiselle")); | ||
346 | + insert(new Bookmark("Twitter", "http://twitter.frameworkdemoiselle.gov.br")); | ||
347 | + insert(new Bookmark("Blog", "http://blog.frameworkdemoiselle.gov.br")); | ||
348 | + insert(new Bookmark("Wiki", "http://wiki.frameworkdemoiselle.gov.br")); | ||
349 | + insert(new Bookmark("Bug Tracking", "http://tracker.frameworkdemoiselle.gov.br")); | ||
350 | + insert(new Bookmark("Forum", "http://forum.frameworkdemoiselle.gov.br")); | ||
351 | + insert(new Bookmark("Github", "https://github.com/demoiselle")); | ||
352 | + insert(new Bookmark("SVN", "http://svn.frameworkdemoiselle.gov.br")); | ||
353 | + insert(new Bookmark("Maven", "http://repository.frameworkdemoiselle.gov.br")); | ||
354 | + insert(new Bookmark("Downloads", "http://download.frameworkdemoiselle.gov.br")); | ||
355 | + } | ||
356 | + } | ||
357 | +}]]> | ||
360 | </programlisting> | 358 | </programlisting> |
361 | <para> | 359 | <para> |
362 | - O método <function>startup()</function> nessa classe será invocado automaticamente durante a | 360 | + O método com a anotação <literal>@startup</literal> nessa classe será invocado automaticamente durante a |
363 | inicialização da aplicação e fará com que a tabela seja populada com dados iniciais de bookmarks. | 361 | inicialização da aplicação e fará com que a tabela seja populada com dados iniciais de bookmarks. |
364 | </para> | 362 | </para> |
365 | <note> | 363 | <note> |
documentation/quickstart/pt-BR/images/addRemoteArchetypeCatalog02.png
documentation/quickstart/pt-BR/instalacao.xml
@@ -4,7 +4,7 @@ | @@ -4,7 +4,7 @@ | ||
4 | <chapter id="instalacao"> | 4 | <chapter id="instalacao"> |
5 | <title>Instalação</title> | 5 | <title>Instalação</title> |
6 | <section> | 6 | <section> |
7 | - <title>Pré-requisitos</title> | 7 | + <title>Ambiente recomendado</title> |
8 | <informaltable> | 8 | <informaltable> |
9 | <tgroup cols="3"> | 9 | <tgroup cols="3"> |
10 | <colspec colwidth="50*" /> | 10 | <colspec colwidth="50*" /> |