com.liferay.portal.service
Interface ResourceCodeLocalService


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

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.portal.service.impl.ResourceCodeLocalServiceImpl. Modify methods in that class and rerun ServiceBuilder to populate this class and all other generated classes.

This is a local service. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.

Author:
Brian Wing Shun Chan
See Also:
ResourceCodeLocalServiceUtil

Method Summary
 ResourceCode addResourceCode(ResourceCode resourceCode)
           
 ResourceCode createResourceCode(long codeId)
           
 void deleteResourceCode(long codeId)
           
 void deleteResourceCode(ResourceCode resourceCode)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
           
 java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end)
           
 ResourceCode getResourceCode(long codeId)
           
 ResourceCode getResourceCode(long companyId, java.lang.String name, int scope)
           
 java.util.List<ResourceCode> getResourceCodes(int start, int end)
           
 int getResourceCodesCount()
           
 ResourceCode updateResourceCode(ResourceCode resourceCode)
           
 

Method Detail

addResourceCode

ResourceCode addResourceCode(ResourceCode resourceCode)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

createResourceCode

ResourceCode createResourceCode(long codeId)

deleteResourceCode

void deleteResourceCode(long codeId)
                        throws com.liferay.portal.SystemException,
                               com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

deleteResourceCode

void deleteResourceCode(ResourceCode resourceCode)
                        throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

java.util.List<java.lang.Object> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
                                              int start,
                                              int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getResourceCode

ResourceCode getResourceCode(long codeId)
                             throws com.liferay.portal.SystemException,
                                    com.liferay.portal.PortalException
Throws:
com.liferay.portal.SystemException
com.liferay.portal.PortalException

getResourceCodes

@Transactional(propagation=SUPPORTS,
               readOnly=true)
java.util.List<ResourceCode> getResourceCodes(int start,
                                                            int end)
                                              throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getResourceCodesCount

@Transactional(propagation=SUPPORTS,
               readOnly=true)
int getResourceCodesCount()
                          throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateResourceCode

ResourceCode updateResourceCode(ResourceCode resourceCode)
                                throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

getResourceCode

ResourceCode getResourceCode(long companyId,
                             java.lang.String name,
                             int scope)
                             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException