|
Liferay 6.2-ce-ga5 | |||||||||
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.portlet.dynamicdatamapping.service.base.DDMStorageLinkLocalServiceBaseImpl
public abstract class DDMStorageLinkLocalServiceBaseImpl
Provides the base implementation for the d d m storage link 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 DDMStorageLinkLocalServiceImpl
.
DDMStorageLinkLocalServiceImpl
,
DDMStorageLinkLocalServiceUtil
Fields inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
layoutPersistence |
Constructor Summary | |
---|---|
DDMStorageLinkLocalServiceBaseImpl()
|
Method Summary | |
---|---|
DDMStorageLink |
addDDMStorageLink(DDMStorageLink ddmStorageLink)
Adds the d d m storage link to the database. |
void |
afterPropertiesSet()
|
DDMStorageLink |
createDDMStorageLink(long storageLinkId)
Creates a new d d m storage link with the primary key. |
DDMStorageLink |
deleteDDMStorageLink(DDMStorageLink ddmStorageLink)
Deletes the d d m storage link from the database. |
DDMStorageLink |
deleteDDMStorageLink(long storageLinkId)
Deletes the d d m storage link with the primary key from the database. |
void |
destroy()
|
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. |
long |
dynamicQueryCount(DynamicQuery dynamicQuery,
Projection projection)
Returns the number of rows that match the dynamic query. |
DDMStorageLink |
fetchDDMStorageLink(long storageLinkId)
|
String |
getBeanIdentifier()
Returns the Spring bean ID for this bean. |
CounterLocalService |
getCounterLocalService()
Returns the counter local service. |
DDMContentLocalService |
getDDMContentLocalService()
Returns the d d m content local service. |
DDMContentPersistence |
getDDMContentPersistence()
Returns the d d m content persistence. |
DDMStorageLink |
getDDMStorageLink(long storageLinkId)
Returns the d d m storage link with the primary key. |
DDMStorageLinkLocalService |
getDDMStorageLinkLocalService()
Returns the d d m storage link local service. |
DDMStorageLinkPersistence |
getDDMStorageLinkPersistence()
Returns the d d m storage link persistence. |
List<DDMStorageLink> |
getDDMStorageLinks(int start,
int end)
Returns a range of all the d d m storage links. |
int |
getDDMStorageLinksCount()
Returns the number of d d m storage links. |
DDMStructureFinder |
getDDMStructureFinder()
Returns the d d m structure finder. |
DDMStructureLinkLocalService |
getDDMStructureLinkLocalService()
Returns the d d m structure link local service. |
DDMStructureLinkPersistence |
getDDMStructureLinkPersistence()
Returns the d d m structure link persistence. |
DDMStructureLocalService |
getDDMStructureLocalService()
Returns the d d m structure local service. |
DDMStructurePersistence |
getDDMStructurePersistence()
Returns the d d m structure persistence. |
DDMStructureService |
getDDMStructureService()
Returns the d d m structure remote service. |
DDMTemplateFinder |
getDDMTemplateFinder()
Returns the d d m template finder. |
DDMTemplateLocalService |
getDDMTemplateLocalService()
Returns the d d m template local service. |
DDMTemplatePersistence |
getDDMTemplatePersistence()
Returns the d d m template persistence. |
DDMTemplateService |
getDDMTemplateService()
Returns the d d m template remote service. |
protected Class<?> |
getModelClass()
|
protected String |
getModelClassName()
|
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
ResourceLocalService |
getResourceLocalService()
Returns the resource local service. |
UserFinder |
getUserFinder()
Returns the user finder. |
UserLocalService |
getUserLocalService()
Returns the user local service. |
UserPersistence |
getUserPersistence()
Returns the user persistence. |
UserService |
getUserService()
Returns the user remote service. |
protected void |
runSQL(String sql)
Performs an SQL query. |
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setCounterLocalService(CounterLocalService counterLocalService)
Sets the counter local service. |
void |
setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
Sets the d d m content local service. |
void |
setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
Sets the d d m content persistence. |
void |
setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
Sets the d d m storage link local service. |
void |
setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
Sets the d d m storage link persistence. |
void |
setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
Sets the d d m structure finder. |
void |
setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Sets the d d m structure link local service. |
void |
setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
Sets the d d m structure link persistence. |
void |
setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
Sets the d d m structure local service. |
void |
setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
Sets the d d m structure persistence. |
void |
setDDMStructureService(DDMStructureService ddmStructureService)
Sets the d d m structure remote service. |
void |
setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
Sets the d d m template finder. |
void |
setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
Sets the d d m template local service. |
void |
setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
Sets the d d m template persistence. |
void |
setDDMTemplateService(DDMTemplateService ddmTemplateService)
Sets the d d m template remote service. |
void |
setResourceLocalService(ResourceLocalService resourceLocalService)
Sets the resource local service. |
void |
setUserFinder(UserFinder userFinder)
Sets the user finder. |
void |
setUserLocalService(UserLocalService userLocalService)
Sets the user local service. |
void |
setUserPersistence(UserPersistence userPersistence)
Sets the user persistence. |
void |
setUserService(UserService userService)
Sets the user remote service. |
DDMStorageLink |
updateDDMStorageLink(DDMStorageLink ddmStorageLink)
Updates the d d m storage link in the database or adds it if it does not yet exist. |
Methods inherited from class com.liferay.portal.service.BaseLocalServiceImpl |
---|
getClassLoader, getLayoutURL, getLayoutURL |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService |
---|
addStorageLink, deleteClassStorageLink, deleteStorageLink, deleteStorageLink, deleteStructureStorageLinks, getClassStorageLink, getStorageLink, getStructureStorageLinks, getStructureStorageLinksCount, updateStorageLink |
Field Detail |
---|
@BeanReference(type=DDMContentLocalService.class) protected DDMContentLocalService ddmContentLocalService
@BeanReference(type=DDMContentPersistence.class) protected DDMContentPersistence ddmContentPersistence
@BeanReference(type=DDMStorageLinkLocalService.class) protected DDMStorageLinkLocalService ddmStorageLinkLocalService
@BeanReference(type=DDMStorageLinkPersistence.class) protected DDMStorageLinkPersistence ddmStorageLinkPersistence
@BeanReference(type=DDMStructureLocalService.class) protected DDMStructureLocalService ddmStructureLocalService
@BeanReference(type=DDMStructureService.class) protected DDMStructureService ddmStructureService
@BeanReference(type=DDMStructurePersistence.class) protected DDMStructurePersistence ddmStructurePersistence
@BeanReference(type=DDMStructureFinder.class) protected DDMStructureFinder ddmStructureFinder
@BeanReference(type=DDMStructureLinkLocalService.class) protected DDMStructureLinkLocalService ddmStructureLinkLocalService
@BeanReference(type=DDMStructureLinkPersistence.class) protected DDMStructureLinkPersistence ddmStructureLinkPersistence
@BeanReference(type=DDMTemplateLocalService.class) protected DDMTemplateLocalService ddmTemplateLocalService
@BeanReference(type=DDMTemplateService.class) protected DDMTemplateService ddmTemplateService
@BeanReference(type=DDMTemplatePersistence.class) protected DDMTemplatePersistence ddmTemplatePersistence
@BeanReference(type=DDMTemplateFinder.class) protected DDMTemplateFinder ddmTemplateFinder
@BeanReference(type=CounterLocalService.class) protected CounterLocalService counterLocalService
@BeanReference(type=ResourceLocalService.class) protected ResourceLocalService resourceLocalService
@BeanReference(type=UserLocalService.class) protected UserLocalService userLocalService
@BeanReference(type=UserService.class) protected UserService userService
@BeanReference(type=UserPersistence.class) protected UserPersistence userPersistence
@BeanReference(type=UserFinder.class) protected UserFinder userFinder
@BeanReference(type=PersistedModelLocalServiceRegistry.class) protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry
Constructor Detail |
---|
public DDMStorageLinkLocalServiceBaseImpl()
Method Detail |
---|
@Indexable(type=REINDEX) public DDMStorageLink addDDMStorageLink(DDMStorageLink ddmStorageLink) throws SystemException
addDDMStorageLink
in interface DDMStorageLinkLocalService
ddmStorageLink
- the d d m storage link
SystemException
- if a system exception occurredpublic DDMStorageLink createDDMStorageLink(long storageLinkId)
createDDMStorageLink
in interface DDMStorageLinkLocalService
storageLinkId
- the primary key for the new d d m storage link
@Indexable(type=DELETE) public DDMStorageLink deleteDDMStorageLink(long storageLinkId) throws PortalException, SystemException
deleteDDMStorageLink
in interface DDMStorageLinkLocalService
storageLinkId
- the primary key of the d d m storage link
PortalException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurred@Indexable(type=DELETE) public DDMStorageLink deleteDDMStorageLink(DDMStorageLink ddmStorageLink) throws SystemException
deleteDDMStorageLink
in interface DDMStorageLinkLocalService
ddmStorageLink
- the d d m storage link
SystemException
- if a system exception occurredpublic DynamicQuery dynamicQuery()
dynamicQuery
in interface DDMStorageLinkLocalService
public List dynamicQuery(DynamicQuery dynamicQuery) throws SystemException
dynamicQuery
in interface DDMStorageLinkLocalService
dynamicQuery
- the dynamic query
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. 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 DDMStorageLinkModelImpl
. 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 DDMStorageLinkLocalService
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 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. 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 DDMStorageLinkModelImpl
. 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 DDMStorageLinkLocalService
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 occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery) throws SystemException
dynamicQueryCount
in interface DDMStorageLinkLocalService
dynamicQuery
- the dynamic query
SystemException
- if a system exception occurredpublic long dynamicQueryCount(DynamicQuery dynamicQuery, Projection projection) throws SystemException
dynamicQueryCount
in interface DDMStorageLinkLocalService
dynamicQuery
- the dynamic queryprojection
- the projection to apply to the query
SystemException
- if a system exception occurredpublic DDMStorageLink fetchDDMStorageLink(long storageLinkId) throws SystemException
fetchDDMStorageLink
in interface DDMStorageLinkLocalService
SystemException
public DDMStorageLink getDDMStorageLink(long storageLinkId) throws PortalException, SystemException
getDDMStorageLink
in interface DDMStorageLinkLocalService
storageLinkId
- the primary key of the d d m storage link
PortalException
- if a d d m storage link with the primary key could not be found
SystemException
- if a system exception occurredpublic PersistedModel getPersistedModel(Serializable primaryKeyObj) throws PortalException, SystemException
getPersistedModel
in interface PersistedModelLocalService
getPersistedModel
in interface DDMStorageLinkLocalService
PortalException
SystemException
public List<DDMStorageLink> getDDMStorageLinks(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 DDMStorageLinkModelImpl
. 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.
getDDMStorageLinks
in interface DDMStorageLinkLocalService
start
- the lower bound of the range of d d m storage linksend
- the upper bound of the range of d d m storage links (not inclusive)
SystemException
- if a system exception occurredpublic int getDDMStorageLinksCount() throws SystemException
getDDMStorageLinksCount
in interface DDMStorageLinkLocalService
SystemException
- if a system exception occurred@Indexable(type=REINDEX) public DDMStorageLink updateDDMStorageLink(DDMStorageLink ddmStorageLink) throws SystemException
updateDDMStorageLink
in interface DDMStorageLinkLocalService
ddmStorageLink
- the d d m storage link
SystemException
- if a system exception occurredpublic DDMContentLocalService getDDMContentLocalService()
public void setDDMContentLocalService(DDMContentLocalService ddmContentLocalService)
ddmContentLocalService
- the d d m content local servicepublic DDMContentPersistence getDDMContentPersistence()
public void setDDMContentPersistence(DDMContentPersistence ddmContentPersistence)
ddmContentPersistence
- the d d m content persistencepublic DDMStorageLinkLocalService getDDMStorageLinkLocalService()
public void setDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
ddmStorageLinkLocalService
- the d d m storage link local servicepublic DDMStorageLinkPersistence getDDMStorageLinkPersistence()
public void setDDMStorageLinkPersistence(DDMStorageLinkPersistence ddmStorageLinkPersistence)
ddmStorageLinkPersistence
- the d d m storage link persistencepublic DDMStructureLocalService getDDMStructureLocalService()
public void setDDMStructureLocalService(DDMStructureLocalService ddmStructureLocalService)
ddmStructureLocalService
- the d d m structure local servicepublic DDMStructureService getDDMStructureService()
public void setDDMStructureService(DDMStructureService ddmStructureService)
ddmStructureService
- the d d m structure remote servicepublic DDMStructurePersistence getDDMStructurePersistence()
public void setDDMStructurePersistence(DDMStructurePersistence ddmStructurePersistence)
ddmStructurePersistence
- the d d m structure persistencepublic DDMStructureFinder getDDMStructureFinder()
public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder)
ddmStructureFinder
- the d d m structure finderpublic DDMStructureLinkLocalService getDDMStructureLinkLocalService()
public void setDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
ddmStructureLinkLocalService
- the d d m structure link local servicepublic DDMStructureLinkPersistence getDDMStructureLinkPersistence()
public void setDDMStructureLinkPersistence(DDMStructureLinkPersistence ddmStructureLinkPersistence)
ddmStructureLinkPersistence
- the d d m structure link persistencepublic DDMTemplateLocalService getDDMTemplateLocalService()
public void setDDMTemplateLocalService(DDMTemplateLocalService ddmTemplateLocalService)
ddmTemplateLocalService
- the d d m template local servicepublic DDMTemplateService getDDMTemplateService()
public void setDDMTemplateService(DDMTemplateService ddmTemplateService)
ddmTemplateService
- the d d m template remote servicepublic DDMTemplatePersistence getDDMTemplatePersistence()
public void setDDMTemplatePersistence(DDMTemplatePersistence ddmTemplatePersistence)
ddmTemplatePersistence
- the d d m template persistencepublic DDMTemplateFinder getDDMTemplateFinder()
public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder)
ddmTemplateFinder
- the d d m template finderpublic CounterLocalService getCounterLocalService()
public void setCounterLocalService(CounterLocalService counterLocalService)
counterLocalService
- the counter local servicepublic ResourceLocalService getResourceLocalService()
public void setResourceLocalService(ResourceLocalService resourceLocalService)
resourceLocalService
- the resource local servicepublic UserLocalService getUserLocalService()
public void setUserLocalService(UserLocalService userLocalService)
userLocalService
- the user local servicepublic UserService getUserService()
public void setUserService(UserService userService)
userService
- the user remote servicepublic UserPersistence getUserPersistence()
public void setUserPersistence(UserPersistence userPersistence)
userPersistence
- the user persistencepublic UserFinder getUserFinder()
public void setUserFinder(UserFinder userFinder)
userFinder
- the user finderpublic void afterPropertiesSet()
public void destroy()
public String getBeanIdentifier()
getBeanIdentifier
in interface IdentifiableBean
getBeanIdentifier
in interface DDMStorageLinkLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface IdentifiableBean
setBeanIdentifier
in interface DDMStorageLinkLocalService
beanIdentifier
- the Spring bean ID for this beanprotected Class<?> getModelClass()
protected String getModelClassName()
protected void runSQL(String sql) throws SystemException
sql
- the sql query
SystemException
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |