Class DbCrmMailsHandlerImpl
- java.lang.Object
-
- com.openindex.openestate.tool.crm.addons.mail.db.DbCrmMailsHandlerImpl
-
- All Implemented Interfaces:
DbCrmMailsHandler
- Direct Known Subclasses:
HSqlDbCrmMailsHandler
public abstract class DbCrmMailsHandlerImpl extends Object implements DbCrmMailsHandler
DbCrmMailsHandlerImpl.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description DbCrmMailsHandlerImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected DbCrmActivityMailMessagebuildRelation()DbCrmActivityMailMessagegetRelationForActivity(Connection c, long crmActivityId)DbCrmActivityMailMessagegetRelationForMessage(Connection c, long mailMessageId)abstract DbCrmActivityMailMessage[]getRelationsForActivity(Connection c, long[] crmActivityIds)DbCrmActivityMailMessage[]getRelationsForFolder(Connection c, long mailFolderId)abstract DbCrmActivityMailMessage[]getRelationsForFolder(Connection c, long[] mailFolderIds)abstract DbCrmActivityMailMessage[]getRelationsForMessage(Connection c, long[] mailMessageIds)voidremoveRelation(Connection c, DbCrmActivityMailMessage relation)abstract voidremoveRelations(Connection c, DbCrmActivityMailMessage[] relations)abstract voidsaveRelation(Connection c, DbCrmActivityMailMessage relation)
-
-
-
Method Detail
-
buildRelation
protected DbCrmActivityMailMessage buildRelation()
-
getRelationForActivity
public final DbCrmActivityMailMessage getRelationForActivity(Connection c, long crmActivityId) throws SQLException
- Specified by:
getRelationForActivityin interfaceDbCrmMailsHandler- Throws:
SQLException
-
getRelationsForActivity
public abstract DbCrmActivityMailMessage[] getRelationsForActivity(Connection c, long[] crmActivityIds) throws SQLException
- Specified by:
getRelationsForActivityin interfaceDbCrmMailsHandler- Throws:
SQLException
-
getRelationsForFolder
public final DbCrmActivityMailMessage[] getRelationsForFolder(Connection c, long mailFolderId) throws SQLException
- Specified by:
getRelationsForFolderin interfaceDbCrmMailsHandler- Throws:
SQLException
-
getRelationsForFolder
public abstract DbCrmActivityMailMessage[] getRelationsForFolder(Connection c, long[] mailFolderIds) throws SQLException
- Specified by:
getRelationsForFolderin interfaceDbCrmMailsHandler- Throws:
SQLException
-
getRelationForMessage
public final DbCrmActivityMailMessage getRelationForMessage(Connection c, long mailMessageId) throws SQLException
- Specified by:
getRelationForMessagein interfaceDbCrmMailsHandler- Throws:
SQLException
-
getRelationsForMessage
public abstract DbCrmActivityMailMessage[] getRelationsForMessage(Connection c, long[] mailMessageIds) throws SQLException
- Specified by:
getRelationsForMessagein interfaceDbCrmMailsHandler- Throws:
SQLException
-
removeRelation
public final void removeRelation(Connection c, DbCrmActivityMailMessage relation) throws SQLException
- Specified by:
removeRelationin interfaceDbCrmMailsHandler- Throws:
SQLException
-
removeRelations
public abstract void removeRelations(Connection c, DbCrmActivityMailMessage[] relations) throws SQLException
- Specified by:
removeRelationsin interfaceDbCrmMailsHandler- Throws:
SQLException
-
saveRelation
public abstract void saveRelation(Connection c, DbCrmActivityMailMessage relation) throws SQLException
- Specified by:
saveRelationin interfaceDbCrmMailsHandler- Throws:
SQLException
-
-