Liferay 7.0-ce-b4

com.liferay.portal.service
Class LayoutSetBranchLocalServiceWrapper

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

@ProviderType
public class LayoutSetBranchLocalServiceWrapper
extends Object
implements LayoutSetBranchLocalService, ServiceWrapper<LayoutSetBranchLocalService>

Provides a wrapper for LayoutSetBranchLocalService.

See Also:
LayoutSetBranchLocalService

Constructor Summary
LayoutSetBranchLocalServiceWrapper(LayoutSetBranchLocalService layoutSetBranchLocalService)
           
 
Method Summary
 LayoutSetBranch addLayoutSetBranch(LayoutSetBranch layoutSetBranch)
          Adds the layout set branch to the database.
 LayoutSetBranch addLayoutSetBranch(long userId, long groupId, boolean privateLayout, String name, String description, boolean master, long copyLayoutSetBranchId, ServiceContext serviceContext)
           
 LayoutSetBranch createLayoutSetBranch(long layoutSetBranchId)
          Creates a new layout set branch with the primary key.
 LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
          Deletes the layout set branch from the database.
 LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch, boolean includeMaster)
           
 LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId)
          Deletes the layout set branch with the primary key from the database.
 void deleteLayoutSetBranches(long groupId, boolean privateLayout)
           
 void deleteLayoutSetBranches(long groupId, boolean privateLayout, boolean includeMaster)
           
 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.
 LayoutSetBranch fetchLayoutSetBranch(long layoutSetBranchId)
           
 LayoutSetBranch fetchLayoutSetBranch(long groupId, boolean privateLayout, String name)
           
 ActionableDynamicQuery getActionableDynamicQuery()
           
 IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
           
 LayoutSetBranch getLayoutSetBranch(long layoutSetBranchId)
          Returns the layout set branch with the primary key.
 LayoutSetBranch getLayoutSetBranch(long groupId, boolean privateLayout, String name)
           
 List<LayoutSetBranch> getLayoutSetBranches(long groupId, boolean privateLayout)
           
 List<LayoutSetBranch> getLayoutSetBranchs(int start, int end)
          Returns a range of all the layout set branchs.
 int getLayoutSetBranchsCount()
          Returns the number of layout set branchs.
 LayoutSetBranch getMasterLayoutSetBranch(long groupId, boolean privateLayout)
           
 String getOSGiServiceIdentifier()
          Returns the OSGi service identifier.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetBranchId)
          Deprecated. As of 6.2.0, replaced by getUserLayoutSetBranch(long, long, boolean, long, long)
 LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId)
           
 LayoutSetBranchLocalService getWrappedService()
           
 LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext)
           
 void setWrappedService(LayoutSetBranchLocalService layoutSetBranchLocalService)
           
 LayoutSetBranch updateLayoutSetBranch(LayoutSetBranch layoutSetBranch)
          Updates the layout set branch in the database or adds it if it does not yet exist.
 LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId, String name, String description, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutSetBranchLocalServiceWrapper

public LayoutSetBranchLocalServiceWrapper(LayoutSetBranchLocalService layoutSetBranchLocalService)
Method Detail

addLayoutSetBranch

public LayoutSetBranch addLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Adds the layout set branch to the database. Also notifies the appropriate model listeners.

Specified by:
addLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranch - the layout set branch
Returns:
the layout set branch that was added

addLayoutSetBranch

public LayoutSetBranch addLayoutSetBranch(long userId,
                                          long groupId,
                                          boolean privateLayout,
                                          String name,
                                          String description,
                                          boolean master,
                                          long copyLayoutSetBranchId,
                                          ServiceContext serviceContext)
                                   throws PortalException
Specified by:
addLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

createLayoutSetBranch

public LayoutSetBranch createLayoutSetBranch(long layoutSetBranchId)
Creates a new layout set branch with the primary key. Does not add the layout set branch to the database.

Specified by:
createLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranchId - the primary key for the new layout set branch
Returns:
the new layout set branch

deleteLayoutSetBranch

public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
                                      throws PortalException
Deletes the layout set branch from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranch - the layout set branch
Returns:
the layout set branch that was removed
Throws:
PortalException

deleteLayoutSetBranch

public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch,
                                             boolean includeMaster)
                                      throws PortalException
Specified by:
deleteLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

deleteLayoutSetBranch

public LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId)
                                      throws PortalException
Deletes the layout set branch with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranchId - the primary key of the layout set branch
Returns:
the layout set branch that was removed
Throws:
PortalException - if a layout set branch with the primary key could not be found

