Liferay 6.2-ce-ga5

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

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()
           
 DynamicQuery dynamicQuery()
           
 List dynamicQuery(DynamicQuery dynamicQuery)
          Performs a dynamic query on the database and returns the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
          Performs a dynamic query on the database and returns a range of the matching rows.
 List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator 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 that match the dynamic query.
 long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection)
          Returns the number of rows that match the dynamic query.
 DLSyncEvent fetchDLSyncEvent(long syncEventId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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.
 List<DLSyncEvent> getLatestDLSyncEvents()
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DLSyncEventLocalService getWrappedDLSyncEventLocalService()
          Deprecated. As of 6.1.0, replaced by getWrappedService()
 DLSyncEventLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDLSyncEventLocalService(DLSyncEventLocalService dlSyncEventLocalService)
          Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService)
 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)
                           throws SystemException
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
Throws:
SystemException - if a system exception occurred

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(long syncEventId)
                              throws PortalException,
                                     SystemException
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
SystemException - if a system exception occurred

deleteDLSyncEvent

public DLSyncEvent deleteDLSyncEvent(DLSyncEvent dlSyncEvent)
                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DLSyncEventLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery,
                              Projection projection)
                       throws SystemException
Returns the number of rows that match 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 that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDLSyncEvent

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

getDLSyncEvent

public DLSyncEvent getDLSyncEvent(long syncEventId)
                           throws PortalException,
                                  SystemException
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
SystemException - if a system exception occurred

getPersistedModel

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

getDLSyncEvents

public List<DLSyncEvent> getDLSyncEvents(int start,
                                         int end)
                                  throws SystemException
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
Throws:
SystemException - if a system exception occurred

getDLSyncEventsCount

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

Specified by:
getDLSyncEventsCount in interface DLSyncEventLocalService
Returns:
the number of d l sync events
Throws:
SystemException - if a system exception occurred

updateDLSyncEvent

public DLSyncEvent updateDLSyncEvent(DLSyncEvent dlSyncEvent)
                              throws SystemException
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
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

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

Specified by:
getBeanIdentifier in interface DLSyncEventLocalService
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 DLSyncEventLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addDLSyncEvent

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

deleteDLSyncEvents

public void deleteDLSyncEvents()
                        throws SystemException
Specified by:
deleteDLSyncEvents in interface DLSyncEventLocalService
Throws:
SystemException

getDLSyncEvents

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

getLatestDLSyncEvents

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

getWrappedDLSyncEventLocalService

public DLSyncEventLocalService getWrappedDLSyncEventLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService()


setWrappedDLSyncEventLocalService

public void setWrappedDLSyncEventLocalService(DLSyncEventLocalService dlSyncEventLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService)


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 6.2-ce-ga5