|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={PortalException.class,SystemException.class})
public interface LayoutRevisionLocalServiceProvides the local service interface for LayoutRevision. Methods of this service will not have security checks based on the propagated JAAS credentials because this service can only be accessed from within the same VM.
LayoutRevisionLocalServiceUtil,
LayoutRevisionLocalServiceBaseImpl,
LayoutRevisionLocalServiceImpl| Method Summary | |
|---|---|
abstract LayoutRevision |
addLayoutRevision(LayoutRevision layoutRevision)
Adds the layout revision to the database. |
abstract 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)
|
abstract LayoutRevision |
createLayoutRevision(long layoutRevisionId)
Creates a new layout revision with the primary key. |
abstract void |
deleteLayoutLayoutRevisions(long plid)
|
abstract LayoutRevision |
deleteLayoutRevision(LayoutRevision layoutRevision)
Deletes the layout revision from the database. |
abstract LayoutRevision |
deleteLayoutRevision(long layoutRevisionId)
Deletes the layout revision with the primary key from the database. |
abstract void |
deleteLayoutRevisions(long layoutSetBranchId,
long plid)
|
abstract void |
deleteLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid)
|
abstract void |
deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId)
|
abstract DynamicQuery |
dynamicQuery()
|
abstract List |
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
abstract List |
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
abstract 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. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows that match the dynamic query. |
abstract long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
abstract LayoutRevision |
fetchLastLayoutRevision(long plid,
boolean head)
|
abstract LayoutRevision |
fetchLatestLayoutRevision(long layoutSetBranchId,
long plid)
|
abstract LayoutRevision |
fetchLayoutRevision(long layoutRevisionId)
|
abstract LayoutRevision |
fetchLayoutRevision(long layoutSetBranchId,
boolean head,
long plid)
|
abstract String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
abstract List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
|
abstract List<LayoutRevision> |
getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevision,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
|
abstract int |
getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid)
|
abstract LayoutRevision |
getLayoutRevision(long layoutRevisionId)
Returns the layout revision with the primary key. |
abstract LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long plid,
boolean head)
|
abstract LayoutRevision |
getLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid)
|
abstract List<LayoutRevision> |
getLayoutRevisions(int start,
int end)
Returns a range of all the layout revisions. |
abstract List<LayoutRevision> |
getLayoutRevisions(long plid)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
boolean head)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
int status)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int status)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
|
abstract List<LayoutRevision> |
getLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
|
abstract int |
getLayoutRevisionsCount()
Returns the number of layout revisions. |
abstract int |
getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid)
|
abstract PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
abstract void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
abstract LayoutRevision |
updateLayoutRevision(LayoutRevision layoutRevision)
Updates the layout revision in the database or adds it if it does not yet exist. |
abstract 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)
|
abstract LayoutRevision |
updateStatus(long userId,
long layoutRevisionId,
int status,
ServiceContext serviceContext)
|
| Method Detail |
|---|
@Indexable(type=REINDEX)
LayoutRevision addLayoutRevision(LayoutRevision layoutRevision)
throws SystemException
layoutRevision - the layout revision
SystemException - if a system exception occurredLayoutRevision createLayoutRevision(long layoutRevisionId)
layoutRevisionId - the primary key for the new layout revision
@Indexable(type=DELETE)
LayoutRevision deleteLayoutRevision(long layoutRevisionId)
throws PortalException,
SystemException
layoutRevisionId - the primary key of the layout revision
PortalException - if a layout revision with the primary key could not be found
SystemException - if a system exception occurred
@Indexable(type=DELETE)
LayoutRevision deleteLayoutRevision(LayoutRevision layoutRevision)
throws PortalException,
SystemException
layoutRevision - the layout revision
PortalException
SystemException - if a system exception occurredDynamicQuery dynamicQuery()
List dynamicQuery(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
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. 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 LayoutRevisionModelImpl. 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.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
SystemException - if a system exception occurred
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. 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 LayoutRevisionModelImpl. 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.
dynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)orderByComparator - the comparator to order the results by (optionally null)
SystemException - if a system exception occurred
long dynamicQueryCount(DynamicQuery dynamicQuery)
throws SystemException
dynamicQuery - the dynamic query
SystemException - if a system exception occurred
long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
throws SystemException
dynamicQuery - the dynamic queryprojection - the projection to apply to the query
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision fetchLayoutRevision(long layoutRevisionId)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision getLayoutRevision(long layoutRevisionId)
throws PortalException,
SystemException
layoutRevisionId - the primary key of the layout revision
PortalException - if a layout revision with the primary key could not be found
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException,
SystemException
getPersistedModel in interface PersistedModelLocalServicePortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(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. 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 LayoutRevisionModelImpl. 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.
start - the lower bound of the range of layout revisionsend - the upper bound of the range of layout revisions (not inclusive)
SystemException - if a system exception occurred
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLayoutRevisionsCount()
throws SystemException
SystemException - if a system exception occurred
@Indexable(type=REINDEX)
LayoutRevision updateLayoutRevision(LayoutRevision layoutRevision)
throws SystemException
layoutRevision - the layout revision
SystemException - if a system exception occurredString getBeanIdentifier()
void setBeanIdentifier(String beanIdentifier)
beanIdentifier - the Spring bean ID for this bean
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
PortalException
SystemException
void deleteLayoutLayoutRevisions(long plid)
throws PortalException,
SystemException
PortalException
SystemException
void deleteLayoutRevisions(long layoutSetBranchId,
long plid)
throws PortalException,
SystemException
PortalException
SystemException
void deleteLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws PortalException,
SystemException
PortalException
SystemException
void deleteLayoutSetBranchLayoutRevisions(long layoutSetBranchId)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision fetchLastLayoutRevision(long plid,
boolean head)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision fetchLatestLayoutRevision(long layoutSetBranchId,
long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision fetchLayoutRevision(long layoutSetBranchId,
boolean head,
long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevisionId,
long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getChildLayoutRevisions(long layoutSetBranchId,
long parentLayoutRevision,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getChildLayoutRevisionsCount(long layoutSetBranchId,
long parentLayoutRevision,
long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision getLayoutRevision(long layoutSetBranchId,
long plid,
boolean head)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
LayoutRevision getLayoutRevision(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws PortalException,
SystemException
PortalException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
boolean head)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
int status)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
long plid)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
long plid,
int status)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
List<LayoutRevision> getLayoutRevisions(long layoutSetBranchId,
long layoutBranchId,
long plid,
int start,
int end,
OrderByComparator orderByComparator)
throws SystemException
SystemException
@Transactional(propagation=SUPPORTS,
readOnly=true)
int getLayoutRevisionsCount(long layoutSetBranchId,
long layoutBranchId,
long plid)
throws SystemException
SystemException
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
PortalException
SystemException
LayoutRevision updateStatus(long userId,
long layoutRevisionId,
int status,
ServiceContext serviceContext)
throws PortalException,
SystemException
PortalException
SystemException
|
Liferay 6.2.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||