Liferay 7.0-ce-b4

com.liferay.portlet.documentlibrary.service
Class DLSyncEventLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLSyncEventLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DLSyncEventLocalService>, DLSyncEventLocalService

@ProviderType
public class DLSyncEventLocalServiceWrapper
extends Object
implements DLSyncEventLocalService, ServiceWrapper<DLSyncEventLocalService>

Provides a wrapper for DLSyncEventLocalService.

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

Constructor Summary
DLSyncEventLocalServiceWrapper(DLSyncEventLocalService dlSyncEventLocalService)
           
 
Method Summary
 DLSyncEvent addDLSyncEvent(DLSyncEvent dlSyncEvent)
          Adds the d l sync event to the database.
 DLSyncEvent addDLSyncEvent(String event, String type, long typePK)
           
 DLSyncEvent createDLSyncEvent(long syncEventId)
          Creates a new d l sync event with the primary key.
 DLSyncEvent deleteDLSyncEvent(DLSyncEvent dlSyncEvent)
          Deletes the d l sync event from the database.
 DLSyncEvent deleteDLSyncEvent(long syncEventId)
          Deletes the d l sync event with the primary key from the database.
 void deleteDLSyncEvents()
           
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 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.
 DLSyncEvent fetchDLSyncEvent(long syncEventId)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 DLSyncEvent getDLSyncEvent(long syncEventId)
          Returns the d l sync event with the primary key.
 List<DLSyncEvent> getDLSyncEvents(int start, int end)
          Returns a range of all the d l sync events.
 List<DLSyncEvent> getDLSyncEvents(long modifiedTime)
           
 int getDLSyncEventsCount()
          Returns the number of d l sync events.
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 List<DLSyncEvent> getLatestDLSyncEvents()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DLSyncEventLocalService getWrappedService()
           
 void setWrappedService(DLSyncEventLocalService dlSyncEventLocalService)
           
 DLSyncEvent updateDLSyncEvent(DLSyncEvent dlSyncEvent)
          Updates the d l sync event in the database or adds it if it does not yet exist.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLSyncEventLocalServiceWrapper

public DLSyncEventLocalServiceWrapper(DLSyncEventLocalService dlSyncEventLocalService)
Method Detail

addDLSyncEvent

public DLSyncEvent addDLSyncEvent(DLSyncEvent dlSyncEvent)
Adds the d l sync event to the database. Also notifies the appropriate model listeners.

Specified by:
addDLSyncEvent in interface DLSyncEventLocalService
Parameters:
dlSyncEvent - the d l sync event
Returns:
the d l sync event that was added

addDLSyncEvent

public DLSyncEvent addDLSyncEvent(String event,
                                  String type,
                                  long typePK)
Specified by:
addDLSyncEvent in interface DLSyncEventLocalService

createDLSyncEvent

public DLSyncEvent createDLSyncEvent(long syncEventId)
Creates a new d l sync event with the primary key. Does not add the d l sync event to the database.

Specified by:
createDLSyncEvent in interface DLSyncEventLocalService
Parameters:
syncEventId - the primary key for the new d l sync event
Returns:
the new d l sync event

deleteDLSyncEvent

public DLSyncEvent deleteDLSyncEvent(DLSyncEvent dlSyncEvent)
Deletes the d l sync event from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLSyncEvent in interface DLSyncEventLocalService
Parameters:
dlSyncEvent - the d l sync event
Returns:
the d l sync event that was removed

deleteDLSyncEvent

public DLSyncEvent deleteDLSyncEvent(long syncEventId)
                              throws PortalException
Deletes the d l sync event with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLSyncEvent in interface DLSyncEventLocalService
Parameters:
syncEventId - the primary key of the d l sync event
Returns:
the d l sync event that was removed
Throws:
PortalException - if a d l sync event with the primary key could not be found

deleteDLSyncEvents

public void deleteDLSyncEvents()
Specified by:
deleteDLSyncEvents in interface DLSyncEventLocalService

deletePersistedModel

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

dynamicQuery

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

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 DLSyncEventLocalService
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 DLSyncEventModelImpl. 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 DLSyncEventLocalService
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 DLSyncEventModelImpl. 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 DLSyncEventLocalService
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 DLSyncEventLocalService
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 DLSyncEventLocalService
Parameters:
dynamicQuery - the dynamic query
projection - the projection to apply to the query
Returns:
the number of rows matching the dynamic query

fetchDLSyncEvent

public DLSyncEvent fetchDLSyncEvent(long syncEventId)
Specified by:
fetchDLSyncEvent in interface DLSyncEventLocalService

getActionableDynamicQuery

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

getDLSyncEvent

public DLSyncEvent getDLSyncEvent(long syncEventId)
                           throws PortalException
Returns the d l sync event with the primary key.

Specified by:
getDLSyncEvent in interface DLSyncEventLocalService
Parameters:
syncEventId - the primary key of the d l sync event
Returns:
the d l sync event
Throws:
PortalException - if a d l sync event with the primary key could not be found

getDLSyncEvents

public List<DLSyncEvent> getDLSyncEvents(long modifiedTime)
Specified by:
getDLSyncEvents in interface DLSyncEventLocalService

getDLSyncEvents

public List<DLSyncEvent> getDLSyncEvents(int start,
                                         int end)
Returns a range of all the d l sync events.

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 DLSyncEventModelImpl. 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:
getDLSyncEvents in interface DLSyncEventLocalService
Parameters:
start - the lower bound of the range of d l sync events
end - the upper bound of the range of d l sync events (not inclusive)
Returns:
the range of d l sync events

getDLSyncEventsCount

public int getDLSyncEventsCount()
Returns the number of d l sync events.

Specified by:
getDLSyncEventsCount in interface DLSyncEventLocalService
Returns:
the number of d l sync events

getIndexableActionableDynamicQuery

public IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
Specified by:
getIndexableActionableDynamicQuery in interface DLSyncEventLocalService

getLatestDLSyncEvents

public List<DLSyncEvent> getLatestDLSyncEvents()
Specified by:
getLatestDLSyncEvents in interface DLSyncEventLocalService

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

Specified by:
getOSGiServiceIdentifier in interface DLSyncEventLocalService
Returns:
the OSGi service identifier

getPersistedModel

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

updateDLSyncEvent

public DLSyncEvent updateDLSyncEvent(DLSyncEvent dlSyncEvent)
Updates the d l sync event in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLSyncEvent in interface DLSyncEventLocalService
Parameters:
dlSyncEvent - the d l sync event
Returns:
the d l sync event that was updated

getWrappedService

public DLSyncEventLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DLSyncEventLocalService>

setWrappedService

public void setWrappedService(DLSyncEventLocalService dlSyncEventLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DLSyncEventLocalService>

Liferay 7.0-ce-b4