public abstract class TorqueAbstractSecurityEntity extends Object implements SecurityEntity, Serializable, org.apache.torque.om.Persistent
| Constructor and Description |
|---|
TorqueAbstractSecurityEntity() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
delete()
Delete this entity
|
abstract Integer |
getEntityId()
Get a numeric entity id
|
abstract String |
getEntityName()
Get the name of the entity
|
Object |
getId() |
String |
getName() |
abstract void |
retrieveAttachedObjects(Connection con)
old contract, lazy is set to
false. |
abstract void |
retrieveAttachedObjects(Connection con,
Boolean lazy)
Retrieve attached objects such as users, permissions, ...
|
abstract void |
setEntityId(Integer id)
Set a numeric entity id
|
abstract void |
setEntityName(String name)
Set the name of the entity
|
void |
setId(Object id) |
void |
setName(String name) |
abstract void |
update(Connection con)
Update this instance to the database with all dependent objects
|
public abstract Integer getEntityId()
public abstract void setEntityId(Integer id) throws org.apache.torque.TorqueException
id - numeric id of this entityorg.apache.torque.TorqueException - database not found exceptionpublic abstract String getEntityName()
public abstract void setEntityName(String name)
name - the name of the entitypublic abstract void retrieveAttachedObjects(Connection con, Boolean lazy) throws DataBackendException
con - A database connectionlazy - if true, may load some or all relationships laterorg.apache.torque.TorqueException - database not found exceptionDataBackendExceptionpublic abstract void retrieveAttachedObjects(Connection con) throws DataBackendException
false.con - A database connectionDataBackendException - wrapper exception: user information not found exceptionpublic abstract void update(Connection con) throws org.apache.torque.TorqueException
con - A database connectionorg.apache.torque.TorqueException - database not found exceptionpublic abstract void delete()
throws org.apache.torque.TorqueException
org.apache.torque.TorqueException - if any database error occurs if any database operation failspublic Object getId()
getId in interface SecurityEntitySecurityEntity.getId()public void setId(Object id)
setId in interface SecurityEntitySecurityEntity.setId(java.lang.Object)public String getName()
getName in interface SecurityEntitySecurityEntity.getName()public void setName(String name)
setName in interface SecurityEntitySecurityEntity.setName(java.lang.String)Copyright © 2011–2019 The Apache Software Foundation. All rights reserved.