use of org.traccar.model.BaseModel in project traccar by traccar.
the class BaseObjectManager method removeItem.
public void removeItem(long itemId) throws SQLException {
BaseModel item = getById(itemId);
if (item != null) {
dataManager.removeObject(baseClass, itemId);
removeCachedItem(itemId);
}
}
use of org.traccar.model.BaseModel in project traccar by tananaev.
the class BaseObjectManager method removeItem.
public void removeItem(long itemId) throws StorageException {
BaseModel item = getById(itemId);
if (item != null) {
dataManager.removeObject(baseClass, itemId);
removeCachedItem(itemId);
}
}
Aggregations