com.liferay.portlet.tags.service
Interface TagsPropertyService


@Transactional(isolation=PORTAL,
               rollbackFor={com.liferay.portal.PortalException.class,com.liferay.portal.SystemException.class})
public interface TagsPropertyService

View Source

ServiceBuilder generated this class. Modifications in this class will be overwritten the next time is generated.

This interface defines the service. The default implementation is com.liferay.portlet.tags.service.impl.TagsPropertyServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a remote service. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.

Author:
Brian Wing Shun Chan
See Also:
TagsPropertyServiceUtil

Method Summary
 TagsProperty addProperty(long entryId, java.lang.String key, java.lang.String value)
           
 TagsProperty addProperty(java.lang.String entryName, java.lang.String key, java.lang.String value)
           
 void deleteProperty(long propertyId)
           
 java.util.List<TagsProperty> getProperties(long entryId)
           
 java.util.List<TagsProperty> getPropertyValues(long companyId, java.lang.String key)
           
 TagsProperty updateProperty(long propertyId, java.lang.String key, java.lang.String value)
           
 

Method Detail

addProperty

TagsProperty addProperty(long entryId,
                         java.lang.String key,
                         java.lang.String value)
                         throws java.rmi.RemoteException,
                                com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

addProperty

TagsProperty addProperty(java.lang.String entryName,
                         java.lang.String key,
                         java.lang.String value)
                         throws java.rmi.RemoteException,
                                com.liferay.portal.PortalException,
                                com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

deleteProperty

void deleteProperty(long propertyId)
                    throws java.rmi.RemoteException,
                           com.liferay.portal.PortalException,
                           com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException

getProperties

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> getProperties(long entryId)
                                           throws java.rmi.RemoteException,
                                                  com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

getPropertyValues

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<TagsProperty> getPropertyValues(long companyId,
                                                             java.lang.String key)
                                               throws java.rmi.RemoteException,
                                                      com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.SystemException

updateProperty

TagsProperty updateProperty(long propertyId,
                            java.lang.String key,
                            java.lang.String value)
                            throws java.rmi.RemoteException,
                                   com.liferay.portal.PortalException,
                                   com.liferay.portal.SystemException
Throws:
java.rmi.RemoteException
com.liferay.portal.PortalException
com.liferay.portal.SystemException