|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.service.LayoutLocalServiceWrapper
public class LayoutLocalServiceWrapper
This class is a wrapper for LayoutLocalService
.
LayoutLocalService
Constructor Summary | |
---|---|
LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService)
|
Method Summary | |
---|---|
Layout |
addLayout(Layout layout)
Adds the layout to the database. |
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
long dlFolderId,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
long dlFolderId,
ServiceContext serviceContext)
|
Layout |
addLayout(long userId,
long groupId,
boolean privateLayout,
long parentLayoutId,
String name,
String title,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
Layout |
createLayout(long plid)
Creates a new layout with the primary key. |
void |
deleteLayout(Layout layout)
Deletes the layout from the database. |
void |
deleteLayout(Layout layout,
boolean updateLayoutSet)
|
void |
deleteLayout(long plid)
Deletes the layout with the primary key from the database. |
void |
deleteLayout(long groupId,
boolean privateLayout,
long layoutId)
|
void |
deleteLayouts(long groupId,
boolean privateLayout)
|
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)
Counts the number of rows that match the dynamic query. |
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
byte[] |
exportLayouts(long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
File |
exportLayoutsAsFile(long groupId,
boolean privateLayout,
long[] layoutIds,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
byte[] |
exportPortletInfo(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
File |
exportPortletInfoAsFile(long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
Date startDate,
Date endDate)
|
long |
getDefaultPlid(long groupId)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout)
|
long |
getDefaultPlid(long groupId,
boolean privateLayout,
String portletId)
|
Layout |
getDLFolderLayout(long dlFolderId)
|
Layout |
getFriendlyURLLayout(long groupId,
boolean privateLayout,
String friendlyURL)
|
Layout |
getLayout(long plid)
Gets the layout with the primary key. |
Layout |
getLayout(long groupId,
boolean privateLayout,
long layoutId)
|
Layout |
getLayoutByIconImageId(long iconImageId)
|
Layout |
getLayoutByUuidAndGroupId(String uuid,
long groupId)
Gets the layout with the UUID and group id. |
List<Layout> |
getLayouts(int start,
int end)
Gets a range of all the layouts. |
List<Layout> |
getLayouts(long groupId,
boolean privateLayout)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long[] layoutIds)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
int start,
int end)
|
List<Layout> |
getLayouts(long groupId,
boolean privateLayout,
String type)
|
LayoutReference[] |
getLayouts(long companyId,
String portletId,
String preferencesKey,
String preferencesValue)
|
int |
getLayoutsCount()
Gets the number of layouts. |
long |
getNextLayoutId(long groupId,
boolean privateLayout)
|
List<Layout> |
getNullFriendlyURLLayouts()
|
LayoutLocalService |
getWrappedLayoutLocalService()
|
boolean |
hasLayouts(long groupId,
boolean privateLayout,
long parentLayoutId)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
byte[] bytes)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
File file)
|
void |
importLayouts(long userId,
long groupId,
boolean privateLayout,
Map<String,String[]> parameterMap,
InputStream is)
|
void |
importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
File file)
|
void |
importPortletInfo(long userId,
long plid,
long groupId,
String portletId,
Map<String,String[]> parameterMap,
InputStream is)
|
void |
setLayouts(long groupId,
boolean privateLayout,
long parentLayoutId,
long[] layoutIds)
|
Layout |
updateFriendlyURL(long plid,
String friendlyURL)
|
Layout |
updateLayout(Layout layout)
Updates the layout in the database. |
Layout |
updateLayout(Layout layout,
boolean merge)
Updates the layout in the database. |
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
Boolean iconImage,
byte[] iconBytes,
ServiceContext serviceContext)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId,
Map<Locale,String> localeNamesMap,
Map<Locale,String> localeTitlesMap,
String description,
String type,
boolean hidden,
String friendlyURL,
ServiceContext serviceContext)
|
Layout |
updateLayout(long groupId,
boolean privateLayout,
long layoutId,
String typeSettings)
|
Layout |
updateLookAndFeel(long groupId,
boolean privateLayout,
long layoutId,
String themeId,
String colorSchemeId,
String css,
boolean wapTheme)
|
Layout |
updateName(Layout layout,
String name,
String languageId)
|
Layout |
updateName(long groupId,
boolean privateLayout,
long layoutId,
String name,
String languageId)
|
Layout |
updateName(long plid,
String name,
String languageId)
|
Layout |
updateParentLayoutId(long groupId,
boolean privateLayout,
long layoutId,
long parentLayoutId)
|
Layout |
updateParentLayoutId(long plid,
long parentPlid)
|
Layout |
updatePriority(Layout layout,
int priority)
|
Layout |
updatePriority(long groupId,
boolean privateLayout,
long layoutId,
int priority)
|
Layout |
updatePriority(long plid,
int priority)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LayoutLocalServiceWrapper(LayoutLocalService layoutLocalService)
Method Detail |
---|
public Layout addLayout(Layout layout) throws SystemException
addLayout
in interface LayoutLocalService
layout
- the layout to add
SystemException
- if a system exception occurredpublic Layout createLayout(long plid)
createLayout
in interface LayoutLocalService
plid
- the primary key for the new layout
public void deleteLayout(long plid) throws PortalException, SystemException
deleteLayout
in interface LayoutLocalService
plid
- the primary key of the layout to delete
PortalException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic void deleteLayout(Layout layout) throws SystemException
deleteLayout
in interface LayoutLocalService
layout
- the layout to delete
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface LayoutLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end) throws SystemException
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.
dynamicQuery
in interface LayoutLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)
SystemException
- if a system exception occurredpublic List dynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator orderByComparator) throws SystemException
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.
dynamicQuery
in interface LayoutLocalService
dynamicQuery
- the dynamic query to search withstart
- the lower bound of the range of model instances to returnend
- the upper bound of the range of model instances to return (not inclusive)orderByComparator
- the comparator to order the results by
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface LayoutLocalService
dynamicQuery
- the dynamic query to search with
SystemException
- if a system exception occurredpublic Layout getLayout(long plid) throws PortalException, SystemException
getLayout
in interface LayoutLocalService
plid
- the primary key of the layout to get
PortalException
- if a layout with the primary key could not be found
SystemException
- if a system exception occurredpublic Layout getLayoutByUuidAndGroupId(String uuid, long groupId) throws PortalException, SystemException
getLayoutByUuidAndGroupId
in interface LayoutLocalService
uuid
- the UUID of layout to getgroupId
- the group id of the layout to get
PortalException
- if a layout with the UUID and group id could not be found
SystemException
- if a system exception occurredpublic List<Layout> getLayouts(int start, int end) throws SystemException
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.
getLayouts
in interface LayoutLocalService
start
- the lower bound of the range of layouts to returnend
- the upper bound of the range of layouts to return (not inclusive)
SystemException
- if a system exception occurredpublic int getLayoutsCount() throws SystemException
getLayoutsCount
in interface LayoutLocalService
SystemException
- if a system exception occurredpublic Layout updateLayout(Layout layout) throws SystemException
updateLayout
in interface LayoutLocalService
layout
- the layout to update
SystemException
- if a system exception occurredpublic Layout updateLayout(Layout layout, boolean merge) throws SystemException
updateLayout
in interface LayoutLocalService
layout
- the layout to updatemerge
- whether to merge the layout with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)
for an explanation.
SystemException
- if a system exception occurredpublic Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, long dlFolderId, ServiceContext serviceContext) throws PortalException, SystemException
addLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext) throws PortalException, SystemException
addLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, long dlFolderId, ServiceContext serviceContext) throws PortalException, SystemException
addLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout addLayout(long userId, long groupId, boolean privateLayout, long parentLayoutId, String name, String title, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext) throws PortalException, SystemException
addLayout
in interface LayoutLocalService
PortalException
SystemException
public void deleteLayout(Layout layout, boolean updateLayoutSet) throws PortalException, SystemException
deleteLayout
in interface LayoutLocalService
PortalException
SystemException
public void deleteLayout(long groupId, boolean privateLayout, long layoutId) throws PortalException, SystemException
deleteLayout
in interface LayoutLocalService
PortalException
SystemException
public void deleteLayouts(long groupId, boolean privateLayout) throws PortalException, SystemException
deleteLayouts
in interface LayoutLocalService
PortalException
SystemException
public byte[] exportLayouts(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException, SystemException
exportLayouts
in interface LayoutLocalService
PortalException
SystemException
public byte[] exportLayouts(long groupId, boolean privateLayout, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException, SystemException
exportLayouts
in interface LayoutLocalService
PortalException
SystemException
public File exportLayoutsAsFile(long groupId, boolean privateLayout, long[] layoutIds, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException, SystemException
exportLayoutsAsFile
in interface LayoutLocalService
PortalException
SystemException
public byte[] exportPortletInfo(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException, SystemException
exportPortletInfo
in interface LayoutLocalService
PortalException
SystemException
public File exportPortletInfoAsFile(long plid, long groupId, String portletId, Map<String,String[]> parameterMap, Date startDate, Date endDate) throws PortalException, SystemException
exportPortletInfoAsFile
in interface LayoutLocalService
PortalException
SystemException
public long getDefaultPlid(long groupId) throws SystemException
getDefaultPlid
in interface LayoutLocalService
SystemException
public long getDefaultPlid(long groupId, boolean privateLayout) throws SystemException
getDefaultPlid
in interface LayoutLocalService
SystemException
public long getDefaultPlid(long groupId, boolean privateLayout, String portletId) throws PortalException, SystemException
getDefaultPlid
in interface LayoutLocalService
PortalException
SystemException
public Layout getDLFolderLayout(long dlFolderId) throws PortalException, SystemException
getDLFolderLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout getFriendlyURLLayout(long groupId, boolean privateLayout, String friendlyURL) throws PortalException, SystemException
getFriendlyURLLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout getLayout(long groupId, boolean privateLayout, long layoutId) throws PortalException, SystemException
getLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout getLayoutByIconImageId(long iconImageId) throws PortalException, SystemException
getLayoutByIconImageId
in interface LayoutLocalService
PortalException
SystemException
public List<Layout> getLayouts(long groupId, boolean privateLayout) throws SystemException
getLayouts
in interface LayoutLocalService
SystemException
public List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
getLayouts
in interface LayoutLocalService
SystemException
public List<Layout> getLayouts(long groupId, boolean privateLayout, long parentLayoutId, int start, int end) throws SystemException
getLayouts
in interface LayoutLocalService
SystemException
public List<Layout> getLayouts(long groupId, boolean privateLayout, long[] layoutIds) throws PortalException, SystemException
getLayouts
in interface LayoutLocalService
PortalException
SystemException
public List<Layout> getLayouts(long groupId, boolean privateLayout, String type) throws SystemException
getLayouts
in interface LayoutLocalService
SystemException
public LayoutReference[] getLayouts(long companyId, String portletId, String preferencesKey, String preferencesValue) throws SystemException
getLayouts
in interface LayoutLocalService
SystemException
public long getNextLayoutId(long groupId, boolean privateLayout) throws SystemException
getNextLayoutId
in interface LayoutLocalService
SystemException
public List<Layout> getNullFriendlyURLLayouts() throws SystemException
getNullFriendlyURLLayouts
in interface LayoutLocalService
SystemException
public boolean hasLayouts(long groupId, boolean privateLayout, long parentLayoutId) throws SystemException
hasLayouts
in interface LayoutLocalService
SystemException
public void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, byte[] bytes) throws PortalException, SystemException
importLayouts
in interface LayoutLocalService
PortalException
SystemException
public void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, File file) throws PortalException, SystemException
importLayouts
in interface LayoutLocalService
PortalException
SystemException
public void importLayouts(long userId, long groupId, boolean privateLayout, Map<String,String[]> parameterMap, InputStream is) throws PortalException, SystemException
importLayouts
in interface LayoutLocalService
PortalException
SystemException
public void importPortletInfo(long userId, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, File file) throws PortalException, SystemException
importPortletInfo
in interface LayoutLocalService
PortalException
SystemException
public void importPortletInfo(long userId, long plid, long groupId, String portletId, Map<String,String[]> parameterMap, InputStream is) throws PortalException, SystemException
importPortletInfo
in interface LayoutLocalService
PortalException
SystemException
public void setLayouts(long groupId, boolean privateLayout, long parentLayoutId, long[] layoutIds) throws PortalException, SystemException
setLayouts
in interface LayoutLocalService
PortalException
SystemException
public Layout updateFriendlyURL(long plid, String friendlyURL) throws PortalException, SystemException
updateFriendlyURL
in interface LayoutLocalService
PortalException
SystemException
public Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, Boolean iconImage, byte[] iconBytes, ServiceContext serviceContext) throws PortalException, SystemException
updateLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout updateLayout(long groupId, boolean privateLayout, long layoutId, long parentLayoutId, Map<Locale,String> localeNamesMap, Map<Locale,String> localeTitlesMap, String description, String type, boolean hidden, String friendlyURL, ServiceContext serviceContext) throws PortalException, SystemException
updateLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout updateLayout(long groupId, boolean privateLayout, long layoutId, String typeSettings) throws PortalException, SystemException
updateLayout
in interface LayoutLocalService
PortalException
SystemException
public Layout updateLookAndFeel(long groupId, boolean privateLayout, long layoutId, String themeId, String colorSchemeId, String css, boolean wapTheme) throws PortalException, SystemException
updateLookAndFeel
in interface LayoutLocalService
PortalException
SystemException
public Layout updateName(Layout layout, String name, String languageId) throws PortalException, SystemException
updateName
in interface LayoutLocalService
PortalException
SystemException
public Layout updateName(long groupId, boolean privateLayout, long layoutId, String name, String languageId) throws PortalException, SystemException
updateName
in interface LayoutLocalService
PortalException
SystemException
public Layout updateName(long plid, String name, String languageId) throws PortalException, SystemException
updateName
in interface LayoutLocalService
PortalException
SystemException
public Layout updateParentLayoutId(long groupId, boolean privateLayout, long layoutId, long parentLayoutId) throws PortalException, SystemException
updateParentLayoutId
in interface LayoutLocalService
PortalException
SystemException
public Layout updateParentLayoutId(long plid, long parentPlid) throws PortalException, SystemException
updateParentLayoutId
in interface LayoutLocalService
PortalException
SystemException
public Layout updatePriority(Layout layout, int priority) throws SystemException
updatePriority
in interface LayoutLocalService
SystemException
public Layout updatePriority(long groupId, boolean privateLayout, long layoutId, int priority) throws PortalException, SystemException
updatePriority
in interface LayoutLocalService
PortalException
SystemException
public Layout updatePriority(long plid, int priority) throws PortalException, SystemException
updatePriority
in interface LayoutLocalService
PortalException
SystemException
public LayoutLocalService getWrappedLayoutLocalService()
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |