org.alfresco.repo.domain.mimetype.ibatis
Class MimetypeDAOImpl

java.lang.Object
  extended by org.alfresco.repo.domain.mimetype.AbstractMimetypeDAOImpl
      extended by org.alfresco.repo.domain.mimetype.ibatis.MimetypeDAOImpl
All Implemented Interfaces:
MimetypeDAO

public class MimetypeDAOImpl
extends AbstractMimetypeDAOImpl

iBatis-specific implementation of the Mimetype DAO.

Since:
3.2

Constructor Summary
MimetypeDAOImpl()
           
 
Method Summary
protected  MimetypeEntity createMimetypeEntity(java.lang.String mimetype)
           
protected  MimetypeEntity getMimetypeEntity(java.lang.Long id)
           
protected  MimetypeEntity getMimetypeEntity(java.lang.String mimetype)
           
 void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
           
protected  int updateMimetypeEntity(java.lang.Long id, java.lang.String newMimetype)
           
 
Methods inherited from class org.alfresco.repo.domain.mimetype.AbstractMimetypeDAOImpl
getMimetype, getMimetype, getOrCreateMimetype, setMimetypeEntityCache, updateMimetype
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MimetypeDAOImpl

public MimetypeDAOImpl()
Method Detail

setSqlSessionTemplate

public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)

getMimetypeEntity

protected MimetypeEntity getMimetypeEntity(java.lang.Long id)
Specified by:
getMimetypeEntity in class AbstractMimetypeDAOImpl
Parameters:
id - the ID of the mimetype entity
Returns:
Return the entity or null if it doesn't exist

getMimetypeEntity

protected MimetypeEntity getMimetypeEntity(java.lang.String mimetype)
Specified by:
getMimetypeEntity in class AbstractMimetypeDAOImpl

createMimetypeEntity

protected MimetypeEntity createMimetypeEntity(java.lang.String mimetype)
Specified by:
createMimetypeEntity in class AbstractMimetypeDAOImpl

updateMimetypeEntity

protected int updateMimetypeEntity(java.lang.Long id,
                                   java.lang.String newMimetype)
Specified by:
updateMimetypeEntity in class AbstractMimetypeDAOImpl


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.