com.liferay.portal.service.persistence
Interface ClassNamePersistence


public interface ClassNamePersistence

View Source

Author:
Brian Wing Shun Chan

Method Summary
 int countAll()
           
 int countByValue(java.lang.String value)
           
 ClassName create(long classNameId)
           
 ClassName fetchByPrimaryKey(long classNameId)
           
 ClassName fetchByValue(java.lang.String value)
           
 java.util.List findAll()
           
 java.util.List findAll(int begin, int end)
           
 java.util.List findAll(int begin, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
           
 ClassName findByPrimaryKey(long classNameId)
           
 ClassName findByValue(java.lang.String value)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
           
 java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer, int begin, int end)
           
 ClassName remove(ClassName className)
           
 ClassName remove(long classNameId)
           
 void removeAll()
           
 void removeByValue(java.lang.String value)
           
 ClassName update(ClassName className)
           
 ClassName update(ClassName className, boolean merge)
           
 ClassName updateImpl(ClassName className, boolean merge)
           
 

Method Detail

create

public ClassName create(long classNameId)

remove

public ClassName remove(long classNameId)
                 throws com.liferay.portal.SystemException,
                        NoSuchClassNameException
Throws:
com.liferay.portal.SystemException
NoSuchClassNameException

remove

public ClassName remove(ClassName className)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public ClassName update(ClassName className)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

update

public ClassName update(ClassName className,
                        boolean merge)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

updateImpl

public ClassName updateImpl(ClassName className,
                            boolean merge)
                     throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByPrimaryKey

public ClassName findByPrimaryKey(long classNameId)
                           throws com.liferay.portal.SystemException,
                                  NoSuchClassNameException
Throws:
com.liferay.portal.SystemException
NoSuchClassNameException

fetchByPrimaryKey

public ClassName fetchByPrimaryKey(long classNameId)
                            throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findByValue

public ClassName findByValue(java.lang.String value)
                      throws com.liferay.portal.SystemException,
                             NoSuchClassNameException
Throws:
com.liferay.portal.SystemException
NoSuchClassNameException

fetchByValue

public ClassName fetchByValue(java.lang.String value)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findWithDynamicQuery

public java.util.List findWithDynamicQuery(com.liferay.portal.kernel.dao.DynamicQueryInitializer queryInitializer,
                                           int begin,
                                           int end)
                                    throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll()
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

findAll

public java.util.List findAll(int begin,
                              int end,
                              com.liferay.portal.kernel.util.OrderByComparator obc)
                       throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

removeByValue

public void removeByValue(java.lang.String value)
                   throws com.liferay.portal.SystemException,
                          NoSuchClassNameException
Throws:
com.liferay.portal.SystemException
NoSuchClassNameException

removeAll

public void removeAll()
               throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countByValue

public int countByValue(java.lang.String value)
                 throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException

countAll

public int countAll()
             throws com.liferay.portal.SystemException
Throws:
com.liferay.portal.SystemException