|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.service.LayoutSetBranchLocalServiceUtil
@ProviderType public class LayoutSetBranchLocalServiceUtil
Provides the local service utility for LayoutSetBranch. This utility wraps
LayoutSetBranchLocalServiceImpl and is the
primary access point for service operations in application layer code running
on the local server. 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.
LayoutSetBranchLocalService,
LayoutSetBranchLocalServiceBaseImpl,
LayoutSetBranchLocalServiceImpl| Constructor Summary | |
|---|---|
LayoutSetBranchLocalServiceUtil()
|
|
| Method Summary | ||
|---|---|---|
static LayoutSetBranch |
addLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Adds the layout set branch to the database. |
|
static LayoutSetBranch |
addLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
String name,
String description,
boolean master,
long copyLayoutSetBranchId,
ServiceContext serviceContext)
|
|
static LayoutSetBranch |
createLayoutSetBranch(long layoutSetBranchId)
Creates a new layout set branch with the primary key. |
|
static LayoutSetBranch |
deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Deletes the layout set branch from the database. |
|
static LayoutSetBranch |
deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch,
boolean includeMaster)
|
|
static LayoutSetBranch |
deleteLayoutSetBranch(long layoutSetBranchId)
Deletes the layout set branch with the primary key from the database. |
|
static void |
deleteLayoutSetBranches(long groupId,
boolean privateLayout)
|
|
static void |
deleteLayoutSetBranches(long groupId,
boolean privateLayout,
boolean includeMaster)
|
|
static PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
static DynamicQuery |
dynamicQuery()
|
|
static
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
static
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
static
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
Performs a dynamic query on the database and returns an ordered range of the matching rows. |
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
static long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
static LayoutSetBranch |
fetchLayoutSetBranch(long layoutSetBranchId)
|
|
static LayoutSetBranch |
fetchLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
|
|
static ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
static IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
static LayoutSetBranch |
getLayoutSetBranch(long layoutSetBranchId)
Returns the layout set branch with the primary key. |
|
static LayoutSetBranch |
getLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
|
|
static List<LayoutSetBranch> |
getLayoutSetBranches(long groupId,
boolean privateLayout)
|
|
static List<LayoutSetBranch> |
getLayoutSetBranchs(int start,
int end)
Returns a range of all the layout set branchs. |
|
static int |
getLayoutSetBranchsCount()
Returns the number of layout set branchs. |
|
static LayoutSetBranch |
getMasterLayoutSetBranch(long groupId,
boolean privateLayout)
|
|
static String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
static PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
static LayoutSetBranchLocalService |
getService()
|
|
static LayoutSetBranch |
getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetBranchId)
Deprecated. As of 6.2.0, replaced by getUserLayoutSetBranch(long,
long, boolean, long, long) |
|
static LayoutSetBranch |
getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetId,
long layoutSetBranchId)
|
|
static LayoutSetBranch |
mergeLayoutSetBranch(long layoutSetBranchId,
long mergeLayoutSetBranchId,
ServiceContext serviceContext)
|
|
static LayoutSetBranch |
updateLayoutSetBranch(LayoutSetBranch layoutSetBranch)
Updates the layout set branch in the database or adds it if it does not yet exist. |
|
static 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 |
|---|
public LayoutSetBranchLocalServiceUtil()
| Method Detail |
|---|
public static LayoutSetBranch addLayoutSetBranch(LayoutSetBranch layoutSetBranch)
layoutSetBranch - the layout set branch
public static LayoutSetBranch addLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
String name,
String description,
boolean master,
long copyLayoutSetBranchId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static LayoutSetBranch createLayoutSetBranch(long layoutSetBranchId)
layoutSetBranchId - the primary key for the new layout set branch
public static LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch)
throws PortalException
layoutSetBranch - the layout set branch
PortalException
public static LayoutSetBranch deleteLayoutSetBranch(LayoutSetBranch layoutSetBranch,
boolean includeMaster)
throws PortalException
PortalException
public static LayoutSetBranch deleteLayoutSetBranch(long layoutSetBranchId)
throws PortalException
layoutSetBranchId - the primary key of the layout set branch
PortalException - if a layout set branch with the primary key could not be found
public static void deleteLayoutSetBranches(long groupId,
boolean privateLayout)
throws PortalException
PortalException
public static void deleteLayoutSetBranches(long groupId,
boolean privateLayout,
boolean includeMaster)
throws PortalException
PortalException
public static PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
PortalExceptionpublic static DynamicQuery dynamicQuery()
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
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 LayoutSetBranchModelImpl. 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)
public static <T> List<T> dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end,
OrderByComparator<T> orderByComparator)
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 LayoutSetBranchModelImpl. 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)
public static long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQuery - the dynamic query
public static long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQuery - the dynamic queryprojection - the projection to apply to the query
public static LayoutSetBranch fetchLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
public static LayoutSetBranch fetchLayoutSetBranch(long layoutSetBranchId)
public static ActionableDynamicQuery getActionableDynamicQuery()
public static IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
public static LayoutSetBranch getLayoutSetBranch(long groupId,
boolean privateLayout,
String name)
throws PortalException
PortalException
public static LayoutSetBranch getLayoutSetBranch(long layoutSetBranchId)
throws PortalException
layoutSetBranchId - the primary key of the layout set branch
PortalException - if a layout set branch with the primary key could not be found
public static List<LayoutSetBranch> getLayoutSetBranches(long groupId,
boolean privateLayout)
public static List<LayoutSetBranch> getLayoutSetBranchs(int start,
int end)
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 LayoutSetBranchModelImpl. 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 set branchsend - the upper bound of the range of layout set branchs (not inclusive)
public static int getLayoutSetBranchsCount()
public static LayoutSetBranch getMasterLayoutSetBranch(long groupId,
boolean privateLayout)
throws PortalException
PortalExceptionpublic static String getOSGiServiceIdentifier()
public static PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
PortalException
@Deprecated
public static LayoutSetBranch getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetBranchId)
throws PortalException
getUserLayoutSetBranch(long,
long, boolean, long, long)
PortalException
public static LayoutSetBranch getUserLayoutSetBranch(long userId,
long groupId,
boolean privateLayout,
long layoutSetId,
long layoutSetBranchId)
throws PortalException
PortalException
public static LayoutSetBranch mergeLayoutSetBranch(long layoutSetBranchId,
long mergeLayoutSetBranchId,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static LayoutSetBranch updateLayoutSetBranch(LayoutSetBranch layoutSetBranch)
layoutSetBranch - the layout set branch
public static LayoutSetBranch updateLayoutSetBranch(long layoutSetBranchId,
String name,
String description,
ServiceContext serviceContext)
throws PortalException
PortalExceptionpublic static LayoutSetBranchLocalService getService()
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||