Package mc.core.domain.cc.dobj
Class MemoDO
java.lang.Object
mc.core.system.base.BaseBean
-
Nested Class Summary
Nested classes/interfaces inherited from class mc.core.domain.base.dobj.AbstractBaseDO
AbstractBaseDO.Initializer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidNOTE: when overriding this method and you delete any other objects you need to call validateNotUsed before in case flag force is false!doublegetRating(ComplexEntity entity) insert(ComplexEntity entity, int vote) insert(ComplexEntity entity, String text, Memo parent) Methods inherited from class mc.core.domain.base.dobj.AbstractBaseDO
addDefaultSearchCriteria, copy, delete, getAll, getAllActive, getEntityDisplay, getFromId, getFromKey, getOne, getUserRole, map, map, prepareSearchFilter, save, validator
-
Constructor Details
-
MemoDO
public MemoDO()
-
-
Method Details
-
insert
- Throws:
ApplicationException
-
insert
- Throws:
ApplicationException
-
save
- Overrides:
savein classAbstractBaseDO<Memo>- Throws:
ApplicationException
-
delete
Description copied from class:AbstractBaseDONOTE: when overriding this method and you delete any other objects you need to call validateNotUsed before in case flag force is false!- Overrides:
deletein classAbstractBaseDO<Memo>- Parameters:
memo- mandatoryforce- if true delete without usage check, which can result in db constraints error unless references are taken care of- Throws:
ApplicationException
-
getRating
-