public abstract class BaseTorqueTurbineRole extends FulcrumAbstractTurbineRole implements org.apache.torque.om.Persistent, Serializable
Modifier and Type | Field and Description |
---|---|
protected List<TorqueTurbineRolePermission> |
collTorqueTurbineRolePermissions
Defines the collTorqueTurbineRolePermissions field.
|
protected List<TorqueTurbineUserGroupRole> |
collTorqueTurbineUserGroupRoles
Defines the collTorqueTurbineUserGroupRoles field.
|
Constructor and Description |
---|
BaseTorqueTurbineRole() |
Modifier and Type | Method and Description |
---|---|
void |
addTorqueTurbineRolePermission(TorqueTurbineRolePermission toAdd)
Method called to associate a TorqueTurbineRolePermission object to this object
through the collTorqueTurbineRolePermissions foreign key attribute.
|
void |
addTorqueTurbineRolePermission(TorqueTurbineRolePermission l,
Connection con)
Method called to associate a TorqueTurbineRolePermission object to this object
through the collTorqueTurbineRolePermissions foreign key attribute using connection.
|
void |
addTorqueTurbineUserGroupRole(TorqueTurbineUserGroupRole toAdd)
Method called to associate a TorqueTurbineUserGroupRole object to this object
through the collTorqueTurbineUserGroupRoles foreign key attribute.
|
void |
addTorqueTurbineUserGroupRole(TorqueTurbineUserGroupRole l,
Connection con)
Method called to associate a TorqueTurbineUserGroupRole object to this object
through the collTorqueTurbineUserGroupRoles foreign key attribute using connection.
|
TorqueTurbineRole |
copy()
Makes a copy of this object.
|
TorqueTurbineRole |
copy(boolean deepcopy)
Makes a copy of this object.
|
TorqueTurbineRole |
copy(boolean deepcopy,
Connection con)
Makes a copy of this object using connection.
|
TorqueTurbineRole |
copy(Connection con)
Makes a copy of this object using a connection.
|
TorqueTurbineRole |
copyInto(TorqueTurbineRole copyObj)
Fills the copyObj with the contents of this object.
|
protected TorqueTurbineRole |
copyInto(TorqueTurbineRole copyObj,
boolean deepcopy)
Fills the copyObj with the contents of this object.
|
TorqueTurbineRole |
copyInto(TorqueTurbineRole copyObj,
boolean deepcopy,
Connection con)
Fills the copyObj with the contents of this object using connection.
|
TorqueTurbineRole |
copyInto(TorqueTurbineRole copyObj,
Connection con)
Fills the copyObj with the contents of this object using connection.
|
boolean |
equals(Object toCompare)
Compares the primary key of this instance with the key of another.
|
Integer |
getEntityId()
Get the value of entityId.
|
String |
getEntityName()
Get the value of entityName.
|
TorqueTurbineRolePeer |
getPeer()
returns a peer instance associated with this om.
|
org.apache.torque.om.ObjectKey |
getPrimaryKey()
returns an id that differentiates this object from others
of its class.
|
org.apache.torque.map.TableMap |
getTableMap()
Retrieves the TableMap object related to this Table data without
compiler warnings of using getPeer().getTableMap().
|
List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissions()
If this collection has already been initialized, returns
the collection.
|
List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissions(Connection con)
If this collection has already been initialized, returns
the collection.
|
List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissions(org.apache.torque.criteria.Criteria criteria)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissions(org.apache.torque.criteria.Criteria criteria,
Connection con)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
protected List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissionsJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
protected List<TorqueTurbineRolePermission> |
getTorqueTurbineRolePermissionsJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria,
Connection connection)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRoles()
If this collection has already been initialized, returns
the collection.
|
List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRoles(Connection con)
If this collection has already been initialized, returns
the collection.
|
List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRoles(org.apache.torque.criteria.Criteria criteria)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRoles(org.apache.torque.criteria.Criteria criteria,
Connection con)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
protected List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRolesJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
protected List<TorqueTurbineUserGroupRole> |
getTorqueTurbineUserGroupRolesJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria,
Connection connection)
If this collection has already been initialized with
an identical criteria, it returns the collection.
|
int |
hashCode()
If the primary key is not
null , return the hashcode of the
primary key. |
List<TorqueTurbineRolePermission> |
initTorqueTurbineRolePermissions()
Initializes the cache collTorqueTurbineRolePermissions for referenced objects.
|
List<TorqueTurbineUserGroupRole> |
initTorqueTurbineUserGroupRoles()
Initializes the cache collTorqueTurbineUserGroupRoles for referenced objects.
|
boolean |
isDeleted()
Returns whether this object was deleted from the database.
|
boolean |
isLoading()
Returns whether this object is currently being loaded from the database.
|
boolean |
isModified()
Returns whether the object has been modified.
|
boolean |
isNew()
Returns whether the object has ever been saved.
|
boolean |
isSaving()
Returns whether this object is currently saving.
|
boolean |
isTorqueTurbineRolePermissionsInitialized()
Checks whether the cache collTorqueTurbineRolePermissions for referenced objects has either been
loaded from the database or has been manually initialized.
|
boolean |
isTorqueTurbineUserGroupRolesInitialized()
Checks whether the cache collTorqueTurbineUserGroupRoles for referenced objects has either been
loaded from the database or has been manually initialized.
|
void |
resetModified()
Sets the modified state for the object to be false.
|
void |
save()
Stores an object in the database.
|
void |
save(Connection con)
Stores an object in the database.
|
void |
save(String dbName)
Stores an object in the database.
|
void |
setDeleted(boolean deleted)
Sets whether this object was deleted from the database.
|
void |
setEntityId(Integer v)
Set the value of entityId.
|
void |
setEntityName(String v)
Set the value of entityName.
|
void |
setLoading(boolean loading)
Sets whether this object is currently being loaded from the database.
|
void |
setModified(boolean modified)
Sets whether the object has been modified.
|
void |
setNew(boolean isNew)
Sets whether the object has ever been saved.
|
void |
setPrimaryKey(org.apache.torque.om.ObjectKey key)
Set the PrimaryKey using ObjectKey.
|
void |
setPrimaryKey(String key)
Set the PrimaryKey using a String.
|
void |
setSaving(boolean saving)
Sets whether this object is currently saving.
|
String |
toString() |
boolean |
valueEquals(TorqueTurbineRole toCompare)
Compares the content of this object to another object
|
addPermission, delete, getDatabaseName, getPermissions, getPermissionsAsSet, getTorqueTurbineRolePermissionsJoinTorqueTurbinePermission, getTorqueTurbineUserGroupRolesJoinTorqueTurbineGroup, removePermission, retrieveAttachedObjects, setPermissions, setPermissionsAsSet, update
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
getId, getName, setId, setName
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId, getName, setId, setName
addUserGroupRole, getUserGroupRoleSet, removeUserGroupRole, setUserGroupRoleSet
protected List<TorqueTurbineRolePermission> collTorqueTurbineRolePermissions
protected List<TorqueTurbineUserGroupRole> collTorqueTurbineUserGroupRoles
public Integer getEntityId()
getEntityId
in class TorqueAbstractSecurityEntity
public void setEntityId(Integer v)
setEntityId
in class TorqueAbstractSecurityEntity
v
- new valuepublic String getEntityName()
getEntityName
in class TorqueAbstractSecurityEntity
public void setEntityName(String v)
setEntityName
in class TorqueAbstractSecurityEntity
v
- new valuepublic boolean isNew()
isNew
in interface org.apache.torque.om.Persistent
public void setNew(boolean isNew)
setNew
in interface org.apache.torque.om.Persistent
isNew
- true if the object has never been saved, false otherwise.public boolean isModified()
isModified
in interface org.apache.torque.om.Persistent
public void setModified(boolean modified)
setModified
in interface org.apache.torque.om.Persistent
modified
- true if the object has been modified, false otherwise.public void resetModified()
public boolean isSaving()
public void setSaving(boolean saving)
saving
- true if this object is currently saving, false otherwise.public boolean isLoading()
public void setLoading(boolean loading)
loading
- true if this object is currently loading, false otherwise.public boolean isDeleted()
public void setDeleted(boolean deleted)
deleted
- true if this object was deleted, false otherwise.public List<TorqueTurbineRolePermission> initTorqueTurbineRolePermissions()
public boolean isTorqueTurbineRolePermissionsInitialized()
public void addTorqueTurbineRolePermission(TorqueTurbineRolePermission toAdd) throws org.apache.torque.TorqueException
toAdd
object.toAdd
- the object to add to the associated objects, not null.org.apache.torque.TorqueException
- if retrieval of the associated objects fails.NullPointerException
- if toAdd is null.public void addTorqueTurbineRolePermission(TorqueTurbineRolePermission l, Connection con) throws org.apache.torque.TorqueException
l
- TorqueTurbineRolePermissionorg.apache.torque.TorqueException
public List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissions() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissions(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissions(Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissions(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissionsJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected List<TorqueTurbineRolePermission> getTorqueTurbineRolePermissionsJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection connection) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineUserGroupRole> initTorqueTurbineUserGroupRoles()
public boolean isTorqueTurbineUserGroupRolesInitialized()
public void addTorqueTurbineUserGroupRole(TorqueTurbineUserGroupRole toAdd) throws org.apache.torque.TorqueException
toAdd
object.toAdd
- the object to add to the associated objects, not null.org.apache.torque.TorqueException
- if retrieval of the associated objects fails.NullPointerException
- if toAdd is null.public void addTorqueTurbineUserGroupRole(TorqueTurbineUserGroupRole l, Connection con) throws org.apache.torque.TorqueException
l
- TorqueTurbineUserGroupRoleorg.apache.torque.TorqueException
public List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRoles() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRoles(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRoles(Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRoles(org.apache.torque.criteria.Criteria criteria, Connection con) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRolesJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
protected List<TorqueTurbineUserGroupRole> getTorqueTurbineUserGroupRolesJoinTorqueTurbineRole(org.apache.torque.criteria.Criteria criteria, Connection connection) throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public void save() throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
toSave
- the object to be saved, not null.org.apache.torque.TorqueException
- if an error occurs during saving.public void save(String dbName) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
toSave
- the object to be saved, not null.dbName
- the name of the database to which the object
should be saved.org.apache.torque.TorqueException
- if an error occurs during saving.public void save(Connection con) throws org.apache.torque.TorqueException
save
in interface org.apache.torque.om.Persistent
toSave
- the object to be saved, not null.con
- the connection to use for saving the object, not null.org.apache.torque.TorqueException
- if an error occurs during saving.public void setPrimaryKey(org.apache.torque.om.ObjectKey key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
key
- entityId ObjectKeypublic void setPrimaryKey(String key)
setPrimaryKey
in interface org.apache.torque.om.Persistent
key
- public org.apache.torque.om.ObjectKey getPrimaryKey()
getPrimaryKey
in interface org.apache.torque.om.Persistent
public TorqueTurbineRole copy() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public TorqueTurbineRole copy(Connection con) throws org.apache.torque.TorqueException
con
- the database connection to read associated objects.org.apache.torque.TorqueException
public TorqueTurbineRole copy(boolean deepcopy) throws org.apache.torque.TorqueException
deepcopy
- whether to copy the associated objects.org.apache.torque.TorqueException
public TorqueTurbineRole copy(boolean deepcopy, Connection con) throws org.apache.torque.TorqueException
deepcopy
- whether to copy the associated objects.con
- the database connection to read associated objects.org.apache.torque.TorqueException
public TorqueTurbineRole copyInto(TorqueTurbineRole copyObj) throws org.apache.torque.TorqueException
copyObj
- the object to fill.org.apache.torque.TorqueException
public TorqueTurbineRole copyInto(TorqueTurbineRole copyObj, Connection con) throws org.apache.torque.TorqueException
copyObj
- the object to fill.con
- the database connection to read associated objects.org.apache.torque.TorqueException
protected TorqueTurbineRole copyInto(TorqueTurbineRole copyObj, boolean deepcopy) throws org.apache.torque.TorqueException
copyObj
- the object to fill.deepcopy
- whether the associated objects should be copied.org.apache.torque.TorqueException
public TorqueTurbineRole copyInto(TorqueTurbineRole copyObj, boolean deepcopy, Connection con) throws org.apache.torque.TorqueException
copyObj
- the object to fill.deepcopy
- whether the associated objects should be copied.con
- the database connection to read associated objects.org.apache.torque.TorqueException
public TorqueTurbineRolePeer getPeer()
public org.apache.torque.map.TableMap getTableMap() throws org.apache.torque.TorqueException
org.apache.torque.TorqueException
public boolean equals(Object toCompare)
public int hashCode()
null
, return the hashcode of the
primary key. Otherwise calls Object.hashCode()
.public boolean valueEquals(TorqueTurbineRole toCompare)
toCompare
- The object to compare to.Copyright © 2011–2017 The Apache Software Foundation. All rights reserved.