Liferay 7.0-ce-m6

com.liferay.portal.service.base
Class WorkflowDefinitionLinkLocalServiceBaseImpl

java.lang.Object
  extended by com.liferay.portal.service.BaseLocalServiceImpl
      extended by com.liferay.portal.service.base.WorkflowDefinitionLinkLocalServiceBaseImpl
All Implemented Interfaces:
IdentifiableBean, BaseLocalService, PersistedModelLocalService, WorkflowDefinitionLinkLocalService
Direct Known Subclasses:
WorkflowDefinitionLinkLocalServiceImpl

@ProviderType
public abstract class WorkflowDefinitionLinkLocalServiceBaseImpl
extends BaseLocalServiceImpl
implements WorkflowDefinitionLinkLocalService, IdentifiableBean

Provides the base implementation for the workflow definition link 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 WorkflowDefinitionLinkLocalServiceImpl.

See Also:
WorkflowDefinitionLinkLocalServiceImpl, WorkflowDefinitionLinkLocalServiceUtil
ServiceBuilder generated this class. Modifications in this class will be overwritten the next time it is generated.

Field Summary
protected  ClassNameLocalService classNameLocalService
           
protected  ClassNamePersistence classNamePersistence
           
protected  ClassNameService classNameService
           
protected  CounterLocalService counterLocalService
           
protected  PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
           
protected  SubscriptionLocalService subscriptionLocalService
           
protected  SubscriptionPersistence subscriptionPersistence
           
protected  UserFinder userFinder
           
protected  UserLocalService userLocalService
           
protected  UserPersistence userPersistence
           
protected  UserService userService
           
protected  WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService
           