deleteLayoutSetBranches

public void deleteLayoutSetBranches(long groupId,
                                    boolean privateLayout)
                             throws PortalException
Specified by:
deleteLayoutSetBranches in interface LayoutSetBranchLocalService
Throws:
PortalException

deleteLayoutSetBranches

public void deleteLayoutSetBranches(long groupId,
                                    boolean privateLayout,
                                    boolean includeMaster)
                             throws PortalException
Specified by:
deleteLayoutSetBranches in interface LayoutSetBranchLocalService
Throws:
PortalException

deletePersistedModel

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

dynamicQuery

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

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

fetchLayoutSetBranch

public LayoutSetBranch fetchLayoutSetBranch(long groupId,
                                            boolean privateLayout,
                                            String name)
Specified by:
fetchLayoutSetBranch in interface LayoutSetBranchLocalService

fetchLayoutSetBranch

public LayoutSetBranch fetchLayoutSetBranch(long layoutSetBranchId)
Specified by:
fetchLayoutSetBranch in interface LayoutSetBranchLocalService

getActionableDynamicQuery

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

getIndexableActionableDynamicQuery

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

getLayoutSetBranch

public LayoutSetBranch getLayoutSetBranch(long groupId,
                                          boolean privateLayout,
                                          String name)
                                   throws PortalException
Specified by:
getLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

getLayoutSetBranch

public LayoutSetBranch getLayoutSetBranch(long layoutSetBranchId)
                                   throws PortalException
Returns the layout set branch with the primary key.

Specified by:
getLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranchId - the primary key of the layout set branch
Returns:
the layout set branch
Throws:
PortalException - if a layout set branch with the primary key could not be found

getLayoutSetBranches

public List<LayoutSetBranch> getLayoutSetBranches(long groupId,
                                                  boolean privateLayout)
Specified by:
getLayoutSetBranches in interface LayoutSetBranchLocalService

getLayoutSetBranchs

public List<LayoutSetBranch> getLayoutSetBranchs(int start,
                                                 int end)
Returns a range of all the layout set 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 LayoutSetBranchModelImpl. 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:
getLayoutSetBranchs in interface LayoutSetBranchLocalService
Parameters:
start - the lower bound of the range of layout set branchs
end - the upper bound of the range of layout set branchs (not inclusive)
Returns:
the range of layout set branchs

getLayoutSetBranchsCount

public int getLayoutSetBranchsCount()
Returns the number of layout set branchs.

Specified by:
getLayoutSetBranchsCount in interface LayoutSetBranchLocalService
Returns:
the number of layout set branchs

getMasterLayoutSetBranch

public LayoutSetBranch getMasterLayoutSetBranch(long groupId,
                                                boolean privateLayout)
                                         throws PortalException
Specified by:
getMasterLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

getOSGiServiceIdentifier

public String getOSGiServiceIdentifier()
Returns the OSGi service identifier.

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

getPersistedModel

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

getUserLayoutSetBranch

@Deprecated
public LayoutSetBranch getUserLayoutSetBranch(long userId,
                                                         long groupId,
                                                         boolean privateLayout,
                                                         long layoutSetBranchId)
                                       throws PortalException
Deprecated. As of 6.2.0, replaced by getUserLayoutSetBranch(long, long, boolean, long, long)

Specified by:
getUserLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

getUserLayoutSetBranch

public LayoutSetBranch getUserLayoutSetBranch(long userId,
                                              long groupId,
                                              boolean privateLayout,
                                              long layoutSetId,
                                              long layoutSetBranchId)
                                       throws PortalException
Specified by:
getUserLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

mergeLayoutSetBranch

public LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId,
                                            long mergeLayoutSetBranchId,
                                            ServiceContext serviceContext)
                                     throws PortalException
Specified by:
mergeLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

updateLayoutSetBranch

public LayoutSetBranch updateLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Updates the layout set branch in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutSetBranch in interface LayoutSetBranchLocalService
Parameters:
layoutSetBranch - the layout set branch
Returns:
the layout set branch that was updated

updateLayoutSetBranch

public LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId,
                                             String name,
                                             String description,
                                             ServiceContext serviceContext)
                                      throws PortalException
Specified by:
updateLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException

getWrappedService

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

setWrappedService

public void setWrappedService(LayoutSetBranchLocalService layoutSetBranchLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<LayoutSetBranchLocalService>

Liferay 7.0-ce-b4