com.atlassian.greenhopper.service.rapid.view
Class BoardAdminDao

java.lang.Object
  extended by com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao<java.lang.Long,BoardAdminAO>
      extended by com.atlassian.greenhopper.service.rapid.view.BoardAdminDao
All Implemented Interfaces:
RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>

@Service
public class BoardAdminDao
extends GenericActiveObjectsDao<java.lang.Long,BoardAdminAO>
implements RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>


Field Summary
 
Fields inherited from class com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao
ao, entityType, log
 
Constructor Summary
BoardAdminDao()
           
 
Method Summary
 void deleteForParent(RapidViewAO parent)
          Delete all records for specified parent.
 BoardAdminAO[] getForParent(java.lang.Long rapidViewId)
          Return all the records for the specified parent.
 BoardAdminAO[] getForParent(RapidViewAO parent)
          Return all the records for the specified parent.
 BoardAdminAO[] getValidBoardAdminsWithIntegrity(BoardAdminAO[] boardAdminAOs)
           
 boolean isBoardAdminValid(BoardAdminAO boardAdmin)
           
 java.util.List<BoardAdminAO> updateForParent(RapidViewAO parent, java.util.List<BoardAdmin> boardAdmins)
          Set the list of domain objects onto the parent record.
 
Methods inherited from class com.atlassian.greenhopper.service.rapid.view.GenericActiveObjectsDao
create, delete, delete, findBy, load, preDelete, save
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoardAdminDao

public BoardAdminDao()
Method Detail

getForParent

public BoardAdminAO[] getForParent(RapidViewAO parent)
Description copied from interface: RelatedEntityDao
Return all the records for the specified parent.

Specified by:
getForParent in interface RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>
Returns:
the records

getForParent

public BoardAdminAO[] getForParent(java.lang.Long rapidViewId)
Description copied from interface: RelatedEntityDao
Return all the records for the specified parent.

Specified by:
getForParent in interface RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>
Returns:
the records

getValidBoardAdminsWithIntegrity

public BoardAdminAO[] getValidBoardAdminsWithIntegrity(BoardAdminAO[] boardAdminAOs)

updateForParent

public java.util.List<BoardAdminAO> updateForParent(RapidViewAO parent,
                                                    java.util.List<BoardAdmin> boardAdmins)
Description copied from interface: RelatedEntityDao
Set the list of domain objects onto the parent record. This will create new or updated existing records as necessary.

Specified by:
updateForParent in interface RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>
Returns:
the updated list of domain objects

deleteForParent

public void deleteForParent(RapidViewAO parent)
Description copied from interface: RelatedEntityDao
Delete all records for specified parent.

Specified by:
deleteForParent in interface RelatedEntityDao<java.lang.Long,RapidViewAO,BoardAdminAO,BoardAdmin>

isBoardAdminValid

public boolean isBoardAdminValid(BoardAdminAO boardAdmin)


Copyright © 2007-2013 Atlassian. All Rights Reserved.