com.aurel.track.dao
Interface ActionDAO

All Known Implementing Classes:
TActionPeer

public interface ActionDAO

DAO for Action object

Author:
Adrian Bojani

Method Summary
 void delete(java.lang.Integer actionOID)
          Deletes an action from the TAction table.
 boolean isDeletable(java.lang.Integer actionOID)
          Verifies whether an action is deletable.
 java.util.List loadAll()
          Loads all fields from TAction table.
 TActionBean loadByPrimaryKey(java.lang.Integer actionOID)
          Gets a TActionBean from the TAction table.
 java.lang.Integer save(TActionBean action)
          Saves an action to the TAction table.
 

Method Detail

loadByPrimaryKey

TActionBean loadByPrimaryKey(java.lang.Integer actionOID)
Gets a TActionBean from the TAction table.

Parameters:
actionOID - the actions object identifier
Returns:

loadAll

java.util.List loadAll()
Loads all fields from TAction table.

Returns:
list with all TActionBean objects.

save

java.lang.Integer save(TActionBean action)
Saves an action to the TAction table.

Parameters:
action -
Returns:

delete

void delete(java.lang.Integer actionOID)
Deletes an action from the TAction table. Is deletable should return true before calling this method.

Parameters:
actionOID - the actions object identifier

isDeletable

boolean isDeletable(java.lang.Integer actionOID)
Verifies whether an action is deletable.

Parameters:
actionOID - the actions object identifier


Issue Tracking with Track+: Home Page      Copyright © 2008 Trackplus. All Rights Reserved.