com.liferay.portal.service.impl
Class ResourceLocalServiceImpl
java.lang.Object
com.liferay.portal.service.base.ResourceLocalServiceBaseImpl
com.liferay.portal.service.impl.ResourceLocalServiceImpl
- All Implemented Interfaces:
- com.liferay.portal.kernel.bean.InitializingBean, com.liferay.portal.service.ResourceLocalService
public class ResourceLocalServiceImpl
- extends ResourceLocalServiceBaseImpl
View Source
- Author:
- Brian Wing Shun Chan, Wilson S. Man, Raymond Augé
Fields inherited from class com.liferay.portal.service.base.ResourceLocalServiceBaseImpl |
accountLocalService, accountPersistence, accountService, addressLocalService, addressPersistence, addressService, classNameLocalService, classNamePersistence, classNameService, companyLocalService, companyPersistence, companyService, contactLocalService, contactPersistence, contactService, counterLocalService, counterService, countryPersistence, countryService, emailAddressLocalService, emailAddressPersistence, emailAddressService, groupFinder, groupLocalService, groupPersistence, groupService, imageLocalService, imagePersistence, layoutFinder, layoutLocalService, layoutPersistence, layoutService, layoutSetLocalService, layoutSetPersistence, layoutSetService, layoutTemplateLocalService, listTypePersistence, listTypeService, membershipRequestLocalService, membershipRequestPersistence, membershipRequestService, organizationFinder, organizationLocalService, organizationPersistence, organizationService, orgGroupPermissionFinder, orgGroupPermissionPersistence, orgGroupRolePersistence, orgLaborLocalService, orgLaborPersistence, orgLaborService, passwordPolicyFinder, passwordPolicyLocalService, passwordPolicyPersistence, passwordPolicyRelLocalService, passwordPolicyRelPersistence, passwordPolicyService, passwordTrackerLocalService, passwordTrackerPersistence, permissionFinder, permissionLocalService, permissionPersistence, permissionService, permissionUserFinder, phoneLocalService, phonePersistence, phoneService, pluginSettingLocalService, pluginSettingPersistence, pluginSettingService, portalService, portletItemLocalService, portletItemPersistence, portletLocalService, portletPersistence, portletPreferencesFinder, portletPreferencesLocalService, portletPreferencesPersistence, portletPreferencesService, portletService, regionPersistence, regionService, releaseLocalService, releasePersistence, resourceCodeLocalService, resourceCodePersistence, resourceFinder, resourcePersistence, roleFinder, roleLocalService, rolePersistence, roleService, serviceComponentLocalService, serviceComponentPersistence, subscriptionLocalService, subscriptionPersistence, themeLocalService, userFinder, userGroupFinder, userGroupLocalService, userGroupPersistence, userGroupRoleLocalService, userGroupRolePersistence, userGroupRoleService, userGroupService, userIdMapperLocalService, userIdMapperPersistence, userLocalService, userPersistence, userService, userTrackerLocalService, userTrackerPathLocalService, userTrackerPathPersistence, userTrackerPersistence, webDAVPropsLocalService, webDAVPropsPersistence, websiteLocalService, websitePersistence, websiteService |
Method Summary |
protected void |
addCommunityPermissions(long companyId,
long groupId,
long userId,
java.lang.String name,
com.liferay.portal.model.Resource resource,
boolean portletActions)
|
protected void |
addGuestPermissions(long companyId,
long groupId,
long userId,
java.lang.String name,
com.liferay.portal.model.Resource resource,
boolean portletActions)
|
void |
addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
void |
addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
|
com.liferay.portal.model.Resource |
addResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
void |
addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
|
void |
addResources(long companyId,
long groupId,
java.lang.String name,
boolean portletActions)
|
void |
deleteResource(long resourceId)
|
void |
deleteResource(long companyId,
java.lang.String name,
int scope,
long primKey)
|
void |
deleteResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
void |
deleteResource(com.liferay.portal.model.Resource resource)
|
void |
deleteResources(java.lang.String name)
|
long |
getLatestResourceId()
|
com.liferay.portal.model.Resource |
getResource(long resourceId)
|
com.liferay.portal.model.Resource |
getResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
|
java.util.List<com.liferay.portal.model.Resource> |
getResources()
|
protected void |
logAddCommunityPermissions(long groupId,
java.lang.String name,
long resourceId,
org.apache.commons.lang.time.StopWatch stopWatch,
int block)
|
protected void |
logAddResources(java.lang.String name,
java.lang.String primKey,
org.apache.commons.lang.time.StopWatch stopWatch,
int block)
|
protected void |
validate(long companyId,
java.lang.String name,
boolean portletActions)
|
Methods inherited from class com.liferay.portal.service.base.ResourceLocalServiceBaseImpl |
addResource, afterPropertiesSet, dynamicQuery, dynamicQuery, getAccountLocalService, getAccountPersistence, getAccountService, getAddressLocalService, getAddressPersistence, getAddressService, getClassNameLocalService, getClassNamePersistence, getClassNameService, getCompanyLocalService, getCompanyPersistence, getCompanyService, getContactLocalService, getContactPersistence, getContactService, getCounterLocalService, getCounterService, getCountryPersistence, getCountryService, getEmailAddressLocalService, getEmailAddressPersistence, getEmailAddressService, getGroupFinder, getGroupLocalService, getGroupPersistence, getGroupService, getImageLocalService, getImagePersistence, getLayoutFinder, getLayoutLocalService, getLayoutPersistence, getLayoutService, getLayoutSetLocalService, getLayoutSetPersistence, getLayoutSetService, getLayoutTemplateLocalService, getListTypePersistence, getListTypeService, getMembershipRequestLocalService, getMembershipRequestPersistence, getMembershipRequestService, getOrganizationFinder, getOrganizationLocalService, getOrganizationPersistence, getOrganizationService, getOrgGroupPermissionFinder, getOrgGroupPermissionPersistence, getOrgGroupRolePersistence, getOrgLaborLocalService, getOrgLaborPersistence, getOrgLaborService, getPasswordPolicyFinder, getPasswordPolicyLocalService, getPasswordPolicyPersistence, getPasswordPolicyRelLocalService, getPasswordPolicyRelPersistence, getPasswordPolicyService, getPasswordTrackerLocalService, getPasswordTrackerPersistence, getPermissionFinder, getPermissionLocalService, getPermissionPersistence, getPermissionService, getPermissionUserFinder, getPhoneLocalService, getPhonePersistence, getPhoneService, getPluginSettingLocalService, getPluginSettingPersistence, getPluginSettingService, getPortalService, getPortletItemLocalService, getPortletItemPersistence, getPortletLocalService, getPortletPersistence, getPortletPreferencesFinder, getPortletPreferencesLocalService, getPortletPreferencesPersistence, getPortletPreferencesService, getPortletService, getRegionPersistence, getRegionService, getReleaseLocalService, getReleasePersistence, getResourceCodeLocalService, getResourceCodePersistence, getResourceFinder, getResourcePersistence, getResources, getResourcesCount, getRoleFinder, getRoleLocalService, getRolePersistence, getRoleService, getServiceComponentLocalService, getServiceComponentPersistence, getSubscriptionLocalService, getSubscriptionPersistence, getThemeLocalService, getUserFinder, getUserGroupFinder, getUserGroupLocalService, getUserGroupPersistence, getUserGroupRoleLocalService, getUserGroupRolePersistence, getUserGroupRoleService, getUserGroupService, getUserIdMapperLocalService, getUserIdMapperPersistence, getUserLocalService, getUserPersistence, getUserService, getUserTrackerLocalService, getUserTrackerPathLocalService, getUserTrackerPathPersistence, getUserTrackerPersistence, getWebDAVPropsLocalService, getWebDAVPropsPersistence, getWebsiteLocalService, getWebsitePersistence, getWebsiteService, setAccountLocalService, setAccountPersistence, setAccountService, setAddressLocalService, setAddressPersistence, setAddressService, setClassNameLocalService, setClassNamePersistence, setClassNameService, setCompanyLocalService, setCompanyPersistence, setCompanyService, setContactLocalService, setContactPersistence, setContactService, setCounterLocalService, setCounterService, setCountryPersistence, setCountryService, setEmailAddressLocalService, setEmailAddressPersistence, setEmailAddressService, setGroupFinder, setGroupLocalService, setGroupPersistence, setGroupService, setImageLocalService, setImagePersistence, setLayoutFinder, setLayoutLocalService, setLayoutPersistence, setLayoutService, setLayoutSetLocalService, setLayoutSetPersistence, setLayoutSetService, setLayoutTemplateLocalService, setListTypePersistence, setListTypeService, setMembershipRequestLocalService, setMembershipRequestPersistence, setMembershipRequestService, setOrganizationFinder, setOrganizationLocalService, setOrganizationPersistence, setOrganizationService, setOrgGroupPermissionFinder, setOrgGroupPermissionPersistence, setOrgGroupRolePersistence, setOrgLaborLocalService, setOrgLaborPersistence, setOrgLaborService, setPasswordPolicyFinder, setPasswordPolicyLocalService, setPasswordPolicyPersistence, setPasswordPolicyRelLocalService, setPasswordPolicyRelPersistence, setPasswordPolicyService, setPasswordTrackerLocalService, setPasswordTrackerPersistence, setPermissionFinder, setPermissionLocalService, setPermissionPersistence, setPermissionService, setPermissionUserFinder, setPhoneLocalService, setPhonePersistence, setPhoneService, setPluginSettingLocalService, setPluginSettingPersistence, setPluginSettingService, setPortalService, setPortletItemLocalService, setPortletItemPersistence, setPortletLocalService, setPortletPersistence, setPortletPreferencesFinder, setPortletPreferencesLocalService, setPortletPreferencesPersistence, setPortletPreferencesService, setPortletService, setRegionPersistence, setRegionService, setReleaseLocalService, setReleasePersistence, setResourceCodeLocalService, setResourceCodePersistence, setResourceFinder, setResourcePersistence, setRoleFinder, setRoleLocalService, setRolePersistence, setRoleService, setServiceComponentLocalService, setServiceComponentPersistence, setSubscriptionLocalService, setSubscriptionPersistence, setThemeLocalService, setUserFinder, setUserGroupFinder, setUserGroupLocalService, setUserGroupPersistence, setUserGroupRoleLocalService, setUserGroupRolePersistence, setUserGroupRoleService, setUserGroupService, setUserIdMapperLocalService, setUserIdMapperPersistence, setUserLocalService, setUserPersistence, setUserService, setUserTrackerLocalService, setUserTrackerPathLocalService, setUserTrackerPathPersistence, setUserTrackerPersistence, setWebDAVPropsLocalService, setWebDAVPropsPersistence, setWebsiteLocalService, setWebsitePersistence, setWebsiteService, updateResource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceLocalServiceImpl
public ResourceLocalServiceImpl()
addModelResources
public void addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addModelResources
public void addModelResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
java.lang.String[] communityPermissions,
java.lang.String[] guestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addResource
public com.liferay.portal.model.Resource addResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
addResources
public void addResources(long companyId,
long groupId,
java.lang.String name,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addResources
public void addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
long primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addResources
public void addResources(long companyId,
long groupId,
long userId,
java.lang.String name,
java.lang.String primKey,
boolean portletActions,
boolean addCommunityPermissions,
boolean addGuestPermissions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResource
public void deleteResource(long resourceId)
throws com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface com.liferay.portal.service.ResourceLocalService
- Overrides:
deleteResource
in class ResourceLocalServiceBaseImpl
- Throws:
com.liferay.portal.SystemException
deleteResource
public void deleteResource(com.liferay.portal.model.Resource resource)
throws com.liferay.portal.SystemException
- Specified by:
deleteResource
in interface com.liferay.portal.service.ResourceLocalService
- Overrides:
deleteResource
in class ResourceLocalServiceBaseImpl
- Throws:
com.liferay.portal.SystemException
deleteResource
public void deleteResource(long companyId,
java.lang.String name,
int scope,
long primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResource
public void deleteResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
deleteResources
public void deleteResources(java.lang.String name)
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getLatestResourceId
public long getLatestResourceId()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getResource
public com.liferay.portal.model.Resource getResource(long resourceId)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Specified by:
getResource
in interface com.liferay.portal.service.ResourceLocalService
- Overrides:
getResource
in class ResourceLocalServiceBaseImpl
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
getResources
public java.util.List<com.liferay.portal.model.Resource> getResources()
throws com.liferay.portal.SystemException
- Throws:
com.liferay.portal.SystemException
getResource
public com.liferay.portal.model.Resource getResource(long companyId,
java.lang.String name,
int scope,
java.lang.String primKey)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addCommunityPermissions
protected void addCommunityPermissions(long companyId,
long groupId,
long userId,
java.lang.String name,
com.liferay.portal.model.Resource resource,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
addGuestPermissions
protected void addGuestPermissions(long companyId,
long groupId,
long userId,
java.lang.String name,
com.liferay.portal.model.Resource resource,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException
logAddCommunityPermissions
protected void logAddCommunityPermissions(long groupId,
java.lang.String name,
long resourceId,
org.apache.commons.lang.time.StopWatch stopWatch,
int block)
logAddResources
protected void logAddResources(java.lang.String name,
java.lang.String primKey,
org.apache.commons.lang.time.StopWatch stopWatch,
int block)
validate
protected void validate(long companyId,
java.lang.String name,
boolean portletActions)
throws com.liferay.portal.PortalException,
com.liferay.portal.SystemException
- Throws:
com.liferay.portal.PortalException
com.liferay.portal.SystemException