protected  WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence
           
 
Constructor Summary
WorkflowDefinitionLinkLocalServiceBaseImpl()
           
 
Method Summary
 WorkflowDefinitionLink addWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
          Adds the workflow definition link to the database.
 void afterPropertiesSet()
           
 WorkflowDefinitionLink createWorkflowDefinitionLink(long workflowDefinitionLinkId)
          Creates a new workflow definition link with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 WorkflowDefinitionLink deleteWorkflowDefinitionLink(long workflowDefinitionLinkId)
          Deletes the workflow definition link with the primary key from the database.
 WorkflowDefinitionLink deleteWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
          Deletes the workflow definition link from the database.
 void destroy()
           
 DynamicQuery dynamicQuery()
           
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
<T> List<T>
dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
<T> List<T>
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.
 WorkflowDefinitionLink fetchWorkflowDefinitionLink(long workflowDefinitionLinkId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 ClassNameLocalService getClassNameLocalService()
          Returns the class name local service.
 ClassNamePersistence getClassNamePersistence()
          Returns the class name persistence.
 ClassNameService getClassNameService()
          Returns the class name remote service.
 CounterLocalService getCounterLocalService()
          Returns the counter local service.
protected  Class<?> getModelClass()
           
protected  String getModelClassName()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 SubscriptionLocalService getSubscriptionLocalService()
          Returns the subscription local service.
 SubscriptionPersistence getSubscriptionPersistence()
          Returns the subscription persistence.
 UserFinder getUserFinder()
          Returns the user finder.
 UserLocalService getUserLocalService()
          Returns the user local service.
 UserPersistence getUserPersistence()
          Returns the user persistence.
 UserService getUserService()
          Returns the user remote service.
 WorkflowDefinitionLink getWorkflowDefinitionLink(long workflowDefinitionLinkId)
          Returns the workflow definition link with the primary key.
 WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService()
          Returns the workflow definition link local service.
 WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence()
          Returns the workflow definition link persistence.
 List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(int start, int end)
          Returns a range of all the workflow definition links.
 int getWorkflowDefinitionLinksCount()
          Returns the number of workflow definition links.
protected  void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
           
protected  void runSQL(String sql)
          Performs a SQL query.
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setClassNameLocalService(ClassNameLocalService classNameLocalService)
          Sets the class name local service.
 void setClassNamePersistence(ClassNamePersistence classNamePersistence)
          Sets the class name persistence.
 void setClassNameService(ClassNameService classNameService)
          Sets the class name remote service.
 void setCounterLocalService(CounterLocalService counterLocalService)
          Sets the counter local service.
 void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
          Sets the subscription local service.
 void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
          Sets the subscription persistence.
 void setUserFinder(UserFinder userFinder)
          Sets the user finder.
 void setUserLocalService(UserLocalService userLocalService)
          Sets the user local service.
 void setUserPersistence(UserPersistence userPersistence)
          Sets the user persistence.
 void setUserService(UserService userService)
          Sets the user remote service.
 void setWorkflowDefinitionLinkLocalService(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService)
          Sets the workflow definition link local service.
 void setWorkflowDefinitionLinkPersistence(WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence)
          Sets the workflow definition link persistence.
 WorkflowDefinitionLink updateWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
          Updates the workflow definition link 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
 
Methods inherited from interface com.liferay.portal.service.WorkflowDefinitionLinkLocalService
addWorkflowDefinitionLink, deleteWorkflowDefinitionLink, fetchDefaultWorkflowDefinitionLink, fetchWorkflowDefinitionLink, fetchWorkflowDefinitionLink, getDefaultWorkflowDefinitionLink, getWorkflowDefinitionLink, getWorkflowDefinitionLink, getWorkflowDefinitionLinksCount, getWorkflowDefinitionLinksCount, hasWorkflowDefinitionLink, hasWorkflowDefinitionLink, hasWorkflowDefinitionLink, updateWorkflowDefinitionLink, updateWorkflowDefinitionLink, updateWorkflowDefinitionLinks
 

Field Detail

workflowDefinitionLinkLocalService

@BeanReference(type=WorkflowDefinitionLinkLocalService.class)
protected WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService

workflowDefinitionLinkPersistence

@BeanReference(type=WorkflowDefinitionLinkPersistence.class)
protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence

counterLocalService

@BeanReference(type=CounterLocalService.class)
protected CounterLocalService counterLocalService

classNameLocalService

@BeanReference(type=ClassNameLocalService.class)
protected ClassNameLocalService classNameLocalService

classNameService

@BeanReference(type=ClassNameService.class)
protected ClassNameService classNameService

classNamePersistence

@BeanReference(type=ClassNamePersistence.class)
protected ClassNamePersistence classNamePersistence

subscriptionLocalService

@BeanReference(type=SubscriptionLocalService.class)
protected SubscriptionLocalService subscriptionLocalService

subscriptionPersistence

@BeanReference(type=SubscriptionPersistence.class)
protected SubscriptionPersistence subscriptionPersistence

userLocalService

@BeanReference(type=UserLocalService.class)
protected UserLocalService userLocalService

userService

@BeanReference(type=UserService.class)
protected UserService userService

userPersistence

@BeanReference(type=UserPersistence.class)
protected UserPersistence userPersistence

userFinder

@BeanReference(type=UserFinder.class)
protected UserFinder userFinder

persistedModelLocalServiceRegistry

@BeanReference(type=PersistedModelLocalServiceRegistry.class)
protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail

WorkflowDefinitionLinkLocalServiceBaseImpl

public WorkflowDefinitionLinkLocalServiceBaseImpl()
Method Detail

addWorkflowDefinitionLink

@Indexable(type=REINDEX)
public WorkflowDefinitionLink addWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
Adds the workflow definition link to the database. Also notifies the appropriate model listeners.

Specified by:
addWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLink - the workflow definition link
Returns:
the workflow definition link that was added

createWorkflowDefinitionLink

public WorkflowDefinitionLink createWorkflowDefinitionLink(long workflowDefinitionLinkId)
Creates a new workflow definition link with the primary key. Does not add the workflow definition link to the database.

Specified by:
createWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLinkId - the primary key for the new workflow definition link
Returns:
the new workflow definition link

deleteWorkflowDefinitionLink

@Indexable(type=DELETE)
public WorkflowDefinitionLink deleteWorkflowDefinitionLink(long workflowDefinitionLinkId)
                                                    throws PortalException
Deletes the workflow definition link with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLinkId - the primary key of the workflow definition link
Returns:
the workflow definition link that was removed
Throws:
PortalException - if a workflow definition link with the primary key could not be found

deleteWorkflowDefinitionLink

@Indexable(type=DELETE)
public WorkflowDefinitionLink deleteWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
Deletes the workflow definition link from the database. Also notifies the appropriate model listeners.

Specified by:
deleteWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLink - the workflow definition link
Returns:
the workflow definition link that was removed

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface WorkflowDefinitionLinkLocalService

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface WorkflowDefinitionLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows

dynamicQuery

public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
                                int start,
                                int end)
