Liferay 7.0-ce-m6

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

java.lang.Object
  extended by com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateLinkUtil

@ProviderType
public class DDMTemplateLinkUtil
extends Object

The persistence utility for the d d m template link service. This utility wraps com.liferay.portlet.dynamicdatamapping.service.persistence.impl.DDMTemplateLinkPersistenceImpl and provides direct access to the database for CRUD operations. This utility should only be used by the service layer, as it must operate within a transaction. Never access this utility in a JSP, controller, model, or other front-end class.

Caching information and settings can be found in portal.properties

See Also:
DDMTemplateLinkPersistence, com.liferay.portlet.dynamicdatamapping.service.persistence.impl.DDMTemplateLinkPersistenceImpl

Constructor Summary
DDMTemplateLinkUtil()
           
 
Method Summary
static void cacheResult(DDMTemplateLink ddmTemplateLink)
          Caches the d d m template link in the entity cache if it is enabled.
static void cacheResult(List<DDMTemplateLink> ddmTemplateLinks)
          Caches the d d m template links in the entity cache if it is enabled.
static void clearCache()
           
static void clearCache(DDMTemplateLink ddmTemplateLink)
           
static int countAll()
          Returns the number of d d m template links.
static int countByC_C(long classNameId, long classPK)
          Returns the number of d d m template links where classNameId = ? and classPK = ?.
static int countByClassNameId(long classNameId)
          Returns the number of d d m template links where classNameId = ?.
static int countByTemplateId(long templateId)
          Returns the number of d d m template links where templateId = ?.
static long countWithDynamicQuery(DynamicQuery dynamicQuery)
           
static DDMTemplateLink create(long templateLinkId)
          Creates a new d d m template link with the primary key.
static DDMTemplateLink fetchByC_C(long classNameId, long classPK)
          Returns the d d m template link where classNameId = ? and classPK = ? or returns null if it could not be found.
static DDMTemplateLink fetchByC_C(long classNameId, long classPK, boolean retrieveFromCache)
          Returns the d d m template link where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.
static DDMTemplateLink fetchByClassNameId_First(long classNameId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the first d d m template link in the ordered set where classNameId = ?.
static DDMTemplateLink fetchByClassNameId_Last(long classNameId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the last d d m template link in the ordered set where classNameId = ?.
static DDMTemplateLink fetchByPrimaryKey(long templateLinkId)
          Returns the d d m template link with the primary key or returns null if it could not be found.
static Map<Serializable,DDMTemplateLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)
           
static DDMTemplateLink fetchByTemplateId_First(long templateId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the first d d m template link in the ordered set where templateId = ?.
static DDMTemplateLink fetchByTemplateId_Last(long templateId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the last d d m template link in the ordered set where templateId = ?.
static List<DDMTemplateLink> findAll()
          Returns all the d d m template links.
static List<DDMTemplateLink> findAll(int start, int end)
          Returns a range of all the d d m template links.
static List<DDMTemplateLink> findAll(int start, int end, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns an ordered range of all the d d m template links.
static DDMTemplateLink findByC_C(long classNameId, long classPK)
          Returns the d d m template link where classNameId = ? and classPK = ? or throws a NoSuchTemplateLinkException if it could not be found.
static DDMTemplateLink findByClassNameId_First(long classNameId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the first d d m template link in the ordered set where classNameId = ?.
static DDMTemplateLink findByClassNameId_Last(long classNameId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the last d d m template link in the ordered set where classNameId = ?.
static DDMTemplateLink[] findByClassNameId_PrevAndNext(long templateLinkId, long classNameId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the d d m template links before and after the current d d m template link in the ordered set where classNameId = ?.
static List<DDMTemplateLink> findByClassNameId(long classNameId)
          Returns all the d d m template links where classNameId = ?.
static List<DDMTemplateLink> findByClassNameId(long classNameId, int start, int end)
          Returns a range of all the d d m template links where classNameId = ?.
static List<DDMTemplateLink> findByClassNameId(long classNameId, int start, int end, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns an ordered range of all the d d m template links where classNameId = ?.
static DDMTemplateLink findByPrimaryKey(long templateLinkId)
          Returns the d d m template link with the primary key or throws a NoSuchTemplateLinkException if it could not be found.
static DDMTemplateLink findByTemplateId_First(long templateId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the first d d m template link in the ordered set where templateId = ?.
static DDMTemplateLink findByTemplateId_Last(long templateId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the last d d m template link in the ordered set where templateId = ?.
static DDMTemplateLink[] findByTemplateId_PrevAndNext(long templateLinkId, long templateId, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns the d d m template links before and after the current d d m template link in the ordered set where templateId = ?.
static List<DDMTemplateLink> findByTemplateId(long templateId)
          Returns all the d d m template links where templateId = ?.
static List<DDMTemplateLink> findByTemplateId(long templateId, int start, int end)
          Returns a range of all the d d m template links where templateId = ?.
static List<DDMTemplateLink> findByTemplateId(long templateId, int start, int end, OrderByComparator<DDMTemplateLink> orderByComparator)
          Returns an ordered range of all the d d m template links where templateId = ?.
static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery)
           
static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end)
           
static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery, int start, int end, OrderByComparator<DDMTemplateLink> orderByComparator)
           
static DDMTemplateLinkPersistence getPersistence()
           
static DDMTemplateLink remove(long templateLinkId)
          Removes the d d m template link with the primary key from the database.
static void removeAll()
          Removes all the d d m template links from the database.
static DDMTemplateLink removeByC_C(long classNameId, long classPK)
          Removes the d d m template link where classNameId = ? and classPK = ? from the database.
static void removeByClassNameId(long classNameId)
          Removes all the d d m template links where classNameId = ? from the database.
static void removeByTemplateId(long templateId)
          Removes all the d d m template links where templateId = ? from the database.
 void setPersistence(DDMTemplateLinkPersistence persistence)
          Deprecated. As of 6.2.0
static DDMTemplateLink update(DDMTemplateLink ddmTemplateLink)
           
static DDMTemplateLink update(DDMTemplateLink ddmTemplateLink, ServiceContext serviceContext)
           
static DDMTemplateLink updateImpl(DDMTemplateLink ddmTemplateLink)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDMTemplateLinkUtil

public DDMTemplateLinkUtil()
Method Detail

clearCache

public static void clearCache()
See Also:
BasePersistence.clearCache()

clearCache

public static void clearCache(DDMTemplateLink ddmTemplateLink)
See Also:
BasePersistence.clearCache(com.liferay.portal.model.BaseModel)

countWithDynamicQuery

public static long countWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.countWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery)

findWithDynamicQuery

public static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                         int start,
                                                         int end)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int)

findWithDynamicQuery

public static List<DDMTemplateLink> findWithDynamicQuery(DynamicQuery dynamicQuery,
                                                         int start,
                                                         int end,
                                                         OrderByComparator<DDMTemplateLink> orderByComparator)
See Also:
BasePersistence.findWithDynamicQuery(DynamicQuery, int, int, OrderByComparator)

update

public static DDMTemplateLink update(DDMTemplateLink ddmTemplateLink)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel)

update

public static DDMTemplateLink update(DDMTemplateLink ddmTemplateLink,
                                     ServiceContext serviceContext)
See Also:
BasePersistence.update(com.liferay.portal.model.BaseModel, ServiceContext)

findByClassNameId

public static List<DDMTemplateLink> findByClassNameId(long classNameId)
Returns all the d d m template links where classNameId = ?.

Parameters:
classNameId - the class name ID
Returns:
the matching d d m template links

findByClassNameId

public static List<DDMTemplateLink> findByClassNameId(long classNameId,
                                                      int start,
                                                      int end)
Returns a range of all the d d m template links where classNameId = ?.

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 DDMTemplateLinkModelImpl. 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.

Parameters:
classNameId - the class name ID
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
Returns:
the range of matching d d m template links

findByClassNameId

public static List<DDMTemplateLink> findByClassNameId(long classNameId,
                                                      int start,
                                                      int end,
                                                      OrderByComparator<DDMTemplateLink> orderByComparator)
Returns an ordered range of all the d d m template links where classNameId = ?.

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 DDMTemplateLinkModelImpl. 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.

Parameters:
classNameId - the class name ID
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m template links

findByClassNameId_First

public static DDMTemplateLink findByClassNameId_First(long classNameId,
                                                      OrderByComparator<DDMTemplateLink> orderByComparator)
                                               throws NoSuchTemplateLinkException
Returns the first d d m template link in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template link
Throws:
NoSuchTemplateLinkException - if a matching d d m template link could not be found

fetchByClassNameId_First

public static DDMTemplateLink fetchByClassNameId_First(long classNameId,
                                                       OrderByComparator<DDMTemplateLink> orderByComparator)
Returns the first d d m template link in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template link, or null if a matching d d m template link could not be found

findByClassNameId_Last

public static DDMTemplateLink findByClassNameId_Last(long classNameId,
                                                     OrderByComparator<DDMTemplateLink> orderByComparator)
                                              throws NoSuchTemplateLinkException
Returns the last d d m template link in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template link
Throws:
NoSuchTemplateLinkException - if a matching d d m template link could not be found

fetchByClassNameId_Last

public static DDMTemplateLink fetchByClassNameId_Last(long classNameId,
                                                      OrderByComparator<DDMTemplateLink> orderByComparator)
Returns the last d d m template link in the ordered set where classNameId = ?.

Parameters:
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template link, or null if a matching d d m template link could not be found

findByClassNameId_PrevAndNext

public static DDMTemplateLink[] findByClassNameId_PrevAndNext(long templateLinkId,
                                                              long classNameId,
                                                              OrderByComparator<DDMTemplateLink> orderByComparator)
                                                       throws NoSuchTemplateLinkException
Returns the d d m template links before and after the current d d m template link in the ordered set where classNameId = ?.

Parameters:
templateLinkId - the primary key of the current d d m template link
classNameId - the class name ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template link
Throws:
NoSuchTemplateLinkException - if a d d m template link with the primary key could not be found

removeByClassNameId

public static void removeByClassNameId(long classNameId)
Removes all the d d m template links where classNameId = ? from the database.

Parameters:
classNameId - the class name ID

countByClassNameId

public static int countByClassNameId(long classNameId)
Returns the number of d d m template links where classNameId = ?.

Parameters:
classNameId - the class name ID
Returns:
the number of matching d d m template links

findByTemplateId

public static List<DDMTemplateLink> findByTemplateId(long templateId)
Returns all the d d m template links where templateId = ?.

Parameters:
templateId - the template ID
Returns:
the matching d d m template links

findByTemplateId

public static List<DDMTemplateLink> findByTemplateId(long templateId,
                                                     int start,
                                                     int end)
Returns a range of all the d d m template links where templateId = ?.

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 DDMTemplateLinkModelImpl. 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.

Parameters:
templateId - the template ID
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
Returns:
the range of matching d d m template links

findByTemplateId

public static List<DDMTemplateLink> findByTemplateId(long templateId,
                                                     int start,
                                                     int end,
                                                     OrderByComparator<DDMTemplateLink> orderByComparator)
Returns an ordered range of all the d d m template links where templateId = ?.

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 DDMTemplateLinkModelImpl. 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.

Parameters:
templateId - the template ID
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of matching d d m template links

findByTemplateId_First

public static DDMTemplateLink findByTemplateId_First(long templateId,
                                                     OrderByComparator<DDMTemplateLink> orderByComparator)
                                              throws NoSuchTemplateLinkException
Returns the first d d m template link in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template link
Throws:
NoSuchTemplateLinkException - if a matching d d m template link could not be found

fetchByTemplateId_First

public static DDMTemplateLink fetchByTemplateId_First(long templateId,
                                                      OrderByComparator<DDMTemplateLink> orderByComparator)
Returns the first d d m template link in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the first matching d d m template link, or null if a matching d d m template link could not be found

findByTemplateId_Last

public static DDMTemplateLink findByTemplateId_Last(long templateId,
                                                    OrderByComparator<DDMTemplateLink> orderByComparator)
                                             throws NoSuchTemplateLinkException
Returns the last d d m template link in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template link
Throws:
NoSuchTemplateLinkException - if a matching d d m template link could not be found

fetchByTemplateId_Last

public static DDMTemplateLink fetchByTemplateId_Last(long templateId,
                                                     OrderByComparator<DDMTemplateLink> orderByComparator)
Returns the last d d m template link in the ordered set where templateId = ?.

Parameters:
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the last matching d d m template link, or null if a matching d d m template link could not be found

findByTemplateId_PrevAndNext

public static DDMTemplateLink[] findByTemplateId_PrevAndNext(long templateLinkId,
                                                             long templateId,
                                                             OrderByComparator<DDMTemplateLink> orderByComparator)
                                                      throws NoSuchTemplateLinkException
Returns the d d m template links before and after the current d d m template link in the ordered set where templateId = ?.

Parameters:
templateLinkId - the primary key of the current d d m template link
templateId - the template ID
orderByComparator - the comparator to order the set by (optionally null)
Returns:
the previous, current, and next d d m template link
Throws:
NoSuchTemplateLinkException - if a d d m template link with the primary key could not be found

removeByTemplateId

public static void removeByTemplateId(long templateId)
Removes all the d d m template links where templateId = ? from the database.

Parameters:
templateId - the template ID

countByTemplateId

public static int countByTemplateId(long templateId)
Returns the number of d d m template links where templateId = ?.

Parameters:
templateId - the template ID
Returns:
the number of matching d d m template links

findByC_C

public static DDMTemplateLink findByC_C(long classNameId,
                                        long classPK)
                                 throws NoSuchTemplateLinkException
Returns the d d m template link where classNameId = ? and classPK = ? or throws a NoSuchTemplateLinkException if it could not be found.

Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching d d m template link
Throws:
NoSuchTemplateLinkException - if a matching d d m template link could not be found

fetchByC_C

public static DDMTemplateLink fetchByC_C(long classNameId,
                                         long classPK)
Returns the d d m template link where classNameId = ? and classPK = ? or returns null if it could not be found. Uses the finder cache.

Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the matching d d m template link, or null if a matching d d m template link could not be found

fetchByC_C

public static DDMTemplateLink fetchByC_C(long classNameId,
                                         long classPK,
                                         boolean retrieveFromCache)
Returns the d d m template link where classNameId = ? and classPK = ? or returns null if it could not be found, optionally using the finder cache.

Parameters:
classNameId - the class name ID
classPK - the class p k
retrieveFromCache - whether to use the finder cache
Returns:
the matching d d m template link, or null if a matching d d m template link could not be found

removeByC_C

public static DDMTemplateLink removeByC_C(long classNameId,
                                          long classPK)
                                   throws NoSuchTemplateLinkException
Removes the d d m template link where classNameId = ? and classPK = ? from the database.

Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the d d m template link that was removed
Throws:
NoSuchTemplateLinkException

countByC_C

public static int countByC_C(long classNameId,
                             long classPK)
Returns the number of d d m template links where classNameId = ? and classPK = ?.

Parameters:
classNameId - the class name ID
classPK - the class p k
Returns:
the number of matching d d m template links

cacheResult

public static void cacheResult(DDMTemplateLink ddmTemplateLink)
Caches the d d m template link in the entity cache if it is enabled.

Parameters:
ddmTemplateLink - the d d m template link

cacheResult

public static void cacheResult(List<DDMTemplateLink> ddmTemplateLinks)
Caches the d d m template links in the entity cache if it is enabled.

Parameters:
ddmTemplateLinks - the d d m template links

create

public static DDMTemplateLink create(long templateLinkId)
Creates a new d d m template link with the primary key. Does not add the d d m template link to the database.

Parameters:
templateLinkId - the primary key for the new d d m template link
Returns:
the new d d m template link

remove

public static DDMTemplateLink remove(long templateLinkId)
                              throws NoSuchTemplateLinkException
Removes the d d m template link with the primary key from the database. Also notifies the appropriate model listeners.

Parameters:
templateLinkId - the primary key of the d d m template link
Returns:
the d d m template link that was removed
Throws:
NoSuchTemplateLinkException - if a d d m template link with the primary key could not be found

updateImpl

public static DDMTemplateLink updateImpl(DDMTemplateLink ddmTemplateLink)

findByPrimaryKey

public static DDMTemplateLink findByPrimaryKey(long templateLinkId)
                                        throws NoSuchTemplateLinkException
Returns the d d m template link with the primary key or throws a NoSuchTemplateLinkException if it could not be found.

Parameters:
templateLinkId - the primary key of the d d m template link
Returns:
the d d m template link
Throws:
NoSuchTemplateLinkException - if a d d m template link with the primary key could not be found

fetchByPrimaryKey

public static DDMTemplateLink fetchByPrimaryKey(long templateLinkId)
Returns the d d m template link with the primary key or returns null if it could not be found.

Parameters:
templateLinkId - the primary key of the d d m template link
Returns:
the d d m template link, or null if a d d m template link with the primary key could not be found

fetchByPrimaryKeys

public static Map<Serializable,DDMTemplateLink> fetchByPrimaryKeys(Set<Serializable> primaryKeys)

findAll

public static List<DDMTemplateLink> findAll()
Returns all the d d m template links.

Returns:
the d d m template links

findAll

public static List<DDMTemplateLink> findAll(int start,
                                            int end)
Returns a range of all the d d m template 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. 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 DDMTemplateLinkModelImpl. 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.

Parameters:
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
Returns:
the range of d d m template links

findAll

public static List<DDMTemplateLink> findAll(int start,
                                            int end,
                                            OrderByComparator<DDMTemplateLink> orderByComparator)
Returns an ordered range of all the d d m template 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. 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 DDMTemplateLinkModelImpl. 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.

Parameters:
start - the lower bound of the range of d d m template links
end - the upper bound of the range of d d m template links (not inclusive)
orderByComparator - the comparator to order the results by (optionally null)
Returns:
the ordered range of d d m template links

removeAll

public static void removeAll()
Removes all the d d m template links from the database.


countAll

public static int countAll()
Returns the number of d d m template links.

Returns:
the number of d d m template links

getPersistence

public static DDMTemplateLinkPersistence getPersistence()

setPersistence

@Deprecated
public void setPersistence(DDMTemplateLinkPersistence persistence)
Deprecated. As of 6.2.0


Liferay 7.0-ce-m6