Interface ISecurityHeaderDAO
-
- All Known Implementing Classes:
SecurityHeaderDAO
public interface ISecurityHeaderDAOISecurityHeaderDAO Interface
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddelete(int nSecurityHeaderId)Delete a record from the table.voidinsert(SecurityHeader securityheader)Insert a new record in the table.SecurityHeaderload(int nKey)load the data of the security header from the tablejava.util.Collection<SecurityHeader>selectAll()Loads the data of all the security headers and returns them in form of a collectionvoidstore(SecurityHeader securityheader)Update the record in the table.voidupdateIsActive(int nSecurityHeaderId, boolean isActiveValue)Update of the is_active column value of securityHeader which is specified in parameter.
-
-
-
Method Detail
-
insert
void insert(SecurityHeader securityheader)
Insert a new record in the table.- Parameters:
securityheader- instance of the SecurityHeader object to insert
-
store
void store(SecurityHeader securityheader)
Update the record in the table.- Parameters:
securityheader- the reference of the SecurityHeader
-
delete
void delete(int nSecurityHeaderId)
Delete a record from the table.- Parameters:
nSecurityHeaderId- int identifier of the SecurityHeader to delete
-
updateIsActive
void updateIsActive(int nSecurityHeaderId, boolean isActiveValue)Update of the is_active column value of securityHeader which is specified in parameter.- Parameters:
nSecurityHeaderId- The securityHeader IdisActiveValue- The value to set to is_active column
-
load
SecurityHeader load(int nKey)
load the data of the security header from the table- Parameters:
nKey- The identifier of the securityHeader- Returns:
- The instance of the securityHeader
-
selectAll
java.util.Collection<SecurityHeader> selectAll()
Loads the data of all the security headers and returns them in form of a collection- Returns:
- the collection which contains the data of all the security headers
-
-