Performs a dynamic query on the database and returns a range of the matching rows.

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 WorkflowDefinitionLinkModelImpl. 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.

Specified by:
dynamicQuery in interface WorkflowDefinitionLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows

dynamicQuery

public <T> List<T> 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.

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 WorkflowDefinitionLinkModelImpl. 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.

Specified by:
dynamicQuery in interface WorkflowDefinitionLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface WorkflowDefinitionLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows matching the dynamic query

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
Returns the number of rows matching the dynamic query.

Specified by:
dynamicQueryCount in interface WorkflowDefinitionLinkLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchWorkflowDefinitionLink

public WorkflowDefinitionLink fetchWorkflowDefinitionLink(long workflowDefinitionLinkId)
Specified by:
fetchWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService

getWorkflowDefinitionLink

public WorkflowDefinitionLink getWorkflowDefinitionLink(long workflowDefinitionLinkId)
                                                 throws PortalException
Returns the workflow definition link with the primary key.

Specified by:
getWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLinkId - the primary key of the workflow definition link
Returns:
the workflow definition link
Throws:
PortalException - if a workflow definition link with the primary key could not be found

getActionableDynamicQuery

public ActionableDynamicQuery getActionableDynamicQuery()
Specified by:
getActionableDynamicQuery in interface WorkflowDefinitionLinkLocalService

initActionableDynamicQuery

protected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)

deletePersistedModel

public PersistedModel deletePersistedModel(PersistedModel persistedModel)
                                    throws PortalException
Specified by:
deletePersistedModel in interface PersistedModelLocalService
Specified by:
deletePersistedModel in interface WorkflowDefinitionLinkLocalService
Throws:
PortalException

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface WorkflowDefinitionLinkLocalService
Throws:
PortalException

getWorkflowDefinitionLinks

public List<WorkflowDefinitionLink> getWorkflowDefinitionLinks(int start,
                                                               int end)
Returns a range of all the workflow definition links.

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 WorkflowDefinitionLinkModelImpl. 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.

Specified by:
getWorkflowDefinitionLinks in interface WorkflowDefinitionLinkLocalService
Parameters:
start - the lower bound of the range of workflow definition links
end - the upper bound of the range of workflow definition links (not inclusive)
Returns:
the range of workflow definition links

getWorkflowDefinitionLinksCount

public int getWorkflowDefinitionLinksCount()
Returns the number of workflow definition links.

Specified by:
getWorkflowDefinitionLinksCount in interface WorkflowDefinitionLinkLocalService
Returns:
the number of workflow definition links

updateWorkflowDefinitionLink

@Indexable(type=REINDEX)
public WorkflowDefinitionLink updateWorkflowDefinitionLink(WorkflowDefinitionLink workflowDefinitionLink)
Updates the workflow definition link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateWorkflowDefinitionLink in interface WorkflowDefinitionLinkLocalService
Parameters:
workflowDefinitionLink - the workflow definition link
Returns:
the workflow definition link that was updated

getWorkflowDefinitionLinkLocalService

public WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService()
Returns the workflow definition link local service.

Returns:
the workflow definition link local service

setWorkflowDefinitionLinkLocalService

public void setWorkflowDefinitionLinkLocalService(WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService)
Sets the workflow definition link local service.

Parameters:
workflowDefinitionLinkLocalService - the workflow definition link local service

getWorkflowDefinitionLinkPersistence

public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence()
Returns the workflow definition link persistence.

Returns:
the workflow definition link persistence

setWorkflowDefinitionLinkPersistence

public void setWorkflowDefinitionLinkPersistence(WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence)
Sets the workflow definition link persistence.

Parameters:
workflowDefinitionLinkPersistence - the workflow definition link persistence

getCounterLocalService

public CounterLocalService getCounterLocalService()
Returns the counter local service.

Returns:
the counter local service

setCounterLocalService

public void setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service.

Parameters:
counterLocalService - the counter local service

getClassNameLocalService

public ClassNameLocalService getClassNameLocalService()
Returns the class name local service.

Returns:
the class name local service

setClassNameLocalService

public void setClassNameLocalService(ClassNameLocalService classNameLocalService)
Sets the class name local service.

Parameters:
classNameLocalService - the class name local service

getClassNameService

public ClassNameService getClassNameService()
Returns the class name remote service.

Returns:
the class name remote service

setClassNameService

public void setClassNameService(ClassNameService classNameService)
Sets the class name remote service.

Parameters:
classNameService - the class name remote service

getClassNamePersistence

public ClassNamePersistence getClassNamePersistence()
Returns the class name persistence.

Returns:
the class name persistence

setClassNamePersistence

public void setClassNamePersistence(ClassNamePersistence classNamePersistence)
Sets the class name persistence.

Parameters:
classNamePersistence - the class name persistence

getSubscriptionLocalService

public SubscriptionLocalService getSubscriptionLocalService()
Returns the subscription local service.

Returns:
the subscription local service

setSubscriptionLocalService

public void setSubscriptionLocalService(SubscriptionLocalService subscriptionLocalService)
Sets the subscription local service.

Parameters:
subscriptionLocalService - the subscription local service

getSubscriptionPersistence

public SubscriptionPersistence getSubscriptionPersistence()
Returns the subscription persistence.

Returns:
the subscription persistence

setSubscriptionPersistence

public void setSubscriptionPersistence(SubscriptionPersistence subscriptionPersistence)
Sets the subscription persistence.

Parameters:
subscriptionPersistence - the subscription persistence

getUserLocalService

public UserLocalService getUserLocalService()
Returns the user local service.

Returns:
the user local service

setUserLocalService

public void setUserLocalService(UserLocalService userLocalService)
Sets the user local service.

Parameters:
userLocalService - the user local service

getUserService

public UserService getUserService()
Returns the user remote service.

Returns:
the user remote service

setUserService

public void setUserService(UserService userService)
Sets the user remote service.

Parameters:
userService - the user remote service

getUserPersistence

public UserPersistence getUserPersistence()
Returns the user persistence.

Returns:
the user persistence

setUserPersistence

public void setUserPersistence(UserPersistence userPersistence)
Sets the user persistence.

Parameters:
userPersistence - the user persistence

getUserFinder

public UserFinder getUserFinder()
Returns the user finder.

Returns:
the user finder

setUserFinder

public void setUserFinder(UserFinder userFinder)
Sets the user finder.

Parameters:
userFinder - the user finder

afterPropertiesSet

public void afterPropertiesSet()

destroy

public void destroy()

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface IdentifiableBean
Specified by:
getBeanIdentifier in interface WorkflowDefinitionLinkLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface IdentifiableBean
Specified by:
setBeanIdentifier in interface WorkflowDefinitionLinkLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

getModelClass

protected Class<?> getModelClass()

getModelClassName

protected String getModelClassName()

runSQL

protected void runSQL(String sql)
Performs a SQL query.

Parameters:
sql - the sql query

Liferay 7.0-ce-m6