I need to import JcrTagImpl class which is located in CQ Day Communique 5 Tagging jar file(com.day.cq.cq-tagging)
Then I tried to add the above jar in my pom.xml's dependency as below then I can import the whole package as com.day.cq.tagging.*;
<dependency>
<groupId>com.day.cq</groupId>
<artifactId>cq-tagging</artifactId>
<version>5.7.18</version>
<scope>provided</scope>
</dependency>
UPDATE:
I need to call getTagID method which is located in com.day.cq.tagging.JcrTagImpl
class.
AEM uses com.day.cq.tagging.TagCommandServlet
to display the TagID in tagging console. TagCommandServlet is importing JcrTagImpl class and calling getTagID
method.
I have my own servlet and I wanted to call getTagID
. I could not call directly getTagID of JcrTagImpl implementation since it is not exposed. Can it done by any annotation?Can you please guide me how to call getTagId
method.