|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalServiceWrapper
@ProviderType public class DDMStorageLinkLocalServiceWrapper
Provides a wrapper for DDMStorageLinkLocalService
.
DDMStorageLinkLocalService
Constructor Summary | |
---|---|
DDMStorageLinkLocalServiceWrapper(DDMStorageLinkLocalService ddmStorageLinkLocalService)
|
Method Summary | |
---|---|
DDMStorageLink |
addDDMStorageLink(DDMStorageLink ddmStorageLink)
Adds the d d m storage link to the database. |
DDMStorageLink |
addStorageLink(long classNameId,
long classPK,
long structureId,
ServiceContext serviceContext)
|
DDMStorageLink |
createDDMStorageLink(long storageLinkId)
Creates a new d d m storage link with the primary key. |
void |
deleteClassStorageLink(long classPK)
|
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 |
deleteStorageLink(DDMStorageLink storageLink)
|
void |
deleteStorageLink(long storageLinkId)
|
void |
deleteStructureStorageLinks(long structureId)
|
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. |
DDMStorageLink |
getClassStorageLink(long classPK)
|
DDMStorageLink |
getDDMStorageLink(long storageLinkId)
Returns the d d m storage link with the primary key. |
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. |
PersistedModel |
getPersistedModel(Serializable primaryKeyObj)
|
DDMStorageLink |
getStorageLink(long storageLinkId)
|
List<DDMStorageLink> |
getStructureStorageLinks(long structureId)
|
int |
getStructureStorageLinksCount(long structureId)
|
DDMStorageLinkLocalService |
getWrappedDDMStorageLinkLocalService()
Deprecated. As of 6.1.0, replaced by getWrappedService() |
DDMStorageLinkLocalService |
getWrappedService()
|
void |
setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean. |
void |
setWrappedDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
Deprecated. As of 6.1.0, replaced by setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService) |
void |
setWrappedService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
|
DDMStorageLink |
updateDDMStorageLink(DDMStorageLink ddmStorageLink)
Updates the d d m storage link in the database or adds it if it does not yet exist. |
DDMStorageLink |
updateStorageLink(long storageLinkId,
long classNameId,
long classPK)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DDMStorageLinkLocalServiceWrapper(DDMStorageLinkLocalService ddmStorageLinkLocalService)
Method Detail |
---|
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
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 occurredpublic 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 occurredpublic DDMStorageLink updateDDMStorageLink(DDMStorageLink ddmStorageLink) throws SystemException
updateDDMStorageLink
in interface DDMStorageLinkLocalService
ddmStorageLink
- the d d m storage link
SystemException
- if a system exception occurredpublic String getBeanIdentifier()
getBeanIdentifier
in interface DDMStorageLinkLocalService
public void setBeanIdentifier(String beanIdentifier)
setBeanIdentifier
in interface DDMStorageLinkLocalService
beanIdentifier
- the Spring bean ID for this beanpublic DDMStorageLink addStorageLink(long classNameId, long classPK, long structureId, ServiceContext serviceContext) throws SystemException
addStorageLink
in interface DDMStorageLinkLocalService
SystemException
public void deleteClassStorageLink(long classPK) throws PortalException, SystemException
deleteClassStorageLink
in interface DDMStorageLinkLocalService
PortalException
SystemException
public void deleteStorageLink(DDMStorageLink storageLink) throws SystemException
deleteStorageLink
in interface DDMStorageLinkLocalService
SystemException
public void deleteStorageLink(long storageLinkId) throws PortalException, SystemException
deleteStorageLink
in interface DDMStorageLinkLocalService
PortalException
SystemException
public void deleteStructureStorageLinks(long structureId) throws SystemException
deleteStructureStorageLinks
in interface DDMStorageLinkLocalService
SystemException
public DDMStorageLink getClassStorageLink(long classPK) throws PortalException, SystemException
getClassStorageLink
in interface DDMStorageLinkLocalService
PortalException
SystemException
public DDMStorageLink getStorageLink(long storageLinkId) throws PortalException, SystemException
getStorageLink
in interface DDMStorageLinkLocalService
PortalException
SystemException
public List<DDMStorageLink> getStructureStorageLinks(long structureId) throws SystemException
getStructureStorageLinks
in interface DDMStorageLinkLocalService
SystemException
public int getStructureStorageLinksCount(long structureId) throws SystemException
getStructureStorageLinksCount
in interface DDMStorageLinkLocalService
SystemException
public DDMStorageLink updateStorageLink(long storageLinkId, long classNameId, long classPK) throws PortalException, SystemException
updateStorageLink
in interface DDMStorageLinkLocalService
PortalException
SystemException
public DDMStorageLinkLocalService getWrappedDDMStorageLinkLocalService()
getWrappedService()
public void setWrappedDDMStorageLinkLocalService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStorageLinkLocalService)
public DDMStorageLinkLocalService getWrappedService()
getWrappedService
in interface ServiceWrapper<DDMStorageLinkLocalService>
public void setWrappedService(DDMStorageLinkLocalService ddmStorageLinkLocalService)
setWrappedService
in interface ServiceWrapper<DDMStorageLinkLocalService>
|
Liferay 6.2-ce-ga5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |