<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>Liferay 7.2 - Getting pages deleted logs</title>
  <link rel="self" href="https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114189701" />
  <subtitle>Liferay 7.2 - Getting pages deleted logs</subtitle>
  <id>https://liferay.dev/c/message_boards/find_thread?p_l_id=119785294&amp;threadId=114189701</id>
  <updated>2026-04-04T03:12:56Z</updated>
  <dc:date>2026-04-04T03:12:56Z</dc:date>
  <entry>
    <title>RE: Liferay 7.2 - Getting pages deleted logs</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114581371" />
    <author>
      <name>Fabio Carvalho</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114581371</id>
    <updated>2019-08-02T14:33:08Z</updated>
    <published>2019-08-02T14:33:08Z</published>
    <summary type="html">I tried to create a Service Builder using this &lt;a href="https://www.youtube.com/watch?v=EeCiklKmqe4"&gt;tutorial&lt;/a&gt; but I am getting an error on some generated classes. I can solve most of them, but there is one that I can&amp;#39;t solve for nothing. The IDE cannot resolve &amp;#34;import com.liferay.portal.aop.AopService;&amp;#34;. Probably its a depency left, but I can&amp;#39;t seem to find which one.&lt;br /&gt;&lt;br /&gt;PS: I have already posted this &lt;a href="https://stackoverflow.com/questions/57326122/service-builder-not-adding-some-dependencies"&gt;here&lt;/a&gt;, but until now I didn&amp;#39;t find a solution.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;EDIT: OK! I found what dependency I needed. I added compileOnly group: &amp;#34;com.liferay&amp;#34;, name: &amp;#34;com.liferay.portal.aop.api&amp;#34; and it started working.&lt;/strong&gt;</summary>
    <dc:creator>Fabio Carvalho</dc:creator>
    <dc:date>2019-08-02T14:33:08Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2 - Getting pages deleted logs</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114206115" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114206115</id>
    <updated>2019-07-04T15:07:19Z</updated>
    <published>2019-07-04T15:07:19Z</published>
    <summary type="html">Yes. It is probably the easiest solution.</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-07-04T15:07:19Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2 - Getting pages deleted logs</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114203519" />
    <author>
      <name>Fabio Carvalho</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114203519</id>
    <updated>2019-07-04T10:33:33Z</updated>
    <published>2019-07-04T10:33:33Z</published>
    <summary type="html">Hello Christoph,&lt;br /&gt;&lt;br /&gt;So the solution would be to create a new table on my database using servicebuilder and each time a page is deleted I would add an entry to this table. Later I could get the values of this table to check the pages deleted. Did I understand correctly?&lt;br /&gt;&lt;br /&gt;Thank you for your answer!</summary>
    <dc:creator>Fabio Carvalho</dc:creator>
    <dc:date>2019-07-04T10:33:33Z</dc:date>
  </entry>
  <entry>
    <title>RE: Liferay 7.2 - Getting pages deleted logs</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114195685" />
    <author>
      <name>Christoph Rabel</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114195685</id>
    <updated>2019-07-03T16:08:46Z</updated>
    <published>2019-07-03T16:08:46Z</published>
    <summary type="html">I am not sure if there is a better way, but I would implement a LayoutModelListener and store the actions like create/update/delete somewhere, e.g. using servicebuilder in my own &amp;#34;audit table&amp;#34;. Then you can easily use the data in your own portlet.&lt;br /&gt;&lt;a href="https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/model-listeners"&gt;https://portal.liferay.dev/docs/7-1/tutorials/-/knowledge_base/t/model-listeners&lt;/a&gt;</summary>
    <dc:creator>Christoph Rabel</dc:creator>
    <dc:date>2019-07-03T16:08:46Z</dc:date>
  </entry>
  <entry>
    <title>Liferay 7.2 - Getting pages deleted logs</title>
    <link rel="alternate" href="https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114189700" />
    <author>
      <name>Fabio Carvalho</name>
    </author>
    <id>https://liferay.dev/c/message_boards/find_message?p_l_id=119785294&amp;messageId=114189700</id>
    <updated>2019-07-03T11:48:10Z</updated>
    <published>2019-07-03T11:48:10Z</published>
    <summary type="html">Hello,&lt;br /&gt;&lt;br /&gt;I was wondering if I can somehow get the logs in my custom portlet of the pages deleted. Lets suppose  the User A creates a page, and then deletes it. Can I somehow get that deletion log on my custom portlet?&lt;br /&gt;&lt;br /&gt;Thank you for your future answers!</summary>
    <dc:creator>Fabio Carvalho</dc:creator>
    <dc:date>2019-07-03T11:48:10Z</dc:date>
  </entry>
</feed>
