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