1
22
23 package com.liferay.portlet.tags.service;
24
25 import com.liferay.portal.PortalException;
26 import com.liferay.portal.SystemException;
27 import com.liferay.portal.kernel.annotation.Isolation;
28 import com.liferay.portal.kernel.annotation.Propagation;
29 import com.liferay.portal.kernel.annotation.Transactional;
30
31
55 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
56 PortalException.class, SystemException.class})
57 public interface TagsEntryService {
58 public com.liferay.portlet.tags.model.TagsEntry addEntry(
59 java.lang.String name)
60 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
61 com.liferay.portal.SystemException;
62
63 public com.liferay.portlet.tags.model.TagsEntry addEntry(
64 java.lang.String name, java.lang.String[] properties)
65 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
66 com.liferay.portal.SystemException;
67
68 public void deleteEntry(long entryId)
69 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException;
71
72 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
73 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
74 java.lang.String className, long classPK)
75 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
76
77 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
78 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> getEntries(
79 long groupId, long companyId, long classNameId, java.lang.String name)
80 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
81
82 public void mergeEntries(long fromEntryId, long toEntryId)
83 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
84 com.liferay.portal.SystemException;
85
86 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
87 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
88 long companyId, java.lang.String name, java.lang.String[] properties)
89 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
90
91 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
92 public java.util.List<com.liferay.portlet.tags.model.TagsEntry> search(
93 long companyId, java.lang.String name, java.lang.String[] properties,
94 int start, int end)
95 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
96
97 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
98 public com.liferay.portal.kernel.json.JSONArray searchAutocomplete(
99 long companyId, java.lang.String name, java.lang.String[] properties,
100 int start, int end)
101 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
102
103 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
104 public int searchCount(long companyId, java.lang.String name,
105 java.lang.String[] properties)
106 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
107
108 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
109 java.lang.String name)
110 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
111 com.liferay.portal.SystemException;
112
113 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
114 java.lang.String name, java.lang.String[] properties)
115 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException;
117 }