|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.client.SeRegistration
public class SeRegistration
Field Summary | |
---|---|
static int |
SE_REGISTRATION_ROW_ID_ALLOCATION_MANY
|
static int |
SE_REGISTRATION_ROW_ID_ALLOCATION_SINGLE
|
static int |
SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE
|
static int |
SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE
|
static int |
SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER
|
Constructor Summary | |
---|---|
SeRegistration(SeConnection conn)
SeRegistration constructor with an SeConnection.Use this constructor when registrating a new object. |
|
SeRegistration(SeConnection conn,
SeObjectId regId)
SeRegistration constructor with an SeConnection and table registration Id that retrives the registration entry information for specified ID. |
|
SeRegistration(SeConnection conn,
java.lang.String tableName)
SeRegistration constructor with an SeConnection and table name that retrives the registration entry information for specified table. |
Method Summary | |
---|---|
boolean |
allowRowlocks()
Returns TRUE if rowlocking is enabled. |
void |
alter()
Alters the properties of a registered table. |
java.lang.Object |
clone()
Clones the SeRegistration object. |
void |
create()
Register an existing table with ArcSde. |
void |
delete()
Unregisters a table. |
int |
getAccess()
Returns the privilege bitmask for a registered table.The privileges are: SeDefs.SE_SELECT_PRIVILEGE SeDefs.SE_UPDATE_PRIVILEGE SeDefs.SE_INSERT_PRIVILEGE SeDefs.SE_DELETE_PRIVILEGE |
java.lang.String |
getCreationKeyword()
Returns the configuration keyword used for table creation. |
java.lang.String[] |
getDependentTables()
Returns a dynamically allocated list of all dependent tables for a given table. |
java.lang.String |
getDescription()
Returns the registered table's description. |
SeRegistration[] |
getDifferenceList(SeObjectId state1Id,
SeObjectId state2Id)
Returns a list SeRegistration objects for all of the multiversion tables that are modified in either of the input states or any of the states joining them in the state tree (excluding their shared parent), and for which the current user has any access to the DBMS tables. |
SeObjectId |
getId()
Returns the ID of a registered table. |
void |
getInfo()
Returns registration information. |
SeObjectId |
getMinimumId()
Returns the the minimum ID allowed in the registered table. |
java.lang.String |
getMvViewName()
Returns the multiversion view name of a registered table. |
java.util.Date |
getRegistrationDate()
Returns the registration date of a table. |
int |
getRowIdAllocation()
Returns the method used by this registered table to allocate SDE-maintained rowids. |
java.lang.String |
getRowIdColumnName()
Returns the row ID column name for a registered table. |
int |
getRowIdColumnType()
Returns the row ID column type for a registered table. |
java.lang.String |
getTableName()
Returns the table name for a registered table. |
boolean |
hasLayer()
Returns TRUE if the registered table has a spatial column. |
boolean |
hasXml()
Returns TRUE if this table have an xml column. |
boolean |
isBaseSave()
A base-save table is a multiversioned table whose changes can be saved into the base state or saved to the base table directly. |
boolean |
isHidden()
Returns TRUE if the registered table is hidden. |
boolean |
isMultiVersion()
Returns TRUE if the registered is a multiversioned table. |
boolean |
isView()
Returns TRUE if the registered table is a view. |
void |
setBaseSave(boolean isBaseSave)
Sets the base-save flag for a registered table. |
void |
setCreationKeyword(java.lang.String creationKeyword)
Sets the configuration keyword used for table creation. |
void |
setDescription(java.lang.String desc)
Sets the registered table's description. |
void |
setHidden(boolean hidden)
Sets the hidden flag for a registered table. |
void |
setMinimumId(SeObjectId minId)
Sets the minimum ID allowed for the registered table. |
void |
setMultiVersion(boolean isMultiVersion)
Sets the multiversion flag for a registered table. |
void |
setRowIdAllocation(int method)
Sets a registration entry's method of allocating ArcSDE-maintained rows ids. |
void |
setRowIdColumnName(java.lang.String rowidColumn)
Sets the row ID column name for a registered table. |
void |
setRowIdColumnType(int rowidColumnType)
Sets the row ID column name for a registered table. |
void |
setRowlocks(boolean allowRowlocks)
Sets row locking to enabled or dis abled on a registered table. |
void |
setTableName(java.lang.String tableName)
Sets the table name for a registered table. |
void |
setView(boolean isView)
Sets the view flag for a registered table. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int SE_REGISTRATION_ROW_ID_COLUMN_TYPE_SDE
public static final int SE_REGISTRATION_ROW_ID_COLUMN_TYPE_USER
public static final int SE_REGISTRATION_ROW_ID_COLUMN_TYPE_NONE
public static final int SE_REGISTRATION_ROW_ID_ALLOCATION_SINGLE
public static final int SE_REGISTRATION_ROW_ID_ALLOCATION_MANY
Constructor Detail |
---|
public SeRegistration(SeConnection conn) throws SeException
conn
- SeConnection object handle.
SeException
public SeRegistration(SeConnection conn, SeObjectId regId) throws SeException
conn
- SeConnection object handle.regId
- the registration table ID.
SeException
public SeRegistration(SeConnection conn, java.lang.String tableName) throws SeException
conn
- SeConnection object handle.tableName
- table name.
SeException
Method Detail |
---|
public void alter() throws SeException
SeException
public void create() throws SeException
SeException
public void delete() throws SeException
SeException
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
SeRegistration
object.
clone
in class java.lang.Object
SeRegistration
as type Object
.
java.lang.CloneNotSupportedException
- if an error occurspublic SeRegistration[] getDifferenceList(SeObjectId state1Id, SeObjectId state2Id) throws SeException
state1Id
- the ID of the first state.state2Id
- the ID of the second state.
SeException
public void getInfo() throws SeException
SeException
public java.lang.String[] getDependentTables() throws SeException
SeException
public int getAccess()
public java.lang.String getCreationKeyword()
public void setCreationKeyword(java.lang.String creationKeyword)
public java.lang.String getDescription()
public void setDescription(java.lang.String desc)
public SeObjectId getId()
public java.lang.String getMvViewName()
public SeObjectId getMinimumId()
public void setMinimumId(SeObjectId minId) throws SeException
SeException
public java.util.Date getRegistrationDate()
public java.lang.String getRowIdColumnName()
public void setRowIdColumnName(java.lang.String rowidColumn) throws SeException
SeException
public int getRowIdAllocation()
public void setRowIdAllocation(int method) throws SeException
method
- SE_REGISTRATION_ROW_ID_ALLOCATION_SINGLE
or SE_REGISTRATION_ROW_ID_ALLOCATION_MANY
SeException
public int getRowIdColumnType()
public void setRowIdColumnType(int rowidColumnType) throws SeException
SeException
public java.lang.String getTableName()
public void setTableName(java.lang.String tableName) throws SeException
SeException
public boolean hasLayer()
public boolean isHidden()
public boolean isBaseSave()
public void setBaseSave(boolean isBaseSave)
public void setHidden(boolean hidden)
public boolean isView()
public void setView(boolean isView)
public boolean hasXml()
public boolean isMultiVersion()
public void setMultiVersion(boolean isMultiVersion)
public boolean allowRowlocks()
public void setRowlocks(boolean allowRowlocks)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |