public abstract class DbObjectsHandlerImpl extends DbHandlerImpl implements DbObjectsHandler
Modifier | Constructor and Description |
---|---|
protected |
DbObjectsHandlerImpl() |
protected |
DbObjectsHandlerImpl(String schema) |
getSchema, getSchemaPath, setSchema
protected DbObjectsHandlerImpl()
protected DbObjectsHandlerImpl(String schema)
protected DbObject createObject()
public final int getNumberOfFiles(Connection c, long objectId) throws SQLException
getNumberOfFiles
in interface DbObjectsHandler
SQLException
public final int getNumberOfFiles(Connection c, long objectId, Boolean published) throws SQLException
getNumberOfFiles
in interface DbObjectsHandler
SQLException
public abstract int getNumberOfFiles(Connection c, long objectId, Boolean published, String mimeType) throws SQLException
getNumberOfFiles
in interface DbObjectsHandler
SQLException
public final DbObject getObject(Connection c, long id) throws SQLException
getObject
in interface DbObjectsHandler
SQLException
public final DbObject getObject(Connection c, String nr) throws SQLException
getObject
in interface DbObjectsHandler
SQLException
public final DbObject[] getObjects(Connection c) throws SQLException
getObjects
in interface DbObjectsHandler
SQLException
public abstract DbObject[] getObjects(Connection c, long[] ids) throws SQLException
getObjects
in interface DbObjectsHandler
SQLException
public abstract DbObject[] getObjects(Connection c, String[] nrs) throws SQLException
getObjects
in interface DbObjectsHandler
SQLException
public DbObject[] getObjects(Connection c, DbSearch search) throws SQLException
getObjects
in interface DbObjectsHandler
SQLException
public final DbObject[] getObjectsByKeyword(Connection c, String keyword) throws SQLException
getObjectsByKeyword
in interface DbObjectsHandler
SQLException
public abstract DbObject[] getObjectsByKeyword(Connection c, String keyword, int limit) throws SQLException
getObjectsByKeyword
in interface DbObjectsHandler
SQLException
public abstract OpenEstateAction[] getObjectActions(Connection c) throws SQLException
getObjectActions
in interface DbObjectsHandler
SQLException
public abstract long getObjectId(Connection c, String publicId) throws SQLException
getObjectId
in interface DbObjectsHandler
SQLException
public final long[] getObjectIds(Connection c) throws SQLException
getObjectIds
in interface DbObjectsHandler
SQLException
public final long[] getObjectIds(Connection c, long contactId) throws SQLException
getObjectIds
in interface DbObjectsHandler
SQLException
public abstract long[] getObjectIds(Connection c, long[] contactIds) throws SQLException
getObjectIds
in interface DbObjectsHandler
SQLException
public abstract long[] getObjectIds(Connection c, DbSearch search) throws SQLException
getObjectIds
in interface DbObjectsHandler
SQLException
public abstract OpenEstateType[] getObjectTypes(Connection c) throws SQLException
getObjectTypes
in interface DbObjectsHandler
SQLException
public final void loadObjectAttribs(Connection c, DbObject object, DbLanguagesHandler languageHandler) throws SQLException
loadObjectAttribs
in interface DbObjectsHandler
SQLException
public final void loadObjectAttribs(Connection c, DbObject object, Map<Long,String> languages) throws SQLException
loadObjectAttribs
in interface DbObjectsHandler
SQLException
public final void loadObjectAttribs(Connection c, DbObject[] objects, DbLanguagesHandler languageHandler) throws SQLException
loadObjectAttribs
in interface DbObjectsHandler
SQLException
public abstract void loadObjectAttribs(Connection c, DbObject[] objects, Map<Long,String> languages) throws SQLException
loadObjectAttribs
in interface DbObjectsHandler
SQLException
public final void loadObjectGeoDbAreas(Connection c, DbObject object, DbGeoHandler geoHandler) throws SQLException
loadObjectGeoDbAreas
in interface DbObjectsHandler
SQLException
public abstract void loadObjectGeoDbAreas(Connection c, DbObject[] objects, DbGeoHandler geoHandler) throws SQLException
loadObjectGeoDbAreas
in interface DbObjectsHandler
SQLException
public final void loadObjectTranslations(Connection c, DbObject object, DbLanguagesHandler languageHandler) throws SQLException
loadObjectTranslations
in interface DbObjectsHandler
SQLException
public final void loadObjectTranslations(Connection c, DbObject object, Map<Long,String> languages) throws SQLException
loadObjectTranslations
in interface DbObjectsHandler
SQLException
public final void loadObjectTranslations(Connection c, DbObject[] objects, DbLanguagesHandler languageHandler) throws SQLException
loadObjectTranslations
in interface DbObjectsHandler
SQLException
public abstract void loadObjectTranslations(Connection c, DbObject[] objects, Map<Long,String> languages) throws SQLException
loadObjectTranslations
in interface DbObjectsHandler
SQLException
public final void removeObject(Connection c, long id) throws SQLException
removeObject
in interface DbObjectsHandler
SQLException
public abstract void removeObjects(Connection c, long[] ids) throws SQLException
removeObjects
in interface DbObjectsHandler
SQLException
public final void saveObject(Connection c, DbObject object) throws SQLException
saveObject
in interface DbObjectsHandler
SQLException
public final void saveObject(Connection c, DbObject object, DbLanguagesHandler languageHandler, boolean saveTranslations, boolean saveAttributes) throws SQLException
saveObject
in interface DbObjectsHandler
SQLException
public abstract void saveObject(Connection c, DbObject object, Map<Long,String> languages, boolean saveTranslations, boolean saveAttributes) throws SQLException
saveObject
in interface DbObjectsHandler
SQLException
public final void setObjectContactId(Connection c, long objectId, long contactId) throws SQLException
setObjectContactId
in interface DbObjectsHandler
SQLException
public abstract void setObjectContactId(Connection c, long[] objectIds, long contactId) throws SQLException
setObjectContactId
in interface DbObjectsHandler
SQLException
Copyright © 2019 OpenEstate. All rights reserved.