|
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.ResourceTypePermissionLocalServiceBaseImpl
@ProviderType public abstract class ResourceTypePermissionLocalServiceBaseImpl
Provides the base implementation for the resource type 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 ResourceTypePermissionLocalServiceImpl.
ResourceTypePermissionLocalServiceImpl,
ResourceTypePermissionLocalServiceUtil| Constructor Summary | |
|---|---|
ResourceTypePermissionLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
ResourceTypePermission |
addResourceTypePermission(ResourceTypePermission resourceTypePermission)
Adds the resource type permission to the database. |
|
void |
afterPropertiesSet()
|
|
ResourceTypePermission |
createResourceTypePermission(long resourceTypePermissionId)
Creates a new resource type permission with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
ResourceTypePermission |
deleteResourceTypePermission(long resourceTypePermissionId)
Deletes the resource type permission with the primary key from the database. |
|
ResourceTypePermission |
deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
Deletes the resource type 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. |
|
ResourceTypePermission |
fetchResourceTypePermission(long resourceTypePermissionId)
|
|
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. |
|
ResourceTypePermission |
getResourceTypePermission(long resourceTypePermissionId)
Returns the resource type permission with the primary key. |
|
ResourceTypePermissionFinder |
getResourceTypePermissionFinder()
Returns the resource type permission finder. |
|
ResourceTypePermissionLocalService |
getResourceTypePermissionLocalService()
Returns the resource type permission local service. |
|
ResourceTypePermissionPersistence |
getResourceTypePermissionPersistence()
Returns the resource type permission persistence. |
|
List<ResourceTypePermission> |
getResourceTypePermissions(int start,
int end)
Returns a range of all the resource type permissions. |
|
int |
getResourceTypePermissionsCount()
Returns the number of resource type permissions. |
|
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 |
setResourceTypePermissionFinder(ResourceTypePermissionFinder resourceTypePermissionFinder)
Sets the resource type permission finder. |
|
void |
setResourceTypePermissionLocalService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
Sets the resource type permission local service. |
|
void |
setResourceTypePermissionPersistence(ResourceTypePermissionPersistence resourceTypePermissionPersistence)
Sets the resource type permission persistence. |
|
ResourceTypePermission |
updateResourceTypePermission(ResourceTypePermission resourceTypePermission)
Updates the resource type 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=ResourceTypePermissionLocalService.class) protected ResourceTypePermissionLocalService resourceTypePermissionLocalService
@BeanReference(type=ResourceTypePermissionPersistence.class) protected ResourceTypePermissionPersistence resourceTypePermissionPersistence
@BeanReference(type=ResourceTypePermissionFinder.class) protected ResourceTypePermissionFinder resourceTypePermissionFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceActionLocalService.class) protected ResourceActionLocalService resourceActionLocalService
@BeanReference(type=ResourceActionPersistence.class) protected ResourceActionPersistence resourceActionPersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public ResourceTypePermissionLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public ResourceTypePermission addResourceTypePermission(ResourceTypePermission resourceTypePermission)
addResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key for the new resource type permission
@Indexable(type=DELETE)
public ResourceTypePermission deleteResourceTypePermission(long resourceTypePermissionId)
throws PortalException
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permission
PortalException - if a resource type permission with the primary key could not be found@Indexable(type=DELETE) public ResourceTypePermission deleteResourceTypePermission(ResourceTypePermission resourceTypePermission)
deleteResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public DynamicQuery dynamicQuery()
dynamicQuery in interface ResourceTypePermissionLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface ResourceTypePermissionLocalServicedynamicQuery - 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 ResourceTypePermissionModelImpl. 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 ResourceTypePermissionLocalServicedynamicQuery - 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 ResourceTypePermissionModelImpl. 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 ResourceTypePermissionLocalServicedynamicQuery - 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 ResourceTypePermissionLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface ResourceTypePermissionLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId)
fetchResourceTypePermission in interface ResourceTypePermissionLocalService
public ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId)
throws PortalException
getResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermissionId - the primary key of the resource type permission
PortalException - if a resource type permission with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface ResourceTypePermissionLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface ResourceTypePermissionLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface ResourceTypePermissionLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface ResourceTypePermissionLocalServicePortalException
public List<ResourceTypePermission> getResourceTypePermissions(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 ResourceTypePermissionModelImpl. 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.
getResourceTypePermissions in interface ResourceTypePermissionLocalServicestart - the lower bound of the range of resource type permissionsend - the upper bound of the range of resource type permissions (not inclusive)
public int getResourceTypePermissionsCount()
getResourceTypePermissionsCount in interface ResourceTypePermissionLocalService@Indexable(type=REINDEX) public ResourceTypePermission updateResourceTypePermission(ResourceTypePermission resourceTypePermission)
updateResourceTypePermission in interface ResourceTypePermissionLocalServiceresourceTypePermission - the resource type permission
public ResourceTypePermissionLocalService getResourceTypePermissionLocalService()
public void setResourceTypePermissionLocalService(ResourceTypePermissionLocalService resourceTypePermissionLocalService)
resourceTypePermissionLocalService - the resource type permission local servicepublic ResourceTypePermissionPersistence getResourceTypePermissionPersistence()
public void setResourceTypePermissionPersistence(ResourceTypePermissionPersistence resourceTypePermissionPersistence)
resourceTypePermissionPersistence - the resource type permission persistencepublic ResourceTypePermissionFinder getResourceTypePermissionFinder()
public void setResourceTypePermissionFinder(ResourceTypePermissionFinder resourceTypePermissionFinder)
resourceTypePermissionFinder - the resource type 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 void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface ResourceTypePermissionLocalServiceprotected 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 | |||||||||