1
22
23 package com.liferay.portlet.tags.service;
24
25
51 public interface TagsEntryService {
52 public com.liferay.portlet.tags.model.TagsEntry addEntry(
53 java.lang.String name)
54 throws com.liferay.portal.SystemException,
55 com.liferay.portal.PortalException, java.rmi.RemoteException;
56
57 public com.liferay.portlet.tags.model.TagsEntry addEntry(
58 java.lang.String name, java.lang.String[] properties)
59 throws com.liferay.portal.SystemException,
60 com.liferay.portal.PortalException, java.rmi.RemoteException;
61
62 public void deleteEntry(long entryId)
63 throws com.liferay.portal.SystemException,
64 com.liferay.portal.PortalException, java.rmi.RemoteException;
65
66 public java.util.List getEntries(java.lang.String className, long classPK)
67 throws com.liferay.portal.SystemException,
68 com.liferay.portal.PortalException, java.rmi.RemoteException;
69
70 public java.util.List search(long companyId, java.lang.String name,
71 java.lang.String[] properties)
72 throws com.liferay.portal.SystemException, java.rmi.RemoteException;
73
74 public java.util.List search(long companyId, java.lang.String name,
75 java.lang.String[] properties, int begin, int end)
76 throws com.liferay.portal.SystemException, java.rmi.RemoteException;
77
78 public com.liferay.portal.kernel.json.JSONArrayWrapper searchAutocomplete(
79 long companyId, java.lang.String name, java.lang.String[] properties,
80 int begin, int end)
81 throws com.liferay.portal.SystemException, java.rmi.RemoteException;
82
83 public int searchCount(long companyId, java.lang.String name,
84 java.lang.String[] properties)
85 throws com.liferay.portal.SystemException, java.rmi.RemoteException;
86
87 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
88 java.lang.String name)
89 throws com.liferay.portal.SystemException,
90 com.liferay.portal.PortalException, java.rmi.RemoteException;
91
92 public com.liferay.portlet.tags.model.TagsEntry updateEntry(long entryId,
93 java.lang.String name, java.lang.String[] properties)
94 throws com.liferay.portal.SystemException,
95 com.liferay.portal.PortalException, java.rmi.RemoteException;
96 }