Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class LayoutSetBranchLocalServiceWrapper

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

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

This class is a wrapper for LayoutSetBranchLocalService.

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

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)
           
 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.
 LayoutSetBranch fetchLayoutSetBranch(long layoutSetBranchId)
           
 LayoutSetBranch fetchLayoutSetBranch(long groupId, boolean privateLayout, String name)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 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)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetBranchId)
          Deprecated. getUserLayoutSetBranch(long, long, boolean, long, long)
 LayoutSetBranch getUserLayoutSetBranch(long userId, long groupId, boolean privateLayout, long layoutSetId, long layoutSetBranchId)
           
 LayoutSetBranchLocalService getWrappedLayoutSetBranchLocalService()
          Deprecated. Renamed to getWrappedService()
 LayoutSetBranchLocalService getWrappedService()
           
 LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId, long mergeLayoutSetBranchId, ServiceContext serviceContext)
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedLayoutSetBranchLocalService(LayoutSetBranchLocalService layoutSetBranchLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutSetBranchLocalService)
 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(LayoutSetBranch layoutSetBranch, boolean merge)
          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)
                                   throws SystemException
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
Throws:
SystemException - if a system exception occurred

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

deleteLayoutSetBranch

public LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
                                      throws PortalException,
                                             SystemException
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
SystemException - if a system exception occurred

dynamicQuery

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

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

fetchLayoutSetBranch

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

getLayoutSetBranch

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

getPersistedModel

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

getLayoutSetBranchs

public List<LayoutSetBranch> getLayoutSetBranchs(int start,
                                                 int end)
                                          throws SystemException
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.

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
Throws:
SystemException - if a system exception occurred

getLayoutSetBranchsCount

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

Specified by:
getLayoutSetBranchsCount in interface LayoutSetBranchLocalService
Returns:
the number of layout set branchs
Throws:
SystemException - if a system exception occurred

updateLayoutSetBranch

public LayoutSetBranch updateLayoutSetBranch(LayoutSetBranch layoutSetBranch)
                                      throws SystemException
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
Throws:
SystemException - if a system exception occurred

updateLayoutSetBranch

public LayoutSetBranch updateLayoutSetBranch(LayoutSetBranch layoutSetBranch,
                                             boolean merge)
                                      throws SystemException
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
merge - whether to merge the layout set branch 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 layout set branch 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 LayoutSetBranchLocalService
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 LayoutSetBranchLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addLayoutSetBranch

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

deleteLayoutSetBranch

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

deleteLayoutSetBranches

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

deleteLayoutSetBranches

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

fetchLayoutSetBranch

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

getLayoutSetBranch

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

getLayoutSetBranches

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

getMasterLayoutSetBranch

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

getUserLayoutSetBranch

public LayoutSetBranch getUserLayoutSetBranch(long userId,
                                              long groupId,
                                              boolean privateLayout,
                                              long layoutSetBranchId)
                                       throws PortalException,
                                              SystemException
Deprecated. getUserLayoutSetBranch(long, long, boolean, long, long)

Specified by:
getUserLayoutSetBranch in interface LayoutSetBranchLocalService
Throws:
PortalException
SystemException

getUserLayoutSetBranch

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

mergeLayoutSetBranch

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

updateLayoutSetBranch

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

getWrappedLayoutSetBranchLocalService

public LayoutSetBranchLocalService getWrappedLayoutSetBranchLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedLayoutSetBranchLocalService

public void setWrappedLayoutSetBranchLocalService(LayoutSetBranchLocalService layoutSetBranchLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutSetBranchLocalService)


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 6.1.2-ce-ga3