Class WoofResourceSecurityModel
- java.lang.Object
-
- net.officefloor.model.AbstractModel
-
- net.officefloor.woof.model.resources.WoofResourceSecurityModel
-
- All Implemented Interfaces:
ItemModel<WoofResourceSecurityModel>
,Model
@Generated("net.officefloor.model.generate.ModelGenerator") public class WoofResourceSecurityModel extends AbstractModel implements ItemModel<WoofResourceSecurityModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WoofResourceSecurityModel.WoofResourceSecurityEvent
-
Constructor Summary
Constructors Constructor Description WoofResourceSecurityModel()
Default constructor.WoofResourceSecurityModel(java.lang.String httpSecurityName, java.lang.String[] role, java.lang.String[] requiredRole)
Convenience constructor.WoofResourceSecurityModel(java.lang.String httpSecurityName, java.lang.String[] role, java.lang.String[] requiredRole, int x, int y)
Convenience constructor allowing XY initialising.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addRequiredRole(java.lang.String requiredRole)
void
addRole(java.lang.String role)
java.lang.String
getHttpSecurityName()
java.util.List<java.lang.String>
getRequiredRoles()
java.util.List<java.lang.String>
getRoles()
RemoveConnectionsAction<WoofResourceSecurityModel>
removeConnections()
Remove Connections.void
removeRequiredRole(java.lang.String requiredRole)
void
removeRole(java.lang.String role)
void
setHttpSecurityName(java.lang.String httpSecurityName)
-
Methods inherited from class net.officefloor.model.AbstractModel
addItemToList, addPropertyChangeListener, changeField, firePropertyChange, getX, getY, removeItemFromList, removePropertyChangeListener, setX, setY
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface net.officefloor.model.Model
addPropertyChangeListener, getX, getY, removePropertyChangeListener, setX, setY
-
-
-
-
Constructor Detail
-
WoofResourceSecurityModel
public WoofResourceSecurityModel()
Default constructor.
-
WoofResourceSecurityModel
public WoofResourceSecurityModel(java.lang.String httpSecurityName, java.lang.String[] role, java.lang.String[] requiredRole)
Convenience constructor.- Parameters:
httpSecurityName
- Http security name.role
- Role.requiredRole
- Required role.
-
WoofResourceSecurityModel
public WoofResourceSecurityModel(java.lang.String httpSecurityName, java.lang.String[] role, java.lang.String[] requiredRole, int x, int y)
Convenience constructor allowing XY initialising.- Parameters:
httpSecurityName
- Http security name.role
- Role.requiredRole
- Required role.x
- Horizontal location.y
- Vertical location.
-
-
Method Detail
-
getHttpSecurityName
public java.lang.String getHttpSecurityName()
- Returns:
- Http security name.
-
setHttpSecurityName
public void setHttpSecurityName(java.lang.String httpSecurityName)
- Parameters:
httpSecurityName
- Http security name.
-
getRoles
public java.util.List<java.lang.String> getRoles()
- Returns:
- Role.
-
addRole
public void addRole(java.lang.String role)
- Parameters:
role
- Role.
-
removeRole
public void removeRole(java.lang.String role)
- Parameters:
role
- Role.
-
getRequiredRoles
public java.util.List<java.lang.String> getRequiredRoles()
- Returns:
- Required role.
-
addRequiredRole
public void addRequiredRole(java.lang.String requiredRole)
- Parameters:
requiredRole
- Required role.
-
removeRequiredRole
public void removeRequiredRole(java.lang.String requiredRole)
- Parameters:
requiredRole
- Required role.
-
removeConnections
public RemoveConnectionsAction<WoofResourceSecurityModel> removeConnections()
Remove Connections.- Specified by:
removeConnections
in interfaceItemModel<WoofResourceSecurityModel>
- Returns:
RemoveConnectionsAction
to remove theConnectionModel
instances.
-
-