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 DbCrmActivityMailMessage
buildRelation()
DbCrmActivityMailMessage
getRelationForActivity(Connection c, long crmActivityId)
DbCrmActivityMailMessage
getRelationForMessage(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)
void
removeRelation(Connection c, DbCrmActivityMailMessage relation)
abstract void
removeRelations(Connection c, DbCrmActivityMailMessage[] relations)
abstract void
saveRelation(Connection c, DbCrmActivityMailMessage relation)
-
-
-
Method Detail
-
buildRelation
protected DbCrmActivityMailMessage buildRelation()
-
getRelationForActivity
public final DbCrmActivityMailMessage getRelationForActivity(Connection c, long crmActivityId) throws SQLException
- Specified by:
getRelationForActivity
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
getRelationsForActivity
public abstract DbCrmActivityMailMessage[] getRelationsForActivity(Connection c, long[] crmActivityIds) throws SQLException
- Specified by:
getRelationsForActivity
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
getRelationsForFolder
public final DbCrmActivityMailMessage[] getRelationsForFolder(Connection c, long mailFolderId) throws SQLException
- Specified by:
getRelationsForFolder
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
getRelationsForFolder
public abstract DbCrmActivityMailMessage[] getRelationsForFolder(Connection c, long[] mailFolderIds) throws SQLException
- Specified by:
getRelationsForFolder
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
getRelationForMessage
public final DbCrmActivityMailMessage getRelationForMessage(Connection c, long mailMessageId) throws SQLException
- Specified by:
getRelationForMessage
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
getRelationsForMessage
public abstract DbCrmActivityMailMessage[] getRelationsForMessage(Connection c, long[] mailMessageIds) throws SQLException
- Specified by:
getRelationsForMessage
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
removeRelation
public final void removeRelation(Connection c, DbCrmActivityMailMessage relation) throws SQLException
- Specified by:
removeRelation
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
removeRelations
public abstract void removeRelations(Connection c, DbCrmActivityMailMessage[] relations) throws SQLException
- Specified by:
removeRelations
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
saveRelation
public abstract void saveRelation(Connection c, DbCrmActivityMailMessage relation) throws SQLException
- Specified by:
saveRelation
in interfaceDbCrmMailsHandler
- Throws:
SQLException
-
-