@Service(value="AdminService") public class AdminServiceImpl extends Object implements AdminService, org.springframework.context.ApplicationContextAware
Constructor and Description |
---|
AdminServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
deleteHomeScreenById(long homeScreenId) |
void |
deleteToolById(long toolId) |
AdminDao |
getAdminDao() |
List<HomeScreen> |
getAllHomeScreens() |
List<Tool> |
getAllTools() |
org.springframework.context.ApplicationContext |
getApplicationContext() |
HomeScreen |
getHomeScreenByAlias(String alias) |
HomeScreen |
getHomeScreenById(long homeScreenId) |
Tool |
getToolById(long toolId) |
Long |
saveHomeScreen(HomeScreen homeScreen) |
Long |
saveTool(Tool tool) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
public AdminServiceImpl()
@Transactional public List<HomeScreen> getAllHomeScreens()
getAllHomeScreens
in interface AdminService
@Transactional public HomeScreen getHomeScreenById(long homeScreenId)
getHomeScreenById
in interface AdminService
homeScreenId
- the id of the home screen to retrieve@Transactional public HomeScreen getHomeScreenByAlias(String alias)
getHomeScreenByAlias
in interface AdminService
alias
- the alias of the home screen to retrieve@Transactional public Long saveHomeScreen(HomeScreen homeScreen)
saveHomeScreen
in interface AdminService
homeScreen
- the HomeScreen to save@Transactional public void deleteHomeScreenById(long homeScreenId)
deleteHomeScreenById
in interface AdminService
homeScreenId
- the id of the HomeScreen to delete@Transactional public List<Tool> getAllTools()
getAllTools
in interface AdminService
@Transactional public Tool getToolById(long toolId)
getToolById
in interface AdminService
toolId
- the id of the tool to retrieve@Transactional public Long saveTool(Tool tool)
saveTool
in interface AdminService
tool
- the Tool to save@Transactional public void deleteToolById(long toolId)
deleteToolById
in interface AdminService
toolId
- the id of the Tool to deletepublic AdminDao getAdminDao()
public org.springframework.context.ApplicationContext getApplicationContext()
public void setApplicationContext(org.springframework.context.ApplicationContext context)
setApplicationContext
in interface org.springframework.context.ApplicationContextAware
context
- the context to setCopyright © 2011-2013 The Kuali Foundation. All Rights Reserved.