|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.BaseLocalServiceImpl
com.liferay.portal.service.base.ResourcePermissionLocalServiceBaseImpl
@ProviderType public abstract class ResourcePermissionLocalServiceBaseImpl
Provides the base implementation for the resource permission local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in ResourcePermissionLocalServiceImpl.
ResourcePermissionLocalServiceImpl,
ResourcePermissionLocalServiceUtil| Field Summary | |
|---|---|
protected CounterLocalService |
counterLocalService
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
protected ResourceActionLocalService |
resourceActionLocalService
|
protected ResourceActionPersistence |
resourceActionPersistence
|
protected ResourcePermissionFinder |
resourcePermissionFinder
|
protected ResourcePermissionLocalService |
resourcePermissionLocalService
|
protected ResourcePermissionPersistence |
resourcePermissionPersistence
|
protected RoleFinder |
roleFinder
|
protected RoleLocalService |
roleLocalService
|
protected RolePersistence |
rolePersistence
|
| Constructor Summary | |
|---|---|
ResourcePermissionLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
ResourcePermission |
addResourcePermission(ResourcePermission resourcePermission)
Adds the resource permission to the database. |
|
void |
afterPropertiesSet()
|
|
ResourcePermission |
createResourcePermission(long resourcePermissionId)
Creates a new resource permission with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
ResourcePermission |
deleteResourcePermission(long resourcePermissionId)
Deletes the resource permission with the primary key from the database. |
|
ResourcePermission |
deleteResourcePermission(ResourcePermission resourcePermission)
Deletes the resource permission from the database. |
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
ResourcePermission |
fetchResourcePermission(long resourcePermissionId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
ResourceActionLocalService |
getResourceActionLocalService()
Returns the resource action local service. |
|
ResourceActionPersistence |
getResourceActionPersistence()
Returns the resource action persistence. |
|
ResourcePermission |
getResourcePermission(long resourcePermissionId)
Returns the resource permission with the primary key. |
|
ResourcePermissionFinder |
getResourcePermissionFinder()
Returns the resource permission finder. |
|
ResourcePermissionLocalService |
getResourcePermissionLocalService()
Returns the resource permission local service. |
|
ResourcePermissionPersistence |
getResourcePermissionPersistence()
Returns the resource permission persistence. |
|
List<ResourcePermission> |
getResourcePermissions(int start,
int end)
Returns a range of all the resource permissions. |
|
int |
getResourcePermissionsCount()
Returns the number of resource permissions. |
|
RoleFinder |
getRoleFinder()
Returns the role finder. |
|
RoleLocalService |
getRoleLocalService()
Returns the role local service. |
|
RolePersistence |
getRolePersistence()
Returns the role persistence. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setResourceActionLocalService(ResourceActionLocalService resourceActionLocalService)
Sets the resource action local service. |
|
void |
setResourceActionPersistence(ResourceActionPersistence resourceActionPersistence)
Sets the resource action persistence. |
|
void |
setResourcePermissionFinder(ResourcePermissionFinder resourcePermissionFinder)
Sets the resource permission finder. |
|
void |
setResourcePermissionLocalService(ResourcePermissionLocalService resourcePermissionLocalService)
Sets the resource permission local service. |
|
void |
setResourcePermissionPersistence(ResourcePermissionPersistence resourcePermissionPersistence)
Sets the resource permission persistence. |
|
void |
setRoleFinder(RoleFinder roleFinder)
Sets the role finder. |
|
void |
setRoleLocalService(RoleLocalService roleLocalService)
Sets the role local service. |
|
void |
setRolePersistence(RolePersistence rolePersistence)
Sets the role persistence. |
|
ResourcePermission |
updateResourcePermission(ResourcePermission resourcePermission)
Updates the resource permission in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
@BeanReference(type=ResourcePermissionLocalService.class) protected ResourcePermissionLocalService resourcePermissionLocalService
@BeanReference(type=ResourcePermissionPersistence.class) protected ResourcePermissionPersistence resourcePermissionPersistence
@BeanReference(type=ResourcePermissionFinder.class) protected ResourcePermissionFinder resourcePermissionFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceActionLocalService.class) protected ResourceActionLocalService resourceActionLocalService
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=RoleLocalService.class) protected RoleLocalService roleLocalService
@BeanReference(type=RolePersistence.class) protected RolePersistence rolePersistence
@BeanReference(type=RoleFinder.class) protected RoleFinder roleFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public ResourcePermissionLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public ResourcePermission addResourcePermission(ResourcePermission resourcePermission)
addResourcePermission in interface ResourcePermissionLocalServiceresourcePermission - the resource permission
public ResourcePermission createResourcePermission(long resourcePermissionId)
createResourcePermission in interface ResourcePermissionLocalServiceresourcePermissionId - the primary key for the new resource permission
@Indexable(type=DELETE)
public ResourcePermission deleteResourcePermission(long resourcePermissionId)
throws PortalException
deleteResourcePermission in interface ResourcePermissionLocalServiceresourcePermissionId - the primary key of the resource permission
PortalException - if a resource permission with the primary key could not be found@Indexable(type=DELETE) public ResourcePermission deleteResourcePermission(ResourcePermission resourcePermission)
deleteResourcePermission in interface ResourcePermissionLocalServiceresourcePermission - the resource permission
public DynamicQuery dynamicQuery()
dynamicQuery in interface ResourcePermissionLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ResourcePermissionLocalServicedynamicQuery - the dynamic query
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourcePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ResourcePermissionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourcePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
dynamicQuery in interface ResourcePermissionLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
public long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface ResourcePermissionLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface ResourcePermissionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public ResourcePermission fetchResourcePermission(long resourcePermissionId)
fetchResourcePermission in interface ResourcePermissionLocalService
public ResourcePermission getResourcePermission(long resourcePermissionId)
throws PortalException
getResourcePermission in interface ResourcePermissionLocalServiceresourcePermissionId - the primary key of the resource permission
PortalException - if a resource permission with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ResourcePermissionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ResourcePermissionLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface ResourcePermissionLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ResourcePermissionLocalServicePortalException
public List<ResourcePermission> getResourcePermissions(int start,
int end)
Useful when paginating results. Returns a maximum of end - start instances. start and end are not primary keys, they are indexes in the result set. Thus, 0 refers to the first result in the set. Setting both start and end to QueryUtil.ALL_POS will return the full result set. If orderByComparator is specified, then the query will include the given ORDER BY logic. If orderByComparator is absent and pagination is required (start and end are not QueryUtil.ALL_POS), then the query will include the default ORDER BY logic from ResourcePermissionModelImpl. If both orderByComparator and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
getResourcePermissions in interface ResourcePermissionLocalServicestart - the lower bound of the range of resource permissionsend - the upper bound of the range of resource permissions (not inclusive)
public int getResourcePermissionsCount()
getResourcePermissionsCount in interface ResourcePermissionLocalService@Indexable(type=REINDEX) public ResourcePermission updateResourcePermission(ResourcePermission resourcePermission)
updateResourcePermission in interface ResourcePermissionLocalServiceresourcePermission - the resource permission
public ResourcePermissionLocalService getResourcePermissionLocalService()
public void setResourcePermissionLocalService(ResourcePermissionLocalService resourcePermissionLocalService)
resourcePermissionLocalService - the resource permission local servicepublic ResourcePermissionPersistence getResourcePermissionPersistence()
public void setResourcePermissionPersistence(ResourcePermissionPersistence resourcePermissionPersistence)
resourcePermissionPersistence - the resource permission persistencepublic ResourcePermissionFinder getResourcePermissionFinder()
public void setResourcePermissionFinder(ResourcePermissionFinder resourcePermissionFinder)
resourcePermissionFinder - the resource permission finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic ResourceActionLocalService getResourceActionLocalService()
public void setResourceActionLocalService(ResourceActionLocalService resourceActionLocalService)
resourceActionLocalService - the resource action local servicepublic ResourceActionPersistence getResourceActionPersistence()
public void setResourceActionPersistence(ResourceActionPersistence resourceActionPersistence)
resourceActionPersistence - the resource action persistencepublic RoleLocalService getRoleLocalService()
public void setRoleLocalService(RoleLocalService roleLocalService)
roleLocalService - the role local servicepublic RolePersistence getRolePersistence()
public void setRolePersistence(RolePersistence rolePersistence)
rolePersistence - the role persistencepublic RoleFinder getRoleFinder()
public void setRoleFinder(RoleFinder roleFinder)
roleFinder - the role finderpublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface ResourcePermissionLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||