@Deprecated
public abstract class ResourceTypePermissionLocalServiceBaseImpl
extends com.liferay.portal.kernel.service.BaseLocalServiceImpl
implements com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService, com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
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
Modifier and Type | Field and Description |
---|---|
protected com.liferay.counter.kernel.service.CounterLocalService |
counterLocalService
Deprecated.
|
protected com.liferay.counter.kernel.service.persistence.CounterPersistence |
counterPersistence
Deprecated.
|
protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
Deprecated.
|
protected com.liferay.portal.kernel.service.ResourceActionLocalService |
resourceActionLocalService
Deprecated.
|
protected com.liferay.portal.kernel.service.persistence.ResourceActionPersistence |
resourceActionPersistence
Deprecated.
|
protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder |
resourceTypePermissionFinder
Deprecated.
|
protected com.liferay.portal.kernel.service.ResourceTypePermissionLocalService |
resourceTypePermissionLocalService
Deprecated.
|
protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence |
resourceTypePermissionPersistence
Deprecated.
|
Constructor and Description |
---|
ResourceTypePermissionLocalServiceBaseImpl()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
com.liferay.portal.kernel.model.ResourceTypePermission |
addResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Deprecated.
Adds the resource type permission to the database.
|
void |
afterPropertiesSet()
Deprecated.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
createResourceTypePermission(long resourceTypePermissionId)
Deprecated.
Creates a new resource type permission with the primary key.
|
com.liferay.portal.kernel.model.PersistedModel |
deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel)
Deprecated.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
deleteResourceTypePermission(long resourceTypePermissionId)
Deprecated.
Deletes the resource type permission with the primary key from the database.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
deleteResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Deprecated.
Deletes the resource type permission from the database.
|
void |
destroy()
Deprecated.
|
com.liferay.portal.kernel.dao.orm.DynamicQuery |
dynamicQuery()
Deprecated.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Deprecated.
Performs a dynamic query on the database and returns the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
Deprecated.
Performs a dynamic query on the database and returns a range of the matching rows.
|
<T> List<T> |
dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator)
Deprecated.
Performs a dynamic query on the database and returns an ordered range of the matching rows.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
Deprecated.
Returns the number of rows matching the dynamic query.
|
long |
dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
com.liferay.portal.kernel.dao.orm.Projection projection)
Deprecated.
Returns the number of rows matching the dynamic query.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
fetchResourceTypePermission(long resourceTypePermissionId)
Deprecated.
|
com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery |
getActionableDynamicQuery()
Deprecated.
|
com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourceTypePermission> |
getBasePersistence()
Deprecated.
|
com.liferay.counter.kernel.service.CounterLocalService |
getCounterLocalService()
Deprecated.
Returns the counter local service.
|
com.liferay.counter.kernel.service.persistence.CounterPersistence |
getCounterPersistence()
Deprecated.
Returns the counter persistence.
|
com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
Deprecated.
|
protected Class<?> |
getModelClass()
Deprecated.
|
protected String |
getModelClassName()
Deprecated.
|
String |
getOSGiServiceIdentifier()
Deprecated.
Returns the OSGi service identifier.
|
com.liferay.portal.kernel.model.PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
Deprecated.
|
com.liferay.portal.kernel.service.ResourceActionLocalService |
getResourceActionLocalService()
Deprecated.
Returns the resource action local service.
|
com.liferay.portal.kernel.service.persistence.ResourceActionPersistence |
getResourceActionPersistence()
Deprecated.
Returns the resource action persistence.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
getResourceTypePermission(long resourceTypePermissionId)
Deprecated.
Returns the resource type permission with the primary key.
|
com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder |
getResourceTypePermissionFinder()
Deprecated.
Returns the resource type permission finder.
|
com.liferay.portal.kernel.service.ResourceTypePermissionLocalService |
getResourceTypePermissionLocalService()
Deprecated.
Returns the resource type permission local service.
|
com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence |
getResourceTypePermissionPersistence()
Deprecated.
Returns the resource type permission persistence.
|
List<com.liferay.portal.kernel.model.ResourceTypePermission> |
getResourceTypePermissions(int start,
int end)
Deprecated.
Returns a range of all the resource type permissions.
|
int |
getResourceTypePermissionsCount()
Deprecated.
Returns the number of resource type permissions.
|
protected void |
initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
Deprecated.
|
protected void |
runSQL(String sql)
Deprecated.
Performs a SQL query.
|
void |
setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
Deprecated.
Sets the counter local service.
|
void |
setCounterPersistence(com.liferay.counter.kernel.service.persistence.CounterPersistence counterPersistence)
Deprecated.
Sets the counter persistence.
|
void |
setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
Deprecated.
Sets the resource action local service.
|
void |
setResourceActionPersistence(com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence)
Deprecated.
Sets the resource action persistence.
|
void |
setResourceTypePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder)
Deprecated.
Sets the resource type permission finder.
|
void |
setResourceTypePermissionLocalService(com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService)
Deprecated.
Sets the resource type permission local service.
|
void |
setResourceTypePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence)
Deprecated.
Sets the resource type permission persistence.
|
com.liferay.portal.kernel.model.ResourceTypePermission |
updateResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Deprecated.
Updates the resource type permission in the database or adds it if it does not yet exist.
|
getClassLoader, getLocalizationMap
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
fetchResourceTypePermission, getCompanyScopeActionIds, getGroupScopeActionIds, getGroupScopeResourceTypePermissions, getResourceBlockPermissionsContainer, getRoleResourceTypePermissions, hasCompanyScopePermission, hasEitherScopePermission, hasGroupScopePermission, updateCompanyScopeResourceTypePermissions, updateGroupScopeResourceTypePermissions
@BeanReference(type=com.liferay.portal.kernel.service.ResourceTypePermissionLocalService.class) protected com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence.class) protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder.class) protected com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder
@BeanReference(type=com.liferay.counter.kernel.service.CounterLocalService.class) protected com.liferay.counter.kernel.service.CounterLocalService counterLocalService
@BeanReference(type=com.liferay.counter.kernel.service.persistence.CounterPersistence.class) protected com.liferay.counter.kernel.service.persistence.CounterPersistence counterPersistence
@BeanReference(type=com.liferay.portal.kernel.service.ResourceActionLocalService.class) protected com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService
@BeanReference(type=com.liferay.portal.kernel.service.persistence.ResourceActionPersistence.class) protected com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence
@BeanReference(type=com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry.class) protected com.liferay.portal.kernel.service.PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
public ResourceTypePermissionLocalServiceBaseImpl()
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.ResourceTypePermission addResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Important: Inspect ResourceTypePermissionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
addResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permission@Transactional(enabled=false) public com.liferay.portal.kernel.model.ResourceTypePermission createResourceTypePermission(long resourceTypePermissionId)
createResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermissionId
- the primary key for the new resource type permission@Indexable(type=DELETE) public com.liferay.portal.kernel.model.ResourceTypePermission deleteResourceTypePermission(long resourceTypePermissionId) throws com.liferay.portal.kernel.exception.PortalException
Important: Inspect ResourceTypePermissionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermissionId
- the primary key of the resource type permissioncom.liferay.portal.kernel.exception.PortalException
- if a resource type permission with the primary key could not be found@Indexable(type=DELETE) public com.liferay.portal.kernel.model.ResourceTypePermission deleteResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Important: Inspect ResourceTypePermissionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
deleteResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permissionpublic com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery()
dynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
public <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
dynamicQuery
- the dynamic querypublic <T> List<T> dynamicQuery(com.liferay.portal.kernel.dao.orm.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.ResourceTypePermissionModelImpl
.
dynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end, com.liferay.portal.kernel.util.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.ResourceTypePermissionModelImpl
.
dynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
dynamicQuery
- 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(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
dynamicQueryCount
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
dynamicQuery
- the dynamic querypublic long dynamicQueryCount(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, com.liferay.portal.kernel.dao.orm.Projection projection)
dynamicQueryCount
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the querypublic com.liferay.portal.kernel.model.ResourceTypePermission fetchResourceTypePermission(long resourceTypePermissionId)
fetchResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
public com.liferay.portal.kernel.model.ResourceTypePermission getResourceTypePermission(long resourceTypePermissionId) throws com.liferay.portal.kernel.exception.PortalException
getResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermissionId
- the primary key of the resource type permissioncom.liferay.portal.kernel.exception.PortalException
- if a resource type permission with the primary key could not be foundpublic com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
public com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
protected void initActionableDynamicQuery(com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery actionableDynamicQuery)
public com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(com.liferay.portal.kernel.model.PersistedModel persistedModel) throws com.liferay.portal.kernel.exception.PortalException
deletePersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
deletePersistedModel
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
com.liferay.portal.kernel.exception.PortalException
public com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.ResourceTypePermission> getBasePersistence()
public com.liferay.portal.kernel.model.PersistedModel getPersistedModel(Serializable primaryKeyObj) throws com.liferay.portal.kernel.exception.PortalException
getPersistedModel
in interface com.liferay.portal.kernel.service.PersistedModelLocalService
getPersistedModel
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
com.liferay.portal.kernel.exception.PortalException
public List<com.liferay.portal.kernel.model.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 com.liferay.portal.kernel.dao.orm.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, then the query will include the default ORDER BY logic from com.liferay.portal.model.impl.ResourceTypePermissionModelImpl
.
getResourceTypePermissions
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
start
- 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 com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
@Indexable(type=REINDEX) public com.liferay.portal.kernel.model.ResourceTypePermission updateResourceTypePermission(com.liferay.portal.kernel.model.ResourceTypePermission resourceTypePermission)
Important: Inspect ResourceTypePermissionLocalServiceImpl for overloaded versions of the method. If provided, use these entry points to the API, as the implementation logic may require the additional parameters defined there.
updateResourceTypePermission
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
resourceTypePermission
- the resource type permissionpublic com.liferay.portal.kernel.service.ResourceTypePermissionLocalService getResourceTypePermissionLocalService()
public void setResourceTypePermissionLocalService(com.liferay.portal.kernel.service.ResourceTypePermissionLocalService resourceTypePermissionLocalService)
resourceTypePermissionLocalService
- the resource type permission local servicepublic com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence getResourceTypePermissionPersistence()
public void setResourceTypePermissionPersistence(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionPersistence resourceTypePermissionPersistence)
resourceTypePermissionPersistence
- the resource type permission persistencepublic com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder getResourceTypePermissionFinder()
public void setResourceTypePermissionFinder(com.liferay.portal.kernel.service.persistence.ResourceTypePermissionFinder resourceTypePermissionFinder)
resourceTypePermissionFinder
- the resource type permission finderpublic com.liferay.counter.kernel.service.CounterLocalService getCounterLocalService()
public void setCounterLocalService(com.liferay.counter.kernel.service.CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic com.liferay.counter.kernel.service.persistence.CounterPersistence getCounterPersistence()
public void setCounterPersistence(com.liferay.counter.kernel.service.persistence.CounterPersistence counterPersistence)
counterPersistence
- the counter persistencepublic com.liferay.portal.kernel.service.ResourceActionLocalService getResourceActionLocalService()
public void setResourceActionLocalService(com.liferay.portal.kernel.service.ResourceActionLocalService resourceActionLocalService)
resourceActionLocalService
- the resource action local servicepublic com.liferay.portal.kernel.service.persistence.ResourceActionPersistence getResourceActionPersistence()
public void setResourceActionPersistence(com.liferay.portal.kernel.service.persistence.ResourceActionPersistence resourceActionPersistence)
resourceActionPersistence
- the resource action persistencepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.module.framework.service.IdentifiableOSGiService
getOSGiServiceIdentifier
in interface com.liferay.portal.kernel.service.ResourceTypePermissionLocalService
protected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql
- the sql query