Liferay 7.0-ce-b4

com.liferay.portal.service
Class RecentLayoutBranchLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portal.service.RecentLayoutBranchLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, RecentLayoutBranchLocalService, ServiceWrapper<RecentLayoutBranchLocalService>

@ProviderType
public class RecentLayoutBranchLocalServiceWrapper
extends Object
implements RecentLayoutBranchLocalService, ServiceWrapper<RecentLayoutBranchLocalService>

Provides a wrapper for RecentLayoutBranchLocalService.

See Also:
RecentLayoutBranchLocalService

Constructor Summary
RecentLayoutBranchLocalServiceWrapper(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
           
 
Method Summary
 RecentLayoutBranch addRecentLayoutBranch(long userId, long layoutBranchId, long layoutSetBranchId, long plid)
           
 RecentLayoutBranch addRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
          Adds the recent layout branch to the database.
 RecentLayoutBranch createRecentLayoutBranch(long recentLayoutBranchId)
          Creates a new recent layout branch with the primary key.
 PersistedModel deletePersistedModel(PersistedModel persistedModel)
           
 RecentLayoutBranch deleteRecentLayoutBranch(long recentLayoutBranchId)
          Deletes the recent layout branch with the primary key from the database.
 RecentLayoutBranch deleteRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
          Deletes the recent layout branch from the database.
 void deleteRecentLayoutBranches(long layoutBranchId)
           
 void deleteUserRecentLayoutBranches(long userId)
           
 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.
 RecentLayoutBranch fetchRecentLayoutBranch(long recentLayoutBranchId)
           
 RecentLayoutBranch fetchRecentLayoutBranch(long userId, long layoutSetBranchId, long plid)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 RecentLayoutBranch getRecentLayoutBranch(long recentLayoutBranchId)
          Returns the recent layout branch with the primary key.
 List<RecentLayoutBranch> getRecentLayoutBranchs(int start, int end)
          Returns a range of all the recent layout branchs.
 int getRecentLayoutBranchsCount()
          Returns the number of recent layout branchs.
 RecentLayoutBranchLocalService getWrappedService()
           
 void setWrappedService(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
           
 RecentLayoutBranch updateRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
          Updates the recent layout branch 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

RecentLayoutBranchLocalServiceWrapper

public RecentLayoutBranchLocalServiceWrapper(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
Method Detail

addRecentLayoutBranch

public RecentLayoutBranch addRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Adds the recent layout branch to the database. Also notifies the appropriate model listeners.

Specified by:
addRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranch - the recent layout branch
Returns:
the recent layout branch that was added

addRecentLayoutBranch

public RecentLayoutBranch addRecentLayoutBranch(long userId,
                                                long layoutBranchId,
                                                long layoutSetBranchId,
                                                long plid)
                                         throws PortalException
Specified by:
addRecentLayoutBranch in interface RecentLayoutBranchLocalService
Throws:
PortalException

createRecentLayoutBranch

public RecentLayoutBranch createRecentLayoutBranch(long recentLayoutBranchId)
Creates a new recent layout branch with the primary key. Does not add the recent layout branch to the database.

Specified by:
createRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranchId - the primary key for the new recent layout branch
Returns:
the new recent layout branch

deletePersistedModel

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

deleteRecentLayoutBranch

public RecentLayoutBranch deleteRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Deletes the recent layout branch from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranch - the recent layout branch
Returns:
the recent layout branch that was removed

deleteRecentLayoutBranch

public RecentLayoutBranch deleteRecentLayoutBranch(long recentLayoutBranchId)
                                            throws PortalException
Deletes the recent layout branch with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranchId - the primary key of the recent layout branch
Returns:
the recent layout branch that was removed
Throws:
PortalException - if a recent layout branch with the primary key could not be found

deleteRecentLayoutBranches

public void deleteRecentLayoutBranches(long layoutBranchId)
Specified by:
deleteRecentLayoutBranches in interface RecentLayoutBranchLocalService

deleteUserRecentLayoutBranches

public void deleteUserRecentLayoutBranches(long userId)
Specified by:
deleteUserRecentLayoutBranches in interface RecentLayoutBranchLocalService

dynamicQuery

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

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

fetchRecentLayoutBranch

public RecentLayoutBranch fetchRecentLayoutBranch(long recentLayoutBranchId)
Specified by:
fetchRecentLayoutBranch in interface RecentLayoutBranchLocalService

fetchRecentLayoutBranch

public RecentLayoutBranch fetchRecentLayoutBranch(long userId,
                                                  long layoutSetBranchId,
                                                  long plid)
Specified by:
fetchRecentLayoutBranch in interface RecentLayoutBranchLocalService

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

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

getPersistedModel

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

getRecentLayoutBranch

public RecentLayoutBranch getRecentLayoutBranch(long recentLayoutBranchId)
                                         throws PortalException
Returns the recent layout branch with the primary key.

Specified by:
getRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranchId - the primary key of the recent layout branch
Returns:
the recent layout branch
Throws:
PortalException - if a recent layout branch with the primary key could not be found

getRecentLayoutBranchs

public List<RecentLayoutBranch> getRecentLayoutBranchs(int start,
                                                       int end)
Returns a range of all the recent layout branchs.

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 RecentLayoutBranchModelImpl. 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:
getRecentLayoutBranchs in interface RecentLayoutBranchLocalService
Parameters:
start - the lower bound of the range of recent layout branchs
end - the upper bound of the range of recent layout branchs (not inclusive)
Returns:
the range of recent layout branchs

getRecentLayoutBranchsCount

public int getRecentLayoutBranchsCount()
Returns the number of recent layout branchs.

Specified by:
getRecentLayoutBranchsCount in interface RecentLayoutBranchLocalService
Returns:
the number of recent layout branchs

updateRecentLayoutBranch

public RecentLayoutBranch updateRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Updates the recent layout branch in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateRecentLayoutBranch in interface RecentLayoutBranchLocalService
Parameters:
recentLayoutBranch - the recent layout branch
Returns:
the recent layout branch that was updated

getWrappedService

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

setWrappedService

public void setWrappedService(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<RecentLayoutBranchLocalService>

Liferay 7.0-ce-b4