org.apache.continuum.dao
Class ProfileDaoImpl

java.lang.Object
  extended by org.apache.continuum.dao.AbstractDao
      extended by org.apache.continuum.dao.ProfileDaoImpl
All Implemented Interfaces:
ProfileDao

@Repository(value="profileDao")
public class ProfileDaoImpl
extends AbstractDao
implements ProfileDao

Version:
$Id: ProfileDaoImpl.java 1372260 2012-08-13 04:29:09Z brett $
Author:
Emmanuel Venisse

Field Summary
 
Fields inherited from class org.apache.continuum.dao.AbstractDao
BUILD_RESULT_WITH_DETAILS_FETCH_GROUP, BUILD_TEMPLATE_BUILD_DEFINITIONS, PROJECT_ALL_DETAILS_FETCH_GROUP, PROJECT_BUILD_DETAILS_FETCH_GROUP, PROJECT_DEPENDENCIES_FETCH_GROUP, PROJECT_WITH_BUILDS_FETCH_GROUP, PROJECT_WITH_CHECKOUT_RESULT_FETCH_GROUP, PROJECTGROUP_PROJECTS_FETCH_GROUP
 
Constructor Summary
ProfileDaoImpl()
           
 
Method Summary
 Profile addProfile(Profile profile)
           
 List<Profile> getAllProfilesByName()
           
 Profile getProfile(int profileId)
           
 Profile getProfileByName(String profileName)
           
 void removeProfile(Profile profile)
           
 void updateProfile(Profile profile)
           
 
Methods inherited from class org.apache.continuum.dao.AbstractDao
addObject, attachAndDelete, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getAllObjectsDetached, getContinuumPersistenceManagerFactory, getObjectById, getObjectById, getObjectFromQuery, getPersistenceManager, makePersistent, removeObject, rollback, updateObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfileDaoImpl

public ProfileDaoImpl()
Method Detail

getProfileByName

public Profile getProfileByName(String profileName)
                         throws ContinuumStoreException
Specified by:
getProfileByName in interface ProfileDao
Throws:
ContinuumStoreException

getAllProfilesByName

public List<Profile> getAllProfilesByName()
Specified by:
getAllProfilesByName in interface ProfileDao

addProfile

public Profile addProfile(Profile profile)
Specified by:
addProfile in interface ProfileDao

getProfile

public Profile getProfile(int profileId)
                   throws ContinuumStoreException
Specified by:
getProfile in interface ProfileDao
Throws:
ContinuumStoreException

updateProfile

public void updateProfile(Profile profile)
                   throws ContinuumStoreException
Specified by:
updateProfile in interface ProfileDao
Throws:
ContinuumStoreException

removeProfile

public void removeProfile(Profile profile)
Specified by:
removeProfile in interface ProfileDao


Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.