Liferay 6.1.2-ce-ga3

com.liferay.portlet.dynamicdatamapping.service
Class DDMStructureLinkLocalServiceWrapper

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalServiceWrapper
All Implemented Interfaces:
BaseLocalService, PersistedModelLocalService, ServiceWrapper<DDMStructureLinkLocalService>, DDMStructureLinkLocalService

public class DDMStructureLinkLocalServiceWrapper
extends Object
implements DDMStructureLinkLocalService, ServiceWrapper<DDMStructureLinkLocalService>

This class is a wrapper for DDMStructureLinkLocalService.

See Also:
DDMStructureLinkLocalService

Constructor Summary
DDMStructureLinkLocalServiceWrapper(DDMStructureLinkLocalService ddmStructureLinkLocalService)
           
 
Method Summary
 DDMStructureLink addDDMStructureLink(DDMStructureLink ddmStructureLink)
          Adds the d d m structure link to the database.
 DDMStructureLink addStructureLink(long classNameId, long classPK, long structureId, ServiceContext serviceContext)
           
 DDMStructureLink createDDMStructureLink(long structureLinkId)
          Creates a new d d m structure link with the primary key.
 void deleteClassStructureLink(long classPK)
           
 DDMStructureLink deleteDDMStructureLink(DDMStructureLink ddmStructureLink)
          Deletes the d d m structure link from the database.
 DDMStructureLink deleteDDMStructureLink(long structureLinkId)
          Deletes the d d m structure link with the primary key from the database.
 void deleteStructureLink(DDMStructureLink structureLink)
           
 void deleteStructureLink(long structureLinkId)
           
 void deleteStructureStructureLinks(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.
 DDMStructureLink fetchDDMStructureLink(long structureLinkId)
           
 String getBeanIdentifier()
          Returns the Spring bean ID for this bean.
 DDMStructureLink getClassStructureLink(long classPK)
           
 List<DDMStructureLink> getClassStructureLinks(long classNameId)
           
 DDMStructureLink getDDMStructureLink(long structureLinkId)
          Returns the d d m structure link with the primary key.
 List<DDMStructureLink> getDDMStructureLinks(int start, int end)
          Returns a range of all the d d m structure links.
 int getDDMStructureLinksCount()
          Returns the number of d d m structure links.
 PersistedModel getPersistedModel(Serializable primaryKeyObj)
           
 DDMStructureLink getStructureLink(long structureLinkId)
           
 List<DDMStructureLink> getStructureLinks(long structureId, int start, int end)
           
 DDMStructureLinkLocalService getWrappedDDMStructureLinkLocalService()
          Deprecated. Renamed to getWrappedService()
 DDMStructureLinkLocalService getWrappedService()
           
 void setBeanIdentifier(String beanIdentifier)
          Sets the Spring bean ID for this bean.
 void setWrappedDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
          Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService)
 void setWrappedService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
           
 DDMStructureLink updateDDMStructureLink(DDMStructureLink ddmStructureLink)
          Updates the d d m structure link in the database or adds it if it does not yet exist.
 DDMStructureLink updateDDMStructureLink(DDMStructureLink ddmStructureLink, boolean merge)
          Updates the d d m structure link in the database or adds it if it does not yet exist.
 DDMStructureLink updateStructureLink(long structureLinkId, long classNameId, long classPK, long structureId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMStructureLinkLocalServiceWrapper

public DDMStructureLinkLocalServiceWrapper(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Method Detail

addDDMStructureLink

public DDMStructureLink addDDMStructureLink(DDMStructureLink ddmStructureLink)
                                     throws SystemException
Adds the d d m structure link to the database. Also notifies the appropriate model listeners.

Specified by:
addDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
ddmStructureLink - the d d m structure link
Returns:
the d d m structure link that was added
Throws:
SystemException - if a system exception occurred

createDDMStructureLink

public DDMStructureLink createDDMStructureLink(long structureLinkId)
Creates a new d d m structure link with the primary key. Does not add the d d m structure link to the database.

Specified by:
createDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
structureLinkId - the primary key for the new d d m structure link
Returns:
the new d d m structure link

deleteDDMStructureLink

public DDMStructureLink deleteDDMStructureLink(long structureLinkId)
                                        throws PortalException,
                                               SystemException
Deletes the d d m structure link with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
structureLinkId - the primary key of the d d m structure link
Returns:
the d d m structure link that was removed
Throws:
PortalException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred

deleteDDMStructureLink

public DDMStructureLink deleteDDMStructureLink(DDMStructureLink ddmStructureLink)
                                        throws SystemException
Deletes the d d m structure link from the database. Also notifies the appropriate model listeners.

Specified by:
deleteDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
ddmStructureLink - the d d m structure link
Returns:
the d d m structure link that was removed
Throws:
SystemException - if a system exception occurred

dynamicQuery

public DynamicQuery dynamicQuery()
Specified by:
dynamicQuery in interface DDMStructureLinkLocalService

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery)
                  throws SystemException
Performs a dynamic query on the database and returns the matching rows.

Specified by:
dynamicQuery in interface DDMStructureLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end)
                  throws SystemException
Performs a dynamic query on the database and returns a range of the matching rows.

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.

Specified by:
dynamicQuery in interface DDMStructureLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
Returns:
the range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQuery

public List dynamicQuery(DynamicQuery dynamicQuery,
                         int start,
                         int end,
                         OrderByComparator orderByComparator)
                  throws SystemException
Performs a dynamic query on the database and returns an ordered range of the matching rows.

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.

Specified by:
dynamicQuery in interface DDMStructureLinkLocalService
Parameters:
dynamicQuery - the dynamic query
start - the lower bound of the range of model instances
end - the upper bound of the range of model instances (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching rows
Throws:
SystemException - if a system exception occurred

dynamicQueryCount

public long dynamicQueryCount(DynamicQuery dynamicQuery)
                       throws SystemException
Returns the number of rows that match the dynamic query.

Specified by:
dynamicQueryCount in interface DDMStructureLinkLocalService
Parameters:
dynamicQuery - the dynamic query
Returns:
the number of rows that match the dynamic query
Throws:
SystemException - if a system exception occurred

fetchDDMStructureLink

public DDMStructureLink fetchDDMStructureLink(long structureLinkId)
                                       throws SystemException
Specified by:
fetchDDMStructureLink in interface DDMStructureLinkLocalService
Throws:
SystemException

getDDMStructureLink

public DDMStructureLink getDDMStructureLink(long structureLinkId)
                                     throws PortalException,
                                            SystemException
Returns the d d m structure link with the primary key.

Specified by:
getDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
structureLinkId - the primary key of the d d m structure link
Returns:
the d d m structure link
Throws:
PortalException - if a d d m structure link with the primary key could not be found
SystemException - if a system exception occurred

getPersistedModel

public PersistedModel getPersistedModel(Serializable primaryKeyObj)
                                 throws PortalException,
                                        SystemException
Specified by:
getPersistedModel in interface PersistedModelLocalService
Specified by:
getPersistedModel in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

getDDMStructureLinks

public List<DDMStructureLink> getDDMStructureLinks(int start,
                                                   int end)
                                            throws SystemException
Returns a range of all the d d m structure links.

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.

Specified by:
getDDMStructureLinks in interface DDMStructureLinkLocalService
Parameters:
start - the lower bound of the range of d d m structure links
end - the upper bound of the range of d d m structure links (not inclusive)
Returns:
the range of d d m structure links
Throws:
SystemException - if a system exception occurred

getDDMStructureLinksCount

public int getDDMStructureLinksCount()
                              throws SystemException
Returns the number of d d m structure links.

Specified by:
getDDMStructureLinksCount in interface DDMStructureLinkLocalService
Returns:
the number of d d m structure links
Throws:
SystemException - if a system exception occurred

updateDDMStructureLink

public DDMStructureLink updateDDMStructureLink(DDMStructureLink ddmStructureLink)
                                        throws SystemException
Updates the d d m structure link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
ddmStructureLink - the d d m structure link
Returns:
the d d m structure link that was updated
Throws:
SystemException - if a system exception occurred

updateDDMStructureLink

public DDMStructureLink updateDDMStructureLink(DDMStructureLink ddmStructureLink,
                                               boolean merge)
                                        throws SystemException
Updates the d d m structure link in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.

Specified by:
updateDDMStructureLink in interface DDMStructureLinkLocalService
Parameters:
ddmStructureLink - the d d m structure link
merge - whether to merge the d d m structure link with the current session. See BatchSession.update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean) for an explanation.
Returns:
the d d m structure link that was updated
Throws:
SystemException - if a system exception occurred

getBeanIdentifier

public String getBeanIdentifier()
Returns the Spring bean ID for this bean.

Specified by:
getBeanIdentifier in interface DDMStructureLinkLocalService
Returns:
the Spring bean ID for this bean

setBeanIdentifier

public void setBeanIdentifier(String beanIdentifier)
Sets the Spring bean ID for this bean.

Specified by:
setBeanIdentifier in interface DDMStructureLinkLocalService
Parameters:
beanIdentifier - the Spring bean ID for this bean

addStructureLink

public DDMStructureLink addStructureLink(long classNameId,
                                         long classPK,
                                         long structureId,
                                         ServiceContext serviceContext)
                                  throws SystemException
Specified by:
addStructureLink in interface DDMStructureLinkLocalService
Throws:
SystemException

deleteClassStructureLink

public void deleteClassStructureLink(long classPK)
                              throws PortalException,
                                     SystemException
Specified by:
deleteClassStructureLink in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

deleteStructureLink

public void deleteStructureLink(DDMStructureLink structureLink)
                         throws SystemException
Specified by:
deleteStructureLink in interface DDMStructureLinkLocalService
Throws:
SystemException

deleteStructureLink

public void deleteStructureLink(long structureLinkId)
                         throws PortalException,
                                SystemException
Specified by:
deleteStructureLink in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

deleteStructureStructureLinks

public void deleteStructureStructureLinks(long structureId)
                                   throws SystemException
Specified by:
deleteStructureStructureLinks in interface DDMStructureLinkLocalService
Throws:
SystemException

getClassStructureLink

public DDMStructureLink getClassStructureLink(long classPK)
                                       throws PortalException,
                                              SystemException
Specified by:
getClassStructureLink in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

getClassStructureLinks

public List<DDMStructureLink> getClassStructureLinks(long classNameId)
                                              throws SystemException
Specified by:
getClassStructureLinks in interface DDMStructureLinkLocalService
Throws:
SystemException

getStructureLink

public DDMStructureLink getStructureLink(long structureLinkId)
                                  throws PortalException,
                                         SystemException
Specified by:
getStructureLink in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

getStructureLinks

public List<DDMStructureLink> getStructureLinks(long structureId,
                                                int start,
                                                int end)
                                         throws SystemException
Specified by:
getStructureLinks in interface DDMStructureLinkLocalService
Throws:
SystemException

updateStructureLink

public DDMStructureLink updateStructureLink(long structureLinkId,
                                            long classNameId,
                                            long classPK,
                                            long structureId)
                                     throws PortalException,
                                            SystemException
Specified by:
updateStructureLink in interface DDMStructureLinkLocalService
Throws:
PortalException
SystemException

getWrappedDDMStructureLinkLocalService

public DDMStructureLinkLocalService getWrappedDDMStructureLinkLocalService()
Deprecated. Renamed to getWrappedService()


setWrappedDDMStructureLinkLocalService

public void setWrappedDDMStructureLinkLocalService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Deprecated. Renamed to setWrappedService(com.liferay.portlet.dynamicdatamapping.service.DDMStructureLinkLocalService)


getWrappedService

public DDMStructureLinkLocalService getWrappedService()
Specified by:
getWrappedService in interface ServiceWrapper<DDMStructureLinkLocalService>

setWrappedService

public void setWrappedService(DDMStructureLinkLocalService ddmStructureLinkLocalService)
Specified by:
setWrappedService in interface ServiceWrapper<DDMStructureLinkLocalService>

Liferay 6.1.2-ce-ga3