Liferay 6.0-ee-sp2

com.liferay.portlet.documentlibrary.service
Class DLFileRankLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.documentlibrary.service.DLFileRankLocalServiceWrapper
All Implemented Interfaces:
PersistedModelLocalService, DLFileRankLocalService

public class DLFileRankLocalServiceWrapper
extends Object
implements DLFileRankLocalService

This class is a wrapper for DLFileRankLocalService.

See Also:
DLFileRankLocalService

Constructor Summary
DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
           
 
Method Summary
 DLFileRank addDLFileRank(DLFileRank dlFileRank)
          Adds the d l file rank to the database.
 DLFileRank addFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
           
 DLFileRank addFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
          Deprecated. addFileRank(long, long, long, long, ServiceContext)
 void checkFileRanks()
           
 DLFileRank createDLFileRank(long fileRankId)
          Creates a new d l file rank with the primary key.
 void deleteDLFileRank(DLFileRank dlFileRank)
          Deletes the d l file rank from the database.
 void deleteDLFileRank(long fileRankId)
          Deletes the d l file rank with the primary key from the database.
 void deleteFileRank(DLFileRank fileRank)
           
 void deleteFileRank(long fileRankId)
           
 void deleteFileRanks(long fileEntryId)
          Deprecated. deleteFileRanksByFileEntryId(long)
 void deleteFileRanksByFileEntryId(long fileEntryId)
           
 void deleteFileRanksByUserId(long userId)
           
 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.
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DLFileRank getDLFileRank(long fileRankId)
          Returns the d l file rank with the primary key.
 List<DLFileRank> getDLFileRanks(int start, int end)
          Returns a range of all the d l file ranks.
 int getDLFileRanksCount()
          Returns the number of d l file ranks.
 List<DLFileRank> getFileRanks(long groupId, long userId)
           
 List<DLFileRank> getFileRanks(long groupId, long userId, int start, int end)
          Deprecated. getFileRanks(long, long)
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DLFileRankLocalService getWrappedDLFileRankLocalService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)
           
 DLFileRank updateDLFileRank(DLFileRank dlFileRank)
          Updates the d l file rank in the database or adds it if it does not yet exist.
 DLFileRank updateDLFileRank(DLFileRank dlFileRank, boolean merge)
          Updates the d l file rank in the database or adds it if it does not yet exist.
 DLFileRank updateFileRank(long groupId, long companyId, long userId, long fileEntryId, ServiceContext serviceContext)
           
 DLFileRank updateFileRank(long groupId, long companyId, long userId, long folderId, String name, ServiceContext serviceContext)
          Deprecated. updateFileRank(long, long, long, long, ServiceContext)
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DLFileRankLocalServiceWrapper

public DLFileRankLocalServiceWrapper(DLFileRankLocalService dlFileRankLocalService)
Method Detail

addDLFileRank

public DLFileRank addDLFileRank(DLFileRank dlFileRank)
                         throws SystemException
Adds the d l file rank to the database. Also notifies the appropriate model listeners.

Specified by:
addDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank
Returns:
the d l file rank that was added
Throws:
SystemException - if a system exception occurred

createDLFileRank

public DLFileRank createDLFileRank(long fileRankId)
Creates a new d l file rank with the primary key. Does not add the d l file rank to the database.

Specified by:
createDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key for the new d l file rank
Returns:
the new d l file rank

deleteDLFileRank

public void deleteDLFileRank(long fileRankId)
                      throws PortalException,
                             SystemException
Deletes the d l file rank with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key of the d l file rank
Throws:
PortalException - if a d l file rank with the primary key could not be found
SystemException - if a system exception occurred

deleteDLFileRank

public void deleteDLFileRank(DLFileRank dlFileRank)
                      throws SystemException
Deletes the d l file rank from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank
Throws:
SystemException - if a system exception occurred

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

Specified by:
dynamicQuery in interface DLFileRankLocalService
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.

Specified by:
dynamicQuery in interface DLFileRankLocalService
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 DLFileRankLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

getDLFileRank

public DLFileRank getDLFileRank(long fileRankId)
                         throws PortalException,
                                SystemException
Returns the d l file rank with the primary key.

Specified by:
getDLFileRank in interface DLFileRankLocalService
Parameters:
fileRankId - the primary key of the d l file rank
Returns:
the d l file rank
Throws:
PortalException - if a d l file rank 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 DLFileRankLocalService
Throws:
PortalException
SystemException

getDLFileRanks

public List<DLFileRank> getDLFileRanks(int start,
                                       int end)
                                throws SystemException
Returns a range of all the d l file ranks.

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.

Specified by:
getDLFileRanks in interface DLFileRankLocalService
Parameters:
start - the lower bound of the range of d l file ranks
end - the upper bound of the range of d l file ranks (not inclusive)
Returns:
the range of d l file ranks
Throws:
SystemException - if a system exception occurred

getDLFileRanksCount

public int getDLFileRanksCount()
                        throws SystemException
Returns the number of d l file ranks.

Specified by:
getDLFileRanksCount in interface DLFileRankLocalService
Returns:
the number of d l file ranks
Throws:
SystemException - if a system exception occurred

updateDLFileRank

public DLFileRank updateDLFileRank(DLFileRank dlFileRank)
                            throws SystemException
Updates the d l file rank in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank
Returns:
the d l file rank that was updated
Throws:
SystemException - if a system exception occurred

updateDLFileRank

public DLFileRank updateDLFileRank(DLFileRank dlFileRank,
                                   boolean merge)
                            throws SystemException
Updates the d l file rank in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDLFileRank in interface DLFileRankLocalService
Parameters:
dlFileRank - the d l file rank
merge - whether to merge the d l file rank with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the d l file rank 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 DLFileRankLocalService
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 DLFileRankLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addFileRank

public DLFileRank addFileRank(long groupId,
                              long companyId,
                              long userId,
                              long fileEntryId,
                              ServiceContext serviceContext)
                       throws SystemException
Specified by:
addFileRank in interface DLFileRankLocalService
Throws:
SystemException

addFileRank

public DLFileRank addFileRank(long groupId,
                              long companyId,
                              long userId,
                              long folderId,
                              String name,
                              ServiceContext serviceContext)
                       throws SystemException
Deprecated. addFileRank(long, long, long, long, ServiceContext)

Specified by:
addFileRank in interface DLFileRankLocalService
Throws:
SystemException

checkFileRanks

public void checkFileRanks()
                    throws SystemException
Specified by:
checkFileRanks in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRank

public void deleteFileRank(DLFileRank fileRank)
                    throws SystemException
Specified by:
deleteFileRank in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRank

public void deleteFileRank(long fileRankId)
                    throws PortalException,
                           SystemException
Specified by:
deleteFileRank in interface DLFileRankLocalService
Throws:
PortalException
SystemException

deleteFileRanks

public void deleteFileRanks(long fileEntryId)
                     throws SystemException
Deprecated. deleteFileRanksByFileEntryId(long)

Specified by:
deleteFileRanks in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRanksByFileEntryId

public void deleteFileRanksByFileEntryId(long fileEntryId)
                                  throws SystemException
Specified by:
deleteFileRanksByFileEntryId in interface DLFileRankLocalService
Throws:
SystemException

deleteFileRanksByUserId

public void deleteFileRanksByUserId(long userId)
                             throws SystemException
Specified by:
deleteFileRanksByUserId in interface DLFileRankLocalService
Throws:
SystemException

getFileRanks

public List<DLFileRank> getFileRanks(long groupId,
                                     long userId)
                              throws SystemException
Specified by:
getFileRanks in interface DLFileRankLocalService
Throws:
SystemException

getFileRanks

public List<DLFileRank> getFileRanks(long groupId,
                                     long userId,
                                     int start,
                                     int end)
                              throws SystemException
Deprecated. getFileRanks(long, long)

Specified by:
getFileRanks in interface DLFileRankLocalService
Throws:
SystemException

updateFileRank

public DLFileRank updateFileRank(long groupId,
                                 long companyId,
                                 long userId,
                                 long fileEntryId,
                                 ServiceContext serviceContext)
                          throws SystemException
Specified by:
updateFileRank in interface DLFileRankLocalService
Throws:
SystemException

updateFileRank

public DLFileRank updateFileRank(long groupId,
                                 long companyId,
                                 long userId,
                                 long folderId,
                                 String name,
                                 ServiceContext serviceContext)
                          throws SystemException
Deprecated. updateFileRank(long, long, long, long, ServiceContext)

Specified by:
updateFileRank in interface DLFileRankLocalService
Throws:
SystemException

getWrappedDLFileRankLocalService

public DLFileRankLocalService getWrappedDLFileRankLocalService()

setWrappedDLFileRankLocalService

public void setWrappedDLFileRankLocalService(DLFileRankLocalService dlFileRankLocalService)

Liferay 6.0-ee-sp2