Liferay 6.1.2-ce-ga3

com.liferay.portal.service
Class LayoutRevisionLocalServiceWrapper

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

public class LayoutRevisionLocalServiceWrapper
extends Object
implements LayoutRevisionLocalService, ServiceWrapper<LayoutRevisionLocalService>

This class is a wrapper for LayoutRevisionLocalService.

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

Constructor Summary
LayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService)
           
 
Method Summary
 LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
          Adds the layout revision to the database.
 LayoutRevision addLayoutRevision(long userId, long layoutSetBranchId, long layoutBranchId, long parentLayoutRevisionId, boolean head, long plid, long portletPreferencesPlid, boolean privateLayout, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String wapThemeId, String wapColorSchemeId, String css, ServiceContext serviceContext)
           
 LayoutRevision createLayoutRevision(long layoutRevisionId)
          Creates a new layout revision with the primary key.
 void deleteLayoutLayoutRevisions(long plid)
           
 LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision)
          Deletes the layout revision from the database.
 LayoutRevision deleteLayoutRevision(long layoutRevisionId)
          Deletes the layout revision with the primary key from the database.
 void deleteLayoutRevisions(long layoutSetBranchId, long plid)
           
 void deleteLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid)
           
 void deleteLayoutSetBranchLayoutRevisions(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.
 LayoutRevision fetchLastLayoutRevision(long plid, boolean head)
           
 LayoutRevision fetchLayoutRevision(long layoutRevisionId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevisionId, long plid)
           
 List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId, long parentLayoutRevision, long plid, int start, int end, OrderByComparator orderByComparator)
           
 int getChildLayoutRevisionsCount(long layoutSetBranchId, long parentLayoutRevision, long plid)
           
 LayoutRevision getLayoutRevision(long layoutRevisionId)
          Returns the layout revision with the primary key.
 LayoutRevision getLayoutRevision(long layoutSetBranchId, long plid, boolean head)
           
 LayoutRevision getLayoutRevision(long layoutSetBranchId, long layoutBranchId, long plid)
           
 List<LayoutRevision> getLayoutRevisions(int start, int end)
          Returns a range of all the layout revisions.
 List<LayoutRevision> getLayoutRevisions(long plid)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, boolean head)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, int status)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int status)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long plid, int start, int end, OrderByComparator orderByComparator)
           
 List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId, long layoutBranchId, long plid, int start, int end, OrderByComparator orderByComparator)
           
 int getLayoutRevisionsCount()
          Returns the number of layout revisions.
 int getLayoutRevisionsCount(long layoutSetBranchId, long layoutBranchId, long plid)
           
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 LayoutRevisionLocalService getWrappedLayoutRevisionLocalService()
          Deprecated. Renamed to getWrappedService()
 LayoutRevisionLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutRevisionLocalService)
 void setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService)
           
 LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
          Updates the layout revision in the database or adds it if it does not yet exist.
 LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision, boolean merge)
          Updates the layout revision in the database or adds it if it does not yet exist.
 LayoutRevision updateLayoutRevision(long userId, long layoutRevisionId, long layoutBranchId, String name, String title, String description, String keywords, String robots, String typeSettings, boolean iconImage, long iconImageId, String themeId, String colorSchemeId, String wapThemeId, String wapColorSchemeId, String css, ServiceContext serviceContext)
           
 LayoutRevision updateStatus(long userId, long layoutRevisionId, int status, ServiceContext serviceContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LayoutRevisionLocalServiceWrapper

public LayoutRevisionLocalServiceWrapper(LayoutRevisionLocalService layoutRevisionLocalService)
Method Detail

addLayoutRevision

public LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
                                 throws SystemException
Adds the layout revision to the database. Also notifies the appropriate model listeners.

Specified by:
addLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was added
Throws:
SystemException - if a system exception occurred

createLayoutRevision

public LayoutRevision createLayoutRevision(long layoutRevisionId)
Creates a new layout revision with the primary key. Does not add the layout revision to the database.

Specified by:
createLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key for the new layout revision
Returns:
the new layout revision

deleteLayoutRevision

public LayoutRevision deleteLayoutRevision(long layoutRevisionId)
                                    throws PortalException,
                                           SystemException
Deletes the layout revision with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key of the layout revision
Returns:
the layout revision that was removed
Throws:
PortalException - if a layout revision with the primary key could not be found
SystemException - if a system exception occurred

deleteLayoutRevision

public LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision)
                                    throws PortalException,
                                           SystemException
Deletes the layout revision from the database. Also notifies the appropriate model listeners.

Specified by:
deleteLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was removed
Throws:
PortalException
SystemException - if a system exception occurred

dynamicQuery

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

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

fetchLayoutRevision

public LayoutRevision fetchLayoutRevision(long layoutRevisionId)
                                   throws SystemException
Specified by:
fetchLayoutRevision in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevision

public LayoutRevision getLayoutRevision(long layoutRevisionId)
                                 throws PortalException,
                                        SystemException
Returns the layout revision with the primary key.

Specified by:
getLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevisionId - the primary key of the layout revision
Returns:
the layout revision
Throws:
PortalException - if a layout revision 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 LayoutRevisionLocalService
Specified by:
getPersistedModel in interface PersistedModelLocalService
Throws:
PortalException
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(int start,
                                               int end)
                                        throws SystemException
Returns a range of all the layout revisions.

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:
getLayoutRevisions in interface LayoutRevisionLocalService
Parameters:
start - the lower bound of the range of layout revisions
end - the upper bound of the range of layout revisions (not inclusive)
Returns:
the range of layout revisions
Throws:
SystemException - if a system exception occurred

getLayoutRevisionsCount

public int getLayoutRevisionsCount()
                            throws SystemException
Returns the number of layout revisions.

Specified by:
getLayoutRevisionsCount in interface LayoutRevisionLocalService
Returns:
the number of layout revisions
Throws:
SystemException - if a system exception occurred

updateLayoutRevision

public LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
                                    throws SystemException
Updates the layout revision in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
Returns:
the layout revision that was updated
Throws:
SystemException - if a system exception occurred

updateLayoutRevision

public LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision,
                                           boolean merge)
                                    throws SystemException
Updates the layout revision in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateLayoutRevision in interface LayoutRevisionLocalService
Parameters:
layoutRevision - the layout revision
merge - whether to merge the layout revision 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 revision 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 LayoutRevisionLocalService
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 LayoutRevisionLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addLayoutRevision

public LayoutRevision addLayoutRevision(long userId,
                                        long layoutSetBranchId,
                                        long layoutBranchId,
                                        long parentLayoutRevisionId,
                                        boolean head,
                                        long plid,
                                        long portletPreferencesPlid,
                                        boolean privateLayout,
                                        String name,
                                        String title,
                                        String description,
                                        String keywords,
                                        String robots,
                                        String typeSettings,
                                        boolean iconImage,
                                        long iconImageId,
                                        String themeId,
                                        String colorSchemeId,
                                        String wapThemeId,
                                        String wapColorSchemeId,
                                        String css,
                                        ServiceContext serviceContext)
                                 throws PortalException,
                                        SystemException
Specified by:
addLayoutRevision in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

deleteLayoutLayoutRevisions

public void deleteLayoutLayoutRevisions(long plid)
                                 throws PortalException,
                                        SystemException
Specified by:
deleteLayoutLayoutRevisions in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

deleteLayoutRevisions

public void deleteLayoutRevisions(long layoutSetBranchId,
                                  long plid)
                           throws PortalException,
                                  SystemException
Specified by:
deleteLayoutRevisions in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

deleteLayoutRevisions

public void deleteLayoutRevisions(long layoutSetBranchId,
                                  long layoutBranchId,
                                  long plid)
                           throws PortalException,
                                  SystemException
Specified by:
deleteLayoutRevisions in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

deleteLayoutSetBranchLayoutRevisions

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

fetchLastLayoutRevision

public LayoutRevision fetchLastLayoutRevision(long plid,
                                              boolean head)
                                       throws SystemException
Specified by:
fetchLastLayoutRevision in interface LayoutRevisionLocalService
Throws:
SystemException

getChildLayoutRevisions

public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId,
                                                    long parentLayoutRevisionId,
                                                    long plid)
                                             throws SystemException
Specified by:
getChildLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getChildLayoutRevisions

public List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId,
                                                    long parentLayoutRevision,
                                                    long plid,
                                                    int start,
                                                    int end,
                                                    OrderByComparator orderByComparator)
                                             throws SystemException
Specified by:
getChildLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getChildLayoutRevisionsCount

public int getChildLayoutRevisionsCount(long layoutSetBranchId,
                                        long parentLayoutRevision,
                                        long plid)
                                 throws SystemException
Specified by:
getChildLayoutRevisionsCount in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevision

public LayoutRevision getLayoutRevision(long layoutSetBranchId,
                                        long plid,
                                        boolean head)
                                 throws PortalException,
                                        SystemException
Specified by:
getLayoutRevision in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

getLayoutRevision

public LayoutRevision getLayoutRevision(long layoutSetBranchId,
                                        long layoutBranchId,
                                        long plid)
                                 throws PortalException,
                                        SystemException
Specified by:
getLayoutRevision in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long plid)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               boolean head)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               int status)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               long plid)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               long plid,
                                               int status)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               long plid,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisions

public List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
                                               long layoutBranchId,
                                               long plid,
                                               int start,
                                               int end,
                                               OrderByComparator orderByComparator)
                                        throws SystemException
Specified by:
getLayoutRevisions in interface LayoutRevisionLocalService
Throws:
SystemException

getLayoutRevisionsCount

public int getLayoutRevisionsCount(long layoutSetBranchId,
                                   long layoutBranchId,
                                   long plid)
                            throws SystemException
Specified by:
getLayoutRevisionsCount in interface LayoutRevisionLocalService
Throws:
SystemException

updateLayoutRevision

public LayoutRevision updateLayoutRevision(long userId,
                                           long layoutRevisionId,
                                           long layoutBranchId,
                                           String name,
                                           String title,
                                           String description,
                                           String keywords,
                                           String robots,
                                           String typeSettings,
                                           boolean iconImage,
                                           long iconImageId,
                                           String themeId,
                                           String colorSchemeId,
                                           String wapThemeId,
                                           String wapColorSchemeId,
                                           String css,
                                           ServiceContext serviceContext)
                                    throws PortalException,
                                           SystemException
Specified by:
updateLayoutRevision in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

updateStatus

public LayoutRevision updateStatus(long userId,
                                   long layoutRevisionId,
                                   int status,
                                   ServiceContext serviceContext)
                            throws PortalException,
                                   SystemException
Specified by:
updateStatus in interface LayoutRevisionLocalService
Throws:
PortalException
SystemException

getWrappedLayoutRevisionLocalService

public LayoutRevisionLocalService getWrappedLayoutRevisionLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedLayoutRevisionLocalService

public void setWrappedLayoutRevisionLocalService(LayoutRevisionLocalService layoutRevisionLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portal.service.LayoutRevisionLocalService)


getWrappedService

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

setWrappedService

public void setWrappedService(LayoutRevisionLocalService layoutRevisionLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<LayoutRevisionLocalService>

Liferay 6.1.2-ce-ga3