Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class LayoutBranchLocalServiceWrapper

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

public class LayoutBranchLocalServiceWrapper
extends Object
implements LayoutBranchLocalService, ServiceWrapper<LayoutBranchLocalService>

This class is a wrapper for LayoutBranchLocalService.

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

Constructor Summary
LayoutBranchLocalServiceWrapper(LayoutBranchLocalService layoutBranchLocalService)
           
 
Method Summary
 LayoutBranch addLayoutBranch(LayoutBranch layoutBranch)
          Adds the layout branch to the database.
 LayoutBranch addLayoutBranch(long layoutSetBranchId, long plid, String name, String description, boolean master, ServiceContext serviceContext)
           
 LayoutBranch addLayoutBranch(long layoutRevisionId, String name, String description, boolean master, ServiceContext serviceContext)
           
 LayoutBranch createLayoutBranch(long LayoutBranchId)
          Creates a new layout branch with the primary key.
 LayoutBranch deleteLayoutBranch(LayoutBranch layoutBranch)
          Deletes the layout branch from the database.
 LayoutBranch deleteLayoutBranch(long LayoutBranchId)
          Deletes the layout branch with the primary key from the database.
 void deleteLayoutSetBranchLayoutBranches(long layoutSetBranchId)
           
 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.
 LayoutBranch fetchLayoutBranch(long LayoutBranchId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 LayoutBranch getLayoutBranch(long LayoutBranchId)
          Returns the layout branch with the primary key.
 List<LayoutBranch> getLayoutBranches(long layoutSetBranchId, long plid, int start, int end, OrderByComparator orderByComparator)
           
 List<LayoutBranch> getLayoutBranchs(int start, int end)
          Returns a range of all the layout branchs.
 int getLayoutBranchsCount()
          Returns the number of layout branchs.
 List<LayoutBranch> getLayoutSetBranchLayoutBranches(long layoutSetBranchId)
           
 LayoutBranch getMasterLayoutBranch(long layoutSetBranchId, long plid)
           
 LayoutBranch getMasterLayoutBranch(long layoutSetBranchId, long plid, ServiceContext serviceContext)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 LayoutBranchLocalService getWrappedLayoutBranchLocalService()
          Deprecated. Renamed to getWrappedService()
 LayoutBranchLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutBranchLocalService)
 void setWrappedService(LayoutBranchLocalService layoutBranchLocalService)
           
 LayoutBranch updateLayoutBranch(LayoutBranch layoutBranch)
          Updates the layout branch in the database or adds it if it does not yet exist.
 LayoutBranch updateLayoutBranch(LayoutBranch layoutBranch, boolean merge)
          Updates the layout branch in the database or adds it if it does not yet exist.
 LayoutBranch updateLayoutBranch(long layoutBranchId, 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

LayoutBranchLocalServiceWrapper

public LayoutBranchLocalServiceWrapper(LayoutBranchLocalService layoutBranchLocalService)
Method Detail

addLayoutBranch

public LayoutBranch addLayoutBranch(LayoutBranch layoutBranch)
                             throws SystemException
Adds the layout branch to the database. Also notifies the appropriate model listeners.

Specified by:
addLayoutBranch in interface LayoutBranchLocalService
Parameters:
layoutBranch - the layout branch
Returns:
the layout branch that was added
Throws:
SystemException - if a system exception occurred

createLayoutBranch

public LayoutBranch createLayoutBranch(long LayoutBranchId)
Creates a new layout branch with the primary key. Does not add the layout branch to the database.

Specified by:
createLayoutBranch in interface LayoutBranchLocalService
Parameters:
LayoutBranchId - the primary key for the new layout branch
Returns:
the new layout branch

deleteLayoutBranch

public LayoutBranch deleteLayoutBranch(long LayoutBranchId)
                                throws PortalException,
                                       SystemException
Deletes the layout branch with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutBranch in interface LayoutBranchLocalService
Parameters:
LayoutBranchId - the primary key of the layout branch
Returns:
the layout branch that was removed
Throws:
PortalException - if a layout branch with the primary key could not be found
SystemException - if a system exception occurred

deleteLayoutBranch

public LayoutBranch deleteLayoutBranch(LayoutBranch layoutBranch)
                                throws SystemException
Deletes the layout branch from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutBranch in interface LayoutBranchLocalService
Parameters:
layoutBranch - the layout branch
Returns:
the layout branch that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

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

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

fetchLayoutBranch

public LayoutBranch fetchLayoutBranch(long LayoutBranchId)
                               throws SystemException
Specified by:
fetchLayoutBranch in interface LayoutBranchLocalService
Throws:
SystemException

getLayoutBranch

public LayoutBranch getLayoutBranch(long LayoutBranchId)
                             throws PortalException,
                                    SystemException
Returns the layout branch with the primary key.

Specified by:
getLayoutBranch in interface LayoutBranchLocalService
Parameters:
LayoutBranchId - the primary key of the layout branch
Returns:
the layout branch
Throws:
PortalException - if a layout 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 LayoutBranchLocalService
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException
SystemException

getLayoutBranchs

public List<LayoutBranch> getLayoutBranchs(int start,
                                           int end)
                                    throws SystemException
Returns a range of all the 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.

Specified by:
getLayoutBranchs in interface LayoutBranchLocalService
Parameters:
start - the lower bound of the range of layout branchs
end - the upper bound of the range of layout branchs (not inclusive)
Returns:
the range of layout branchs
Throws:
SystemException - if a system exception occurred

getLayoutBranchsCount

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

Specified by:
getLayoutBranchsCount in interface LayoutBranchLocalService
Returns:
the number of layout branchs
Throws:
SystemException - if a system exception occurred

updateLayoutBranch

public LayoutBranch updateLayoutBranch(LayoutBranch layoutBranch)
                                throws SystemException
Updates the layout branch in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutBranch in interface LayoutBranchLocalService
Parameters:
layoutBranch - the layout branch
Returns:
the layout branch that was updated
Throws:
SystemException - if a system exception occurred

updateLayoutBranch

public LayoutBranch updateLayoutBranch(LayoutBranch layoutBranch,
                                       boolean merge)
                                throws SystemException
Updates the layout branch in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutBranch in interface LayoutBranchLocalService
Parameters:
layoutBranch - the layout branch
merge - whether to merge the layout 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 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 LayoutBranchLocalService
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 LayoutBranchLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addLayoutBranch

public LayoutBranch addLayoutBranch(long layoutSetBranchId,
                                    long plid,
                                    String name,
                                    String description,
                                    boolean master,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
addLayoutBranch in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

addLayoutBranch

public LayoutBranch addLayoutBranch(long layoutRevisionId,
                                    String name,
                                    String description,
                                    boolean master,
                                    ServiceContext serviceContext)
                             throws PortalException,
                                    SystemException
Specified by:
addLayoutBranch in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

deleteLayoutSetBranchLayoutBranches

public void deleteLayoutSetBranchLayoutBranches(long layoutSetBranchId)
                                         throws PortalException,
                                                SystemException
Specified by:
deleteLayoutSetBranchLayoutBranches in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

getLayoutBranches

public List<LayoutBranch> getLayoutBranches(long layoutSetBranchId,
                                            long plid,
                                            int start,
                                            int end,
                                            OrderByComparator orderByComparator)
                                     throws SystemException
Specified by:
getLayoutBranches in interface LayoutBranchLocalService
Throws:
SystemException

getLayoutSetBranchLayoutBranches

public List<LayoutBranch> getLayoutSetBranchLayoutBranches(long layoutSetBranchId)
                                                    throws SystemException
Specified by:
getLayoutSetBranchLayoutBranches in interface LayoutBranchLocalService
Throws:
SystemException

getMasterLayoutBranch

public LayoutBranch getMasterLayoutBranch(long layoutSetBranchId,
                                          long plid)
                                   throws PortalException,
                                          SystemException
Specified by:
getMasterLayoutBranch in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

getMasterLayoutBranch

public LayoutBranch getMasterLayoutBranch(long layoutSetBranchId,
                                          long plid,
                                          ServiceContext serviceContext)
                                   throws PortalException,
                                          SystemException
Specified by:
getMasterLayoutBranch in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

updateLayoutBranch

public LayoutBranch updateLayoutBranch(long layoutBranchId,
                                       String name,
                                       String description,
                                       ServiceContext serviceContext)
                                throws PortalException,
                                       SystemException
Specified by:
updateLayoutBranch in interface LayoutBranchLocalService
Throws:
PortalException
SystemException

getWrappedLayoutBranchLocalService

public LayoutBranchLocalService getWrappedLayoutBranchLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedLayoutBranchLocalService

public void setWrappedLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutBranchLocalService)


getWrappedService

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

setWrappedService

public void setWrappedService(LayoutBranchLocalService layoutBranchLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<LayoutBranchLocalService>

Liferay 6.1.2-ce-ga3