|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ClassNamePersistence
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<ClassName> |
findAll()
|
java.util.List<ClassName> |
findAll(int start,
int end)
|
java.util.List<ClassName> |
findAll(int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator obc)
|
ClassName |
findByPrimaryKey(long classNameId)
|
ClassName |
findByValue(java.lang.String value)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
|
java.util.List<java.lang.Object> |
findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
int start,
int end)
|
void |
registerListener(ModelListener listener)
|
ClassName |
remove(ClassName className)
|
ClassName |
remove(long classNameId)
|
void |
removeAll()
|
void |
removeByValue(java.lang.String value)
|
void |
unregisterListener(ModelListener listener)
|
ClassName |
update(ClassName className)
Deprecated. Use update(ClassName className, boolean merge) . |
ClassName |
update(ClassName className,
boolean merge)
Add, update, or merge, the entity. |
ClassName |
updateImpl(ClassName className,
boolean merge)
|
Method Detail |
---|
ClassName create(long classNameId)
ClassName remove(long classNameId) throws NoSuchClassNameException, com.liferay.portal.SystemException
NoSuchClassNameException
com.liferay.portal.SystemException
ClassName remove(ClassName className) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ClassName update(ClassName className) throws com.liferay.portal.SystemException
update(ClassName className, boolean merge)
.
com.liferay.portal.SystemException
ClassName update(ClassName className, boolean merge) throws com.liferay.portal.SystemException
className
- the entity to add, update, or mergemerge
- boolean value for whether to merge the entity. The
default value is false. Setting merge to true is more
expensive and should only be true when className is
transient. See LEP-5473 for a detailed discussion of this
method.
com.liferay.portal.SystemException
ClassName updateImpl(ClassName className, boolean merge) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ClassName findByPrimaryKey(long classNameId) throws NoSuchClassNameException, com.liferay.portal.SystemException
NoSuchClassNameException
com.liferay.portal.SystemException
ClassName fetchByPrimaryKey(long classNameId) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
ClassName findByValue(java.lang.String value) throws NoSuchClassNameException, com.liferay.portal.SystemException
NoSuchClassNameException
com.liferay.portal.SystemException
ClassName fetchByValue(java.lang.String value) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<java.lang.Object> findWithDynamicQuery(com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ClassName> findAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ClassName> findAll(int start, int end) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
java.util.List<ClassName> findAll(int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void removeByValue(java.lang.String value) throws NoSuchClassNameException, com.liferay.portal.SystemException
NoSuchClassNameException
com.liferay.portal.SystemException
void removeAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countByValue(java.lang.String value) throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
int countAll() throws com.liferay.portal.SystemException
com.liferay.portal.SystemException
void registerListener(ModelListener listener)
void unregisterListener(ModelListener listener)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |