throws SystemException {
lfCertificateTincanStatement = toUnwrappedModel(lfCertificateTincanStatement);
boolean isNew = lfCertificateTincanStatement.isNew();
LFCertificateTincanStatementModelImpl lfCertificateTincanStatementModelImpl =
(LFCertificateTincanStatementModelImpl) lfCertificateTincanStatement;
Session session = null;
try {
session = openSession();
if (lfCertificateTincanStatement.isNew()) {
session.save(lfCertificateTincanStatement);
lfCertificateTincanStatement.setNew(false);
} else {
session.merge(lfCertificateTincanStatement);
}
} catch (Exception e) {
throw processException(e);
} finally {
closeSession(session);
}
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
if (isNew ||
!LFCertificateTincanStatementModelImpl.COLUMN_BITMASK_ENABLED) {
FinderCacheUtil.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
}
else {
if ((lfCertificateTincanStatementModelImpl.getColumnBitmask() &
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CERTIFICATEID.getColumnBitmask()) != 0) {
Object[] args = new Object[] {
lfCertificateTincanStatementModelImpl.getOriginalCertificateID()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CERTIFICATEID,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CERTIFICATEID,
args);
args = new Object[] {
lfCertificateTincanStatementModelImpl.getCertificateID()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_CERTIFICATEID,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_CERTIFICATEID,
args);
}
if ((lfCertificateTincanStatementModelImpl.getColumnBitmask() &
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERB.getColumnBitmask()) != 0) {
Object[] args = new Object[] {
lfCertificateTincanStatementModelImpl.getOriginalVerb()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_VERB, args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERB,
args);
args = new Object[] {
lfCertificateTincanStatementModelImpl.getVerb()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_VERB, args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERB,
args);
}
if ((lfCertificateTincanStatementModelImpl.getColumnBitmask() &
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_OBJECT.getColumnBitmask()) != 0) {
Object[] args = new Object[] {
lfCertificateTincanStatementModelImpl.getOriginalObject()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OBJECT, args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_OBJECT,
args);
args = new Object[] {
lfCertificateTincanStatementModelImpl.getObject()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_OBJECT, args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_OBJECT,
args);
}
if ((lfCertificateTincanStatementModelImpl.getColumnBitmask() &
FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERBANDOBJECT.getColumnBitmask()) != 0) {
Object[] args = new Object[] {
lfCertificateTincanStatementModelImpl.getOriginalVerb(),
lfCertificateTincanStatementModelImpl.getOriginalObject()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_VERBANDOBJECT,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERBANDOBJECT,
args);
args = new Object[] {
lfCertificateTincanStatementModelImpl.getVerb(),
lfCertificateTincanStatementModelImpl.getObject()
};
FinderCacheUtil.removeResult(FINDER_PATH_COUNT_BY_VERBANDOBJECT,
args);
FinderCacheUtil.removeResult(FINDER_PATH_WITHOUT_PAGINATION_FIND_BY_VERBANDOBJECT,