|
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.BaseLocalServiceImpl
com.liferay.portal.service.base.RecentLayoutBranchLocalServiceBaseImpl
@ProviderType public abstract class RecentLayoutBranchLocalServiceBaseImpl
Provides the base implementation for the recent layout branch local service.
This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in RecentLayoutBranchLocalServiceImpl.
RecentLayoutBranchLocalServiceImpl,
RecentLayoutBranchLocalServiceUtil| Field Summary | |
|---|---|
protected CounterLocalService |
counterLocalService
|
protected LayoutBranchLocalService |
layoutBranchLocalService
|
protected LayoutBranchPersistence |
layoutBranchPersistence
|
protected PersistedModelLocalServiceRegistry |
persistedModelLocalServiceRegistry
|
protected RecentLayoutBranchLocalService |
recentLayoutBranchLocalService
|
protected RecentLayoutBranchPersistence |
recentLayoutBranchPersistence
|
| Constructor Summary | |
|---|---|
RecentLayoutBranchLocalServiceBaseImpl()
|
|
| Method Summary | ||
|---|---|---|
RecentLayoutBranch |
addRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Adds the recent layout branch to the database. |
|
void |
afterPropertiesSet()
|
|
RecentLayoutBranch |
createRecentLayoutBranch(long recentLayoutBranchId)
Creates a new recent layout branch with the primary key. |
|
PersistedModel |
deletePersistedModel(PersistedModel persistedModel)
|
|
RecentLayoutBranch |
deleteRecentLayoutBranch(long recentLayoutBranchId)
Deletes the recent layout branch with the primary key from the database. |
|
RecentLayoutBranch |
deleteRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Deletes the recent layout branch from the database. |
|
void |
destroy()
|
|
DynamicQuery |
dynamicQuery()
|
|
|
dynamicQuery(DynamicQuery dynamicQuery)
Performs a dynamic query on the database and returns the matching rows. |
|
|
dynamicQuery(DynamicQuery dynamicQuery,
int start,
int end)
Performs a dynamic query on the database and returns a range of the matching rows. |
|
|
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. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery)
Returns the number of rows matching the dynamic query. |
|
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows matching the dynamic query. |
|
RecentLayoutBranch |
fetchRecentLayoutBranch(long recentLayoutBranchId)
|
|
ActionableDynamicQuery |
getActionableDynamicQuery()
|
|
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
|
IndexableActionableDynamicQuery |
getIndexableActionableDynamicQuery()
|
|
LayoutBranchLocalService |
getLayoutBranchLocalService()
Returns the layout branch local service. |
|
LayoutBranchPersistence |
getLayoutBranchPersistence()
Returns the layout branch persistence. |
|
protected Class<?> |
getModelClass()
|
|
protected String |
getModelClassName()
|
|
String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier. |
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
|
RecentLayoutBranch |
getRecentLayoutBranch(long recentLayoutBranchId)
Returns the recent layout branch with the primary key. |
|
RecentLayoutBranchLocalService |
getRecentLayoutBranchLocalService()
Returns the recent layout branch local service. |
|
RecentLayoutBranchPersistence |
getRecentLayoutBranchPersistence()
Returns the recent layout branch persistence. |
|
List<RecentLayoutBranch> |
getRecentLayoutBranchs(int start,
int end)
Returns a range of all the recent layout branchs. |
|
int |
getRecentLayoutBranchsCount()
Returns the number of recent layout branchs. |
|
protected void |
initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
|
|
protected void |
runSQL(String sql)
Performs a SQL query. |
|
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
|
void |
setLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
Sets the layout branch local service. |
|
void |
setLayoutBranchPersistence(LayoutBranchPersistence layoutBranchPersistence)
Sets the layout branch persistence. |
|
void |
setRecentLayoutBranchLocalService(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
Sets the recent layout branch local service. |
|
void |
setRecentLayoutBranchPersistence(RecentLayoutBranchPersistence recentLayoutBranchPersistence)
Sets the recent layout branch persistence. |
|
RecentLayoutBranch |
updateRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
Updates the recent layout branch in the database or adds it if it does not yet exist. |
|
| Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
|---|
getClassLoader, getLocalizationMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.liferay.portal.service.RecentLayoutBranchLocalService |
|---|
addRecentLayoutBranch, deleteRecentLayoutBranches, deleteUserRecentLayoutBranches, fetchRecentLayoutBranch |
| Field Detail |
|---|
@BeanReference(type=RecentLayoutBranchLocalService.class) protected RecentLayoutBranchLocalService recentLayoutBranchLocalService
@BeanReference(type=RecentLayoutBranchPersistence.class) protected RecentLayoutBranchPersistence recentLayoutBranchPersistence
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=LayoutBranchLocalService.class) protected LayoutBranchLocalService layoutBranchLocalService
@BeanReference(type=LayoutBranchPersistence.class) protected LayoutBranchPersistence layoutBranchPersistence
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
| Constructor Detail |
|---|
public RecentLayoutBranchLocalServiceBaseImpl()
| Method Detail |
|---|
@Indexable(type=REINDEX) public RecentLayoutBranch addRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
addRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranch - the recent layout branch
public RecentLayoutBranch createRecentLayoutBranch(long recentLayoutBranchId)
createRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranchId - the primary key for the new recent layout branch
@Indexable(type=DELETE)
public RecentLayoutBranch deleteRecentLayoutBranch(long recentLayoutBranchId)
throws PortalException
deleteRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranchId - the primary key of the recent layout branch
PortalException - if a recent layout branch with the primary key could not be found@Indexable(type=DELETE) public RecentLayoutBranch deleteRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
deleteRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranch - the recent layout branch
public DynamicQuery dynamicQuery()
dynamicQuery in interface RecentLayoutBranchLocalServicepublic <T> List<T> dynamicQuery(DynamicQuery dynamicQuery)
dynamicQuery in interface RecentLayoutBranchLocalServicedynamicQuery - the dynamic query
public <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 RecentLayoutBranchModelImpl. 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 in interface RecentLayoutBranchLocalServicedynamicQuery - the dynamic querystart - the lower bound of the range of model instancesend - the upper bound of the range of model instances (not inclusive)
public <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 RecentLayoutBranchModelImpl. 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 in interface RecentLayoutBranchLocalServicedynamicQuery - 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 long dynamicQueryCount(DynamicQuery dynamicQuery)
dynamicQueryCount in interface RecentLayoutBranchLocalServicedynamicQuery - the dynamic query
public long dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
dynamicQueryCount in interface RecentLayoutBranchLocalServicedynamicQuery - the dynamic queryprojection - the projection to apply to the query
public RecentLayoutBranch fetchRecentLayoutBranch(long recentLayoutBranchId)
fetchRecentLayoutBranch in interface RecentLayoutBranchLocalService
public RecentLayoutBranch getRecentLayoutBranch(long recentLayoutBranchId)
throws PortalException
getRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranchId - the primary key of the recent layout branch
PortalException - if a recent layout branch with the primary key could not be foundpublic ActionableDynamicQuery getActionableDynamicQuery()
getActionableDynamicQuery in interface RecentLayoutBranchLocalServicepublic IndexableActionableDynamicQuery getIndexableActionableDynamicQuery()
getIndexableActionableDynamicQuery in interface RecentLayoutBranchLocalServiceprotected void initActionableDynamicQuery(ActionableDynamicQuery actionableDynamicQuery)
public PersistedModel deletePersistedModel(PersistedModel persistedModel)
throws PortalException
deletePersistedModel in interface PersistedModelLocalServicedeletePersistedModel in interface RecentLayoutBranchLocalServicePortalException
public PersistedModel getPersistedModel(Serializable primaryKeyObj)
throws PortalException
getPersistedModel in interface PersistedModelLocalServicegetPersistedModel in interface RecentLayoutBranchLocalServicePortalException
public List<RecentLayoutBranch> getRecentLayoutBranchs(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 RecentLayoutBranchModelImpl. 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.
getRecentLayoutBranchs in interface RecentLayoutBranchLocalServicestart - the lower bound of the range of recent layout branchsend - the upper bound of the range of recent layout branchs (not inclusive)
public int getRecentLayoutBranchsCount()
getRecentLayoutBranchsCount in interface RecentLayoutBranchLocalService@Indexable(type=REINDEX) public RecentLayoutBranch updateRecentLayoutBranch(RecentLayoutBranch recentLayoutBranch)
updateRecentLayoutBranch in interface RecentLayoutBranchLocalServicerecentLayoutBranch - the recent layout branch
public RecentLayoutBranchLocalService getRecentLayoutBranchLocalService()
public void setRecentLayoutBranchLocalService(RecentLayoutBranchLocalService recentLayoutBranchLocalService)
recentLayoutBranchLocalService - the recent layout branch local servicepublic RecentLayoutBranchPersistence getRecentLayoutBranchPersistence()
public void setRecentLayoutBranchPersistence(RecentLayoutBranchPersistence recentLayoutBranchPersistence)
recentLayoutBranchPersistence - the recent layout branch persistencepublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService - the counter local servicepublic LayoutBranchLocalService getLayoutBranchLocalService()
public void setLayoutBranchLocalService(LayoutBranchLocalService layoutBranchLocalService)
layoutBranchLocalService - the layout branch local servicepublic LayoutBranchPersistence getLayoutBranchPersistence()
public void setLayoutBranchPersistence(LayoutBranchPersistence layoutBranchPersistence)
layoutBranchPersistence - the layout branch persistencepublic void afterPropertiesSet()
public void destroy()
public String getOSGiServiceIdentifier()
getOSGiServiceIdentifier in interface IdentifiableOSGiServicegetOSGiServiceIdentifier in interface RecentLayoutBranchLocalServiceprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql)
sql - the sql query
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||