/** * ADVANCED: * Return the receiver's does-exist call. * This allows the user to override the does-exist operation. */ public Call getDoesExistCall() { if (getDoesExistQuery() == null) { return null; } return getDoesExistQuery().getDatasourceCall(); }
/** * ADVANCED: * Return the receiver's does-exist call. * This allows the user to override the does-exist operation. */ public Call getDoesExistCall() { if (getDoesExistQuery() == null) { return null; } return getDoesExistQuery().getDatasourceCall(); }
/** * ADVANCED: * Return the receiver's does-exist call. * This allows the user to override the does-exist operation. */ public Call getDoesExistCall() { if (getDoesExistQuery() == null) { return null; } return getDoesExistQuery().getDatasourceCall(); }
/** * PUBLIC: * Assume that the object does not exist. This may be used if the application guarantees or * does not care about the existence check. This will always force an insert to be called. */ public void assumeNonExistenceForDoesExist() { getDoesExistQuery().assumeNonExistenceForDoesExist(); }
/** * PUBLIC: * Perform does exist check on the database */ public void checkDatabaseForDoesExist() { getDoesExistQuery().checkDatabaseForDoesExist(); }
/** * PUBLIC: * Assume that if the objects primary key does not include null then it must exist. * This may be used if the application guarantees or does not care about the existence check. */ public void assumeExistenceForDoesExist() { getDoesExistQuery().assumeExistenceForDoesExist(); }
/** * PUBLIC: * Assume that the object does not exist. This may be used if the application guarantees or * does not care about the existence check. This will always force an insert to be called. */ public void assumeNonExistenceForDoesExist() { getDoesExistQuery().assumeNonExistenceForDoesExist(); }
/** * PUBLIC: * Default behavior. * Assume that if the objects primary key does not include null and it * is in the cache, then is must exist. */ public void checkCacheForDoesExist() { getDoesExistQuery().checkCacheForDoesExist(); }
/** * PUBLIC: * Assume that if the objects primary key does not include null then it must exist. * This may be used if the application guarantees or does not care about the existence check. */ public void assumeExistenceForDoesExist() { getDoesExistQuery().assumeExistenceForDoesExist(); }
/** * PUBLIC: * Perform does exist check on the database */ public void checkDatabaseForDoesExist() { getDoesExistQuery().checkDatabaseForDoesExist(); }
/** * ADVANCED: * Set the receiver's does exist call. * This allows the user to override the does exist operation. */ public void setDoesExistCall(Call call) { if (call == null) { return; } getDoesExistQuery().setCall(call); }
/** * PUBLIC: * Default behavior. * Assume that if the objects primary key does not include null and it * is in the cache, then is must exist. */ public void checkCacheForDoesExist() { getDoesExistQuery().checkCacheForDoesExist(); }
/** * ADVANCED: * Set the receiver's does exist call. * This allows the user to override the does exist operation. */ public void setDoesExistCall(Call call) { if (call == null) { return; } getDoesExistQuery().setCall(call); }
/** * ADVANCED: * Set the receiver's does exist call. * This allows the user to override the does exist operation. */ public void setDoesExistCall(Call call) { if (call == null) { return; } getDoesExistQuery().setCall(call); }
/** * PUBLIC: * Assume that if the objects primary key does not include null then it must exist. * This may be used if the application guarantees or does not care about the existence check. */ public void assumeExistenceForDoesExist() { getDoesExistQuery().assumeExistenceForDoesExist(); }
/** * PUBLIC: * Default behavior. * Assume that if the objects primary key does not include null and it * is in the cache, then is must exist. */ public void checkCacheForDoesExist() { getDoesExistQuery().checkCacheForDoesExist(); }
/** * PUBLIC: * Perform does exist check on the database */ public void checkDatabaseForDoesExist() { getDoesExistQuery().checkDatabaseForDoesExist(); }
/** * PUBLIC: * Assume that the object does not exist. This may be used if the application guarantees or * does not care about the existence check. This will always force an insert to be called. */ public void assumeNonExistenceForDoesExist() { getDoesExistQuery().assumeNonExistenceForDoesExist(); }
public Object getAttributeValueFromObject(Object object) { DoesExistQuery query = ((DescriptorQueryManager)object).getDoesExistQuery(); if ((!query.isCallQuery()) && query.shouldCheckCacheForDoesExist()) { return null; } return query; }
@Override public Object getAttributeValueFromObject(Object object) { DoesExistQuery query = ((DescriptorQueryManager)object).getDoesExistQuery(); if ((!query.isCallQuery()) && query.shouldCheckCacheForDoesExist()) { return null; } return query; }