Class TorqueTurbineRolePermission
- java.lang.Object
-
- org.apache.fulcrum.security.torque.om.BaseTorqueTurbineRolePermission
-
- org.apache.fulcrum.security.torque.om.TorqueTurbineRolePermission
-
- All Implemented Interfaces:
Serializable
,TurbineRolePermissionPeerMapper
,org.apache.torque.om.ObjectModel
,org.apache.torque.om.Persistent
public class TorqueTurbineRolePermission extends BaseTorqueTurbineRolePermission implements TurbineRolePermissionPeerMapper
The skeleton for this class was autogenerated by Torque on: [Mon Dec 21 09:31:57 CET 2020] You should add additional methods to this class to meet the application requirements. This class will only be generated as long as it does not already exist in the output directory.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TorqueTurbineRolePermission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Permission
getTurbinePermission()
Returns the associated TurbinePermission object.TurbinePermission
getTurbinePermission(Connection connection)
Return the associated TurbinePermission object If it was not retrieved before, the object is retrieved from the database using the passed connectionRole
getTurbineRole()
Returns the associated TurbineRole object.Role
getTurbineRole(Connection connection)
Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connection-
Methods inherited from class org.apache.fulcrum.security.torque.om.BaseTorqueTurbineRolePermission
copy, copy, copy, copy, copyInto, copyInto, copyInto, copyInto, equals, getForeignKeyForTorqueTurbinePermission, getForeignKeyForTorqueTurbineRole, getPeer, getPermissionId, getPrimaryKey, getRoleId, getTableMap, getTorqueTurbinePermission, getTorqueTurbinePermission, getTorqueTurbineRole, getTorqueTurbineRole, hashCode, isDeleted, isLoading, isModified, isNew, isSaving, resetModified, save, save, save, setDeleted, setLoading, setModified, setNew, setPermissionId, setPrimaryKey, setPrimaryKey, setPrimaryKey, setRoleId, setSaving, setTorqueTurbinePermission, setTorqueTurbinePermissionKey, setTorqueTurbineRole, setTorqueTurbineRoleKey, toString, valueEquals
-
-
-
-
Constructor Detail
-
TorqueTurbineRolePermission
public TorqueTurbineRolePermission()
-
-
Method Detail
-
getTurbineRole
public Role getTurbineRole() throws org.apache.torque.TorqueException
Description copied from interface:TurbineRolePermissionPeerMapper
Returns the associated TurbineRole object. If it was not retrieved before, the object is retrieved from the database- Specified by:
getTurbineRole
in interfaceTurbineRolePermissionPeerMapper
- Returns:
- the associated TurbineRole object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs when reading from the database fails.
-
getTurbineRole
public Role getTurbineRole(Connection connection) throws org.apache.torque.TorqueException
Description copied from interface:TurbineRolePermissionPeerMapper
Return the associated TurbineRole object If it was not retrieved before, the object is retrieved from the database using the passed connection- Specified by:
getTurbineRole
in interfaceTurbineRolePermissionPeerMapper
- Parameters:
connection
- the connection used to retrieve the associated object from the database, if it was not retrieved before- Returns:
- the associated TurbineRole object
- Throws:
org.apache.torque.TorqueException
- if any database error occurs
-
getTurbinePermission
public Permission getTurbinePermission() throws org.apache.torque.TorqueException
Description copied from interface:TurbineRolePermissionPeerMapper
Returns the associated TurbinePermission object. If it was not retrieved before, the object is retrieved from the database- Specified by:
getTurbinePermission
in interfaceTurbineRolePermissionPeerMapper
- Returns:
- the associated TurbinePermission object
- Throws:
org.apache.torque.TorqueException
- when reading from the database fails.
-
getTurbinePermission
public TurbinePermission getTurbinePermission(Connection connection) throws org.apache.torque.TorqueException
Description copied from interface:TurbineRolePermissionPeerMapper
Return the associated TurbinePermission object If it was not retrieved before, the object is retrieved from the database using the passed connection- Specified by:
getTurbinePermission
in interfaceTurbineRolePermissionPeerMapper
- Parameters:
connection
- the connection used to retrieve the associated object from the database, if it was not retrieved before- Returns:
- the associated TurbinePermission object
- Throws:
org.apache.torque.TorqueException
- If a problem occurs with the get[$filedType] method.
-
-