com.liferay.portal.service
Interface ResourceCodeLocalService
- All Known Implementing Classes:
- ResourceCodeLocalServiceWrapper
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,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
- Generated:
Method Summary |
ResourceCode |
addResourceCode(long companyId,
java.lang.String name,
int scope)
|
ResourceCode |
addResourceCode(ResourceCode resourceCode)
|
void |
checkResourceCodes()
|
void |
checkResourceCodes(long companyId,
java.lang.String name)
|
ResourceCode |
createResourceCode(long codeId)
|
void |
deleteResourceCode(long codeId)
|
void |
deleteResourceCode(ResourceCode resourceCode)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
|
java.util.List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
|
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)
|
ResourceCode |
updateResourceCode(ResourceCode resourceCode,
boolean merge)
|
addResourceCode
ResourceCode addResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
createResourceCode
ResourceCode createResourceCode(long codeId)
deleteResourceCode
void deleteResourceCode(long codeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
deleteResourceCode
void deleteResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
throws SystemException
- Throws:
SystemException
dynamicQuery
java.util.List dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
- Throws:
SystemException
dynamicQueryCount
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
- Throws:
SystemException
getResourceCode
@Transactional(propagation=SUPPORTS,
readOnly=true)
ResourceCode getResourceCode(long codeId)
throws PortalException,
SystemException
- Throws:
PortalException
SystemException
getResourceCodes
@Transactional(propagation=SUPPORTS,
readOnly=true)
java.util.List<ResourceCode> getResourceCodes(int start,
int end)
throws SystemException
- Throws:
SystemException
getResourceCodesCount
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getResourceCodesCount()
throws SystemException
- Throws:
SystemException
updateResourceCode
ResourceCode updateResourceCode(ResourceCode resourceCode)
throws SystemException
- Throws:
SystemException
updateResourceCode
ResourceCode updateResourceCode(ResourceCode resourceCode,
boolean merge)
throws SystemException
- Throws:
SystemException
addResourceCode
ResourceCode addResourceCode(long companyId,
java.lang.String name,
int scope)
throws SystemException
- Throws:
SystemException
checkResourceCodes
void checkResourceCodes()
throws SystemException
- Throws:
SystemException
checkResourceCodes
void checkResourceCodes(long companyId,
java.lang.String name)
throws SystemException
- Throws:
SystemException
getResourceCode
@Transactional(propagation=SUPPORTS,
readOnly=true)
ResourceCode getResourceCode(long companyId,
java.lang.String name,
int scope)
throws SystemException
- Throws:
SystemException