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