Package com.avoka.fc.core.entity.auto
Class _Permission
- java.lang.Object
-
- org.apache.cayenne.PersistentObject
-
- org.apache.cayenne.BaseDataObject
-
- org.apache.cayenne.CayenneDataObject
-
- com.avoka.core.entity.BaseEntity
-
- com.avoka.fc.core.entity.auto._Permission
-
- All Implemented Interfaces:
IEntity
,Serializable
,org.apache.cayenne.DataObject
,org.apache.cayenne.Persistent
,org.apache.cayenne.Validating
- Direct Known Subclasses:
Permission
public abstract class _Permission extends BaseEntity
Provides the _Permission database entity.
Please note this class was generated by Cayenne. You should avoid making changes to this class as it may be regenerated. Please make customizations to the entity subclass.
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.cayenne.exp.Property<String>
PERMISSION_NAME
Provides the 'PERMISSION_NAME' property.static String
PERMISSION_NAME_PROPERTY
Provides the 'permissionName' property name.static String
PERMISSION_OID_PK_COLUMN
Provides the 'permission_oid' primary key database column name.static org.apache.cayenne.exp.Property<Portal>
PORTAL
Provides the 'PORTAL' property.static String
PORTAL_PROPERTY
Provides the 'portal' relationship name.static org.apache.cayenne.exp.Property<List<RolePermission>>
ROLE_PERMISSIONS
Provides the 'ROLE_PERMISSIONS' property.static String
ROLE_PERMISSIONS_PROPERTY
Provides the 'rolePermissions' relationship name.-
Fields inherited from class com.avoka.core.entity.BaseEntity
ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description _Permission()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToRolePermissions(RolePermission obj)
Add the RolePermissions object.String
getPermissionName()
Return the permissionName value.Portal
getPortal()
Return the Portal.List<RolePermission>
getRolePermissions()
Return the RolePermissions.void
removeFromRolePermissions(RolePermission obj)
Remove the RolePermissions object.void
setPermissionName(String permissionName)
Set the permissionName value.void
setPortal(Portal portal)
Set the Portal.-
Methods inherited from class com.avoka.core.entity.BaseEntity
appendProperties, getId, getValuesMap, isNew, setId, toString
-
Methods inherited from class org.apache.cayenne.CayenneDataObject
makePath, readPropertyDirectly, readState, setPersistenceState, writePropertyDirectly, writeState
-
Methods inherited from class org.apache.cayenne.BaseDataObject
addToManyTarget, beforePropertyRead, beforePropertyWrite, getSnapshotVersion, readNestedProperty, readProperty, readSerialized, removeToManyTarget, setObjectContext, setReverseRelationship, setSnapshotVersion, setToManyTarget, setToOneTarget, toStringBuffer, unsetReverseRelationship, validateForDelete, validateForInsert, validateForSave, validateForUpdate, willConnect, writeProperty, writeSerialized
-
Methods inherited from class org.apache.cayenne.PersistentObject
getMapKey, getObjectContext, getObjectId, getPersistenceState, setObjectId
-
-
-
-
Field Detail
-
PERMISSION_NAME_PROPERTY
public static final String PERMISSION_NAME_PROPERTY
Provides the 'permissionName' property name.- See Also:
- Constant Field Values
-
PORTAL_PROPERTY
public static final String PORTAL_PROPERTY
Provides the 'portal' relationship name.- See Also:
- Constant Field Values
-
ROLE_PERMISSIONS_PROPERTY
public static final String ROLE_PERMISSIONS_PROPERTY
Provides the 'rolePermissions' relationship name.- See Also:
- Constant Field Values
-
PERMISSION_OID_PK_COLUMN
public static final String PERMISSION_OID_PK_COLUMN
Provides the 'permission_oid' primary key database column name.- See Also:
- Constant Field Values
-
PERMISSION_NAME
public static final org.apache.cayenne.exp.Property<String> PERMISSION_NAME
Provides the 'PERMISSION_NAME' property.
-
PORTAL
public static final org.apache.cayenne.exp.Property<Portal> PORTAL
Provides the 'PORTAL' property.
-
ROLE_PERMISSIONS
public static final org.apache.cayenne.exp.Property<List<RolePermission>> ROLE_PERMISSIONS
Provides the 'ROLE_PERMISSIONS' property.
-
-
Method Detail
-
setPermissionName
public void setPermissionName(String permissionName)
Set the permissionName value.- Parameters:
permissionName
- the permissionName value to set
-
getPermissionName
public String getPermissionName()
Return the permissionName value.- Returns:
- permissionName the permissionName value
-
setPortal
public void setPortal(Portal portal)
Set the Portal.- Parameters:
portal
- the portal value to set
-
getPortal
public Portal getPortal()
Return the Portal.- Returns:
- the portal value
-
addToRolePermissions
public void addToRolePermissions(RolePermission obj)
Add the RolePermissions object.- Parameters:
obj
- the rolePermissions value to add
-
removeFromRolePermissions
public void removeFromRolePermissions(RolePermission obj)
Remove the RolePermissions object.- Parameters:
obj
- the rolePermissions value to remove
-
getRolePermissions
public List<RolePermission> getRolePermissions()
Return the RolePermissions.- Returns:
- rolePermissions value
-
-