com.liferay.portlet.dynamicdatamapping.service.persistence
Class DDMStorageLinkPersistenceImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
      extended by com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistenceImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory, com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>, com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence

public class DDMStorageLinkPersistenceImpl
extends com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
implements com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence

The persistence implementation for the d d m storage link service.

Caching information and settings can be found in portal.properties

Author:
Brian Wing Shun Chan
See Also:
DDMStorageLinkPersistence, DDMStorageLinkUtil
Generated:

Field Summary
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence
           
protected  com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence
           
static java.lang.String FINDER_CLASS_NAME_ENTITY
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION
           
static java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSPK
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_CLASSPK
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID
           
static com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID
           
protected  com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence
           
protected  com.liferay.portal.service.persistence.UserPersistence userPersistence
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR
 
Constructor Summary
DDMStorageLinkPersistenceImpl()
           
 
Method Summary
 void afterPropertiesSet()
          Initializes the d d m storage link persistence.
 void cacheResult(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
          Caches the d d m storage link in the entity cache if it is enabled.
 void cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> ddmStorageLinks)
          Caches the d d m storage links in the entity cache if it is enabled.
 void clearCache()
          Clears the cache for all d d m storage links.
 void clearCache(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
          Clears the cache for the d d m storage link.
 void clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> ddmStorageLinks)
           
protected  void clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
           
 int countAll()
          Returns the number of d d m storage links.
 int countByClassPK(long classPK)
          Returns the number of d d m storage links where classPK = ?.
 int countByStructureId(long structureId)
          Returns the number of d d m storage links where structureId = ?.
 int countByUuid(java.lang.String uuid)
          Returns the number of d d m storage links where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink create(long storageLinkId)
          Creates a new d d m storage link with the primary key.
 void destroy()
           
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK(long classPK)
          Returns the d d m storage link where classPK = ? or returns null if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK(long classPK, boolean retrieveFromCache)
          Returns the d d m storage link where classPK = ? or returns null if it could not be found, optionally using the finder cache.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByPrimaryKey(long storageLinkId)
          Returns the d d m storage link with the primary key or returns null if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d m storage link with the primary key or returns null if it could not be found.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll()
          Returns all the d d m storage links.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll(int start, int end)
          Returns a range of all the d d m storage links.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m storage links.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByClassPK(long classPK)
          Returns the d d m storage link where classPK = ? or throws a NoSuchStorageLinkException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByPrimaryKey(long storageLinkId)
          Returns the d d m storage link with the primary key or throws a NoSuchStorageLinkException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByPrimaryKey(java.io.Serializable primaryKey)
          Returns the d d m storage link with the primary key or throws a NoSuchModelException if it could not be found.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_First(long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m storage link in the ordered set where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_Last(long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m storage link in the ordered set where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId, long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m storage links before and after the current d d m storage link in the ordered set where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId)
          Returns all the d d m storage links where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId, int start, int end)
          Returns a range of all the d d m storage links where structureId = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m storage links where structureId = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_First(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the first d d m storage link in the ordered set where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_Last(java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the last d d m storage link in the ordered set where uuid = ?.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByUuid_PrevAndNext(long storageLinkId, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns the d d m storage links before and after the current d d m storage link in the ordered set where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid)
          Returns all the d d m storage links where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end)
          Returns a range of all the d d m storage links where uuid = ?.
 java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid, int start, int end, com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
          Returns an ordered range of all the d d m storage links where uuid = ?.
protected  com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink, long structureId, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session, com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink, java.lang.String uuid, com.liferay.portal.kernel.util.OrderByComparator orderByComparator, boolean previous)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink remove(long storageLinkId)
          Removes the d d m storage link with the primary key from the database.
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink remove(java.io.Serializable primaryKey)
          Removes the d d m storage link with the primary key from the database.
 void removeAll()
          Removes all the d d m storage links from the database.
 void removeByClassPK(long classPK)
          Removes the d d m storage link where classPK = ? from the database.
 void removeByStructureId(long structureId)
          Removes all the d d m storage links where structureId = ? from the database.
 void removeByUuid(java.lang.String uuid)
          Removes all the d d m storage links where uuid = ? from the database.
protected  com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
           
protected  com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
           
 com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink, boolean merge)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDB, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, setDataSource, setSessionFactory, unregisterListener, update, update
 
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.persistence.BasePersistence
closeSession, countWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getListeners, openSession, processException, registerListener, remove, setDataSource, unregisterListener, update, update
 

Field Detail

FINDER_CLASS_NAME_ENTITY

public static final java.lang.String FINDER_CLASS_NAME_ENTITY

FINDER_CLASS_NAME_LIST_WITH_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITH_PAGINATION

FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

public static final java.lang.String FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION

FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_UUID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_UUID

FINDER_PATH_COUNT_BY_UUID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_UUID

FINDER_PATH_FETCH_BY_CLASSPK

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_FETCH_BY_CLASSPK

FINDER_PATH_COUNT_BY_CLASSPK

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_CLASSPK

FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_STRUCTUREID

FINDER_PATH_COUNT_BY_STRUCTUREID

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_BY_STRUCTUREID

FINDER_PATH_WITH_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITH_PAGINATION_FIND_ALL

FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_WITHOUT_PAGINATION_FIND_ALL

FINDER_PATH_COUNT_ALL

public static final com.liferay.portal.kernel.dao.orm.FinderPath FINDER_PATH_COUNT_ALL

ddmContentPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMContentPersistence ddmContentPersistence

ddmStorageLinkPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence ddmStorageLinkPersistence

ddmStructurePersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence ddmStructurePersistence

ddmStructureLinkPersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureLinkPersistence ddmStructureLinkPersistence

ddmTemplatePersistence

@BeanReference(type=com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence.class)
protected com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence ddmTemplatePersistence

resourcePersistence

@BeanReference(type=com.liferay.portal.service.persistence.ResourcePersistence.class)
protected com.liferay.portal.service.persistence.ResourcePersistence resourcePersistence

userPersistence

@BeanReference(type=com.liferay.portal.service.persistence.UserPersistence.class)
protected com.liferay.portal.service.persistence.UserPersistence userPersistence
Constructor Detail

DDMStorageLinkPersistenceImpl

public DDMStorageLinkPersistenceImpl()
Method Detail

cacheResult

public void cacheResult(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
Caches the d d m storage link in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
ddmStorageLink - the d d m storage link

cacheResult

public void cacheResult(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> ddmStorageLinks)
Caches the d d m storage links in the entity cache if it is enabled.

Specified by:
cacheResult in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
ddmStorageLinks - the d d m storage links

clearCache

public void clearCache()
Clears the cache for all d d m storage links.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>

clearCache

public void clearCache(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
Clears the cache for the d d m storage link.

The EntityCache and FinderCache are both cleared by this method.

Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>

clearCache

public void clearCache(java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> ddmStorageLinks)
Specified by:
clearCache in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
clearCache in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>

clearUniqueFindersCache

protected void clearUniqueFindersCache(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)

create

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink create(long storageLinkId)
Creates a new d d m storage link with the primary key. Does not add the d d m storage link to the database.

Specified by:
create in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key for the new d d m storage link
Returns:
the new d d m storage link

remove

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink remove(long storageLinkId)
                                                                   throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Removes the d d m storage link with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key of the d d m storage link
Returns:
the d d m storage link that was removed
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

remove

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink remove(java.io.Serializable primaryKey)
                                                                   throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                          com.liferay.portal.kernel.exception.SystemException
Removes the d d m storage link with the primary key from the database. Also notifies the appropriate model listeners.

Specified by:
remove in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
remove in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Parameters:
primaryKey - the primary key of the d d m storage link
Returns:
the d d m storage link that was removed
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeImpl

protected com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink removeImpl(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)
                                                                          throws com.liferay.portal.kernel.exception.SystemException
Overrides:
removeImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Throws:
com.liferay.portal.kernel.exception.SystemException

updateImpl

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink updateImpl(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink,
                                                                              boolean merge)
                                                                       throws com.liferay.portal.kernel.exception.SystemException
Specified by:
updateImpl in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Overrides:
updateImpl in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Throws:
com.liferay.portal.kernel.exception.SystemException

toUnwrappedModel

protected com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink toUnwrappedModel(com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink)

findByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByPrimaryKey(java.io.Serializable primaryKey)
                                                                             throws com.liferay.portal.NoSuchModelException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link with the primary key or throws a NoSuchModelException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
findByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Parameters:
primaryKey - the primary key of the d d m storage link
Returns:
the d d m storage link
Throws:
com.liferay.portal.NoSuchModelException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByPrimaryKey(long storageLinkId)
                                                                             throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link with the primary key or throws a NoSuchStorageLinkException if it could not be found.

Specified by:
findByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key of the d d m storage link
Returns:
the d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByPrimaryKey(java.io.Serializable primaryKey)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portal.service.persistence.BasePersistence<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Overrides:
fetchByPrimaryKey in class com.liferay.portal.service.persistence.impl.BasePersistenceImpl<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink>
Parameters:
primaryKey - the primary key of the d d m storage link
Returns:
the d d m storage link, or null if a d d m storage link with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByPrimaryKey

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByPrimaryKey(long storageLinkId)
                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link with the primary key or returns null if it could not be found.

Specified by:
fetchByPrimaryKey in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key of the d d m storage link
Returns:
the d d m storage link, or null if a d d m storage link with the primary key could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m storage links where uuid = ?.

Specified by:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
Returns:
the matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid,
                                                                                              int start,
                                                                                              int end)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m storage links where uuid = ?.

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:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
Returns:
the range of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByUuid(java.lang.String uuid,
                                                                                              int start,
                                                                                              int end,
                                                                                              com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                       throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m storage links where uuid = ?.

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:
findByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_First

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_First(java.lang.String uuid,
                                                                                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                             throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                    com.liferay.portal.kernel.exception.SystemException
Returns the first d d m storage link in the ordered set where uuid = ?.

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:
findByUuid_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a matching d d m storage link could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByUuid_Last(java.lang.String uuid,
                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                            throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the last d d m storage link in the ordered set where uuid = ?.

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:
findByUuid_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a matching d d m storage link could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByUuid_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByUuid_PrevAndNext(long storageLinkId,
                                                                                            java.lang.String uuid,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                     throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                            com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage links before and after the current d d m storage link in the ordered set where uuid = ?.

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:
findByUuid_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key of the current d d m storage link
uuid - the uuid
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByUuid_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink getByUuid_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                            com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink,
                                                                                            java.lang.String uuid,
                                                                                            com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                            boolean previous)

findByClassPK

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByClassPK(long classPK)
                                                                          throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                 com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link where classPK = ? or throws a NoSuchStorageLinkException if it could not be found.

Specified by:
findByClassPK in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
classPK - the class p k
Returns:
the matching d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a matching d d m storage link could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByClassPK

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK(long classPK)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link where classPK = ? or returns null if it could not be found. Uses the finder cache.

Specified by:
fetchByClassPK in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
classPK - the class p k
Returns:
the matching d d m storage link, or null if a matching d d m storage link could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

fetchByClassPK

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink fetchByClassPK(long classPK,
                                                                                  boolean retrieveFromCache)
                                                                           throws com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage link where classPK = ? or returns null if it could not be found, optionally using the finder cache.

Specified by:
fetchByClassPK in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d m storage link, or null if a matching d d m storage link could not be found
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId)
                                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m storage links where structureId = ?.

Specified by:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
Returns:
the matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId,
                                                                                                     int start,
                                                                                                     int end)
                                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m storage links where structureId = ?.

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:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
Returns:
the range of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findByStructureId(long structureId,
                                                                                                     int start,
                                                                                                     int end,
                                                                                                     com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                              throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m storage links where structureId = ?.

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:
findByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_First

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_First(long structureId,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                           com.liferay.portal.kernel.exception.SystemException
Returns the first d d m storage link in the ordered set where structureId = ?.

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:
findByStructureId_First in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a matching d d m storage link could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_Last

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink findByStructureId_Last(long structureId,
                                                                                          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                   throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                          com.liferay.portal.kernel.exception.SystemException
Returns the last d d m storage link in the ordered set where structureId = ?.

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:
findByStructureId_Last in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a matching d d m storage link could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findByStructureId_PrevAndNext

public com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink[] findByStructureId_PrevAndNext(long storageLinkId,
                                                                                                   long structureId,
                                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                            throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                                                                                                   com.liferay.portal.kernel.exception.SystemException
Returns the d d m storage links before and after the current d d m storage link in the ordered set where structureId = ?.

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:
findByStructureId_PrevAndNext in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
storageLinkId - the primary key of the current d d m storage link
structureId - the structure ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m storage link
Throws:
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException - if a d d m storage link with the primary key could not be found
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

getByStructureId_PrevAndNext

protected com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink getByStructureId_PrevAndNext(com.liferay.portal.kernel.dao.orm.Session session,
                                                                                                   com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink ddmStorageLink,
                                                                                                   long structureId,
                                                                                                   com.liferay.portal.kernel.util.OrderByComparator orderByComparator,
                                                                                                   boolean previous)

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll()
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns all the d d m storage links.

Specified by:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Returns:
the d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll(int start,
                                                                                           int end)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns a range of all the d d m storage 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:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
Returns:
the range of d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

findAll

public java.util.List<com.liferay.portlet.dynamicdatamapping.model.DDMStorageLink> findAll(int start,
                                                                                           int end,
                                                                                           com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
                                                                                    throws com.liferay.portal.kernel.exception.SystemException
Returns an ordered range of all the d d m storage 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:
findAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
start - the lower bound of the range of d d m storage links
end - the upper bound of the range of d d m storage links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByUuid

public void removeByUuid(java.lang.String uuid)
                  throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m storage links where uuid = ? from the database.

Specified by:
removeByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeByClassPK

public void removeByClassPK(long classPK)
                     throws com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException,
                            com.liferay.portal.kernel.exception.SystemException
Removes the d d m storage link where classPK = ? from the database.

Specified by:
removeByClassPK in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
classPK - the class p k
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred
com.liferay.portlet.dynamicdatamapping.NoSuchStorageLinkException

removeByStructureId

public void removeByStructureId(long structureId)
                         throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m storage links where structureId = ? from the database.

Specified by:
removeByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

removeAll

public void removeAll()
               throws com.liferay.portal.kernel.exception.SystemException
Removes all the d d m storage links from the database.

Specified by:
removeAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByUuid

public int countByUuid(java.lang.String uuid)
                throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m storage links where uuid = ?.

Specified by:
countByUuid in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
uuid - the uuid
Returns:
the number of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByClassPK

public int countByClassPK(long classPK)
                   throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m storage links where classPK = ?.

Specified by:
countByClassPK in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
classPK - the class p k
Returns:
the number of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countByStructureId

public int countByStructureId(long structureId)
                       throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m storage links where structureId = ?.

Specified by:
countByStructureId in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Parameters:
structureId - the structure ID
Returns:
the number of matching d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

countAll

public int countAll()
             throws com.liferay.portal.kernel.exception.SystemException
Returns the number of d d m storage links.

Specified by:
countAll in interface com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStorageLinkPersistence
Returns:
the number of d d m storage links
Throws:
com.liferay.portal.kernel.exception.SystemException - if a system exception occurred

afterPropertiesSet

public void afterPropertiesSet()
Initializes the d d m storage link persistence.


destroy

public void destroy()