de.uplanet.lucy.server.usermanager.ds
Interface IDsRecord

All Superinterfaces:
java.lang.Iterable<de.uplanet.lucy.server.usermanager.ds.DsColumn>
All Known Subinterfaces:
IDsContainerRecord, IDsDistListRecord, IDsGroupRecord, IDsObjectRecord, IDsOrganizationRecord, IDsOrgUnitRecord, IDsRoleRecord, IDsSetRecord, IDsUserRecord

public interface IDsRecord
extends java.lang.Iterable<de.uplanet.lucy.server.usermanager.ds.DsColumn>

Version:
$Revision: 86706 $

Method Summary
 void applyDelete(de.uplanet.jdbc.JdbcConnection p_conn)
          Called from the DsDBManager when this record is being deleted.
 boolean equals(java.lang.Object p_obj)
           
 int getClassId()
           
 de.uplanet.lucy.server.usermanager.ds.DsColumn getColumn(java.lang.String p_strColumnGuid)
          returns the Colum
 java.util.Map<java.lang.String,IValueHolder<?>> getCustomColumns()
           
 java.lang.String getGuid()
           
 int getPrimaryKey()
           
 IValueHolder<?> getPrimaryKeyVH()
           
 int hashCode()
           
 boolean isDeleted()
           
 boolean isGuidSet()
           
 boolean isPrimaryKeySet()
           
 java.util.Iterator<de.uplanet.lucy.server.usermanager.ds.DsColumn> iterator()
           
 void putColumn(de.uplanet.lucy.server.usermanager.ds.DsColumn p_col)
           
 void setDeleted(boolean p_bDeleted)
           
 void setPrimaryKey(int p_value)
           
 

Method Detail

getCustomColumns

java.util.Map<java.lang.String,IValueHolder<?>> getCustomColumns()
Returns:
An unmodifiable map (key = column name, value = column value).

getColumn

de.uplanet.lucy.server.usermanager.ds.DsColumn getColumn(java.lang.String p_strColumnGuid)
returns the Colum

Parameters:
p_strColumnGuid -
Returns:
The column with the given guid (could be null)

putColumn

void putColumn(de.uplanet.lucy.server.usermanager.ds.DsColumn p_col)

iterator

java.util.Iterator<de.uplanet.lucy.server.usermanager.ds.DsColumn> iterator()
Specified by:
iterator in interface java.lang.Iterable<de.uplanet.lucy.server.usermanager.ds.DsColumn>

getPrimaryKeyVH

IValueHolder<?> getPrimaryKeyVH()

isPrimaryKeySet

boolean isPrimaryKeySet()

setPrimaryKey

void setPrimaryKey(int p_value)

getPrimaryKey

int getPrimaryKey()

getClassId

int getClassId()

getGuid

java.lang.String getGuid()

isGuidSet

boolean isGuidSet()

setDeleted

void setDeleted(boolean p_bDeleted)

isDeleted

boolean isDeleted()

applyDelete

void applyDelete(de.uplanet.jdbc.JdbcConnection p_conn)
                 throws java.sql.SQLException
Called from the DsDBManager when this record is being deleted. The applyDelete function should either mark for delete or delete all depending ds objects.

Parameters:
p_conn - The database connection to be used.
Throws:
java.sql.SQLException

equals

boolean equals(java.lang.Object p_obj)
Overrides:
equals in class java.lang.Object

hashCode

int hashCode()
Overrides:
hashCode in class java.lang.Object


Last updated: 2011-08-11 10-04
Copyright © 2000-2011 United Planet. All Rights Reserved.