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 TagsPropertyService {
50 public com.liferay.portlet.tags.model.TagsProperty addProperty(
51 long entryId, java.lang.String key, java.lang.String value)
52 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
53 com.liferay.portal.SystemException;
54
55 public com.liferay.portlet.tags.model.TagsProperty addProperty(
56 java.lang.String entryName, java.lang.String key, java.lang.String value)
57 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException;
59
60 public void deleteProperty(long propertyId)
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.TagsProperty> getProperties(
66 long entryId)
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.TagsProperty> getPropertyValues(
71 long companyId, java.lang.String key)
72 throws java.rmi.RemoteException, com.liferay.portal.SystemException;
73
74 public com.liferay.portlet.tags.model.TagsProperty updateProperty(
75 long propertyId, java.lang.String key, java.lang.String value)
76 throws java.rmi.RemoteException, com.liferay.portal.PortalException,
77 com.liferay.portal.SystemException;
78 }