本文整理了Java中org.jbundle.base.db.Record.getModified
方法的一些代码示例,展示了Record.getModified
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Record.getModified
方法的具体详情如下:
包路径:org.jbundle.base.db.Record
类名称:Record
方法名:getModified
[英]Get the field's modified status
[中]获取字段的修改状态
代码示例来源:origin: org.jbundle.base/org.jbundle.base
this.handleRecordChange(DBConstants.REFRESH_TYPE); // Tell listeners I'm going to refresh the record
rgobjEnabledFields = this.setEnableNonFilter(null, false, false, false, false, false);
boolean[] rgbModified = this.getModified();
this.add();
Object varBookmark = this.getLastModified(DBConstants.DATA_SOURCE_HANDLE);
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
this.handleRecordChange(DBConstants.REFRESH_TYPE); // Tell listeners I'm going to refresh the record
rgobjEnabledFields = this.setEnableNonFilter(null, false, false, false, false, false);
boolean[] rgbModified = this.getModified();
this.add();
Object varBookmark = this.getLastModified(DBConstants.DATA_SOURCE_HANDLE);
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
this.handleRecordChange(DBConstants.REFRESH_TYPE); // Tell listeners I'm going to refresh the record
rgobjEnabledFields = this.setEnableNonFilter(null, false, false, false, false, false);
boolean[] rgbModified = this.getModified();
this.add();
Object varBookmark = this.getLastModified(DBConstants.DATA_SOURCE_HANDLE);
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
/**
* Adding a file listener to the chain.
* This just gives the table an ability to respond to listeners being added.
* @param record TODO
* @param listener The filter or listener to add to the chain.
*/
public void addListener(Record record, FileListener listener)
{
record.doAddListener(listener);
boolean bOldState = listener.setEnabledListener(false); // To disable recursive forever loop!
BaseListener nextListener = listener.setNextListener(null); // Make sure this is the ONLY listener in the chain to get this call
if (record.getEditMode() == Constants.EDIT_ADD)
{
boolean[] rgbModified = this.getRecord().getModified();
listener.doNewRecord(DBConstants.DISPLAY);
this.getRecord().setModified(rgbModified); // Restore since doNew should not change modified fields.
}
else if ((record.getEditMode() == Constants.EDIT_IN_PROGRESS) || (record.getEditMode() == Constants.EDIT_CURRENT))
listener.doValidRecord(DBConstants.DISPLAY);
listener.setNextListener(nextListener);
listener.setEnabledListener(bOldState); // Renable the listener to eliminate echos
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
/**
* Adding a file listener to the chain.
* This just gives the table an ability to respond to listeners being added.
* @param record TODO
* @param listener The filter or listener to add to the chain.
*/
public void addListener(Record record, FileListener listener)
{
record.doAddListener(listener);
boolean bOldState = listener.setEnabledListener(false); // To disable recursive forever loop!
BaseListener nextListener = listener.setNextListener(null); // Make sure this is the ONLY listener in the chain to get this call
if (record.getEditMode() == Constants.EDIT_ADD)
{
boolean[] rgbModified = this.getRecord().getModified();
listener.doNewRecord(DBConstants.DISPLAY);
this.getRecord().setModified(rgbModified); // Restore since doNew should not change modified fields.
}
else if ((record.getEditMode() == Constants.EDIT_IN_PROGRESS) || (record.getEditMode() == Constants.EDIT_CURRENT))
listener.doValidRecord(DBConstants.DISPLAY);
listener.setNextListener(nextListener);
listener.setEnabledListener(bOldState); // Renable the listener to eliminate echos
}
/**
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
/**
* Adding a file listener to the chain.
* This just gives the table an ability to respond to listeners being added.
* @param record TODO
* @param listener The filter or listener to add to the chain.
*/
public void addListener(Record record, FileListener listener)
{
record.doAddListener(listener);
boolean bOldState = listener.setEnabledListener(false); // To disable recursive forever loop!
BaseListener nextListener = listener.setNextListener(null); // Make sure this is the ONLY listener in the chain to get this call
if (record.getEditMode() == Constants.EDIT_ADD)
{
boolean[] rgbModified = this.getRecord().getModified();
listener.doNewRecord(DBConstants.DISPLAY);
this.getRecord().setModified(rgbModified); // Restore since doNew should not change modified fields.
}
else if ((record.getEditMode() == Constants.EDIT_IN_PROGRESS) || (record.getEditMode() == Constants.EDIT_CURRENT))
listener.doValidRecord(DBConstants.DISPLAY);
listener.setNextListener(nextListener);
listener.setEnabledListener(bOldState); // Renable the listener to eliminate echos
}
/**
代码示例来源:origin: org.jbundle.base/org.jbundle.base
rgbModified = m_record.getModified();
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
rgbModified = m_record.getModified();
代码示例来源:origin: org.jbundle.base/org.jbundle.base
rgbModified = this.getModified();
代码示例来源:origin: org.jbundle.base/org.jbundle.base.mixed
rgbModified = this.getModified();
代码示例来源:origin: org.jbundle.base.db/org.jbundle.base.db
rgbModified = this.getModified();
内容来源于网络,如有侵权,请联系作者删除!