com.liferay.portal.service
Interface ResourceCodeLocalService


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:
com.liferay.portal.service.ResourceCodeServiceFactory, com.liferay.portal.service.ResourceCodeServiceUtil

Method Summary
 ResourceCode addResourceCode(ResourceCode model)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 ResourceCode getResourceCode(long codeId)
           
 ResourceCode getResourceCode(long companyId, java.lang.String name, int scope)
           
 ResourceCode updateResourceCode(ResourceCode model)
           
 

Method Detail

addResourceCode

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

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

dynamicQuery

public java.util.List dynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                   int begin,
                                   int end)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateResourceCode

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

getResourceCode

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

getResourceCode

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