net.sourceforge.fixagora.basis.client.view.editor
Class FSecurityEditor

java.lang.Object
  extended by bibliothek.gui.dock.dockable.AbstractDockable
      extended by bibliothek.gui.dock.DefaultDockable
          extended by net.sourceforge.fixagora.basis.client.view.editor.AbstractBusinessObjectEditor
              extended by net.sourceforge.fixagora.basis.client.view.editor.FSecurityEditor
All Implemented Interfaces:
bibliothek.gui.dock.DockElement, bibliothek.gui.dock.DockElementRepresentative, bibliothek.gui.dock.station.support.PlaceholderListItem<bibliothek.gui.Dockable>, bibliothek.gui.Dockable

public class FSecurityEditor
extends AbstractBusinessObjectEditor

The Class FSecurityEditor.


Constructor Summary
FSecurityEditor(FSecurity security, MainPanel mainPanel, BasisClientConnector basisClientConnector)
          Instantiates a new f security editor.
 
Method Summary
 void checkDirty()
          Check dirty.
 void checkSecurityID(java.lang.String id)
          Check security id.
 AbstractBusinessObject getAbstractBusinessObject()
          Gets the abstract business object.
 FSecurity getSecurity()
          Gets the security.
 javax.swing.JLabel getSecurityIdWarningLabel()
          Gets the security id warning label.
 void initContent()
          Inits the content.
 void save()
          Save.
 void updateContent(AbstractBusinessObject abstractBusinessObject)
          Update content.
 void updateRoles(java.util.List<FRole> roles)
          Update roles.
 
Methods inherited from class net.sourceforge.fixagora.basis.client.view.editor.AbstractBusinessObjectEditor
checkName, closeAbstractBusinessObjectEditor, getBasisClientConnector, getBugIcon, getMainPanel, getNameWarningLabel, getSelectedTab, getWarningIcon, handleFocus, isConsistent, isDirty, isEditable, isVisible, postConstruct
 
Methods inherited from class bibliothek.gui.dock.DefaultDockable
add, add, asDockStation, getComponent, getContentPane, getFactoryID, remove, setController, setFactoryID, setLayout
 
Methods inherited from class bibliothek.gui.dock.dockable.AbstractDockable
accept, accept, addDockableListener, addDockableStateListener, addDockHierarchyListener, addKeyListener, addMouseInputListener, asDockable, bind, configureDisplayerHints, getController, getDockParent, getElement, getGlobalActionOffers, getLocalActionOffers, getPopupLocation, getTitleIcon, getTitleText, getTitleToolTip, isDockableVisible, isUsedAsTitle, listBoundTitles, removeDockableListener, removeDockableStateListener, removeDockHierarchyListener, removeKeyListener, removeMouseInputListener, requestDockTitle, resetTitleIcon, setActionOffers, setDockParent, setTitleIcon, setTitleText, setTitleToolTip, shouldFocus, shouldTransfersFocus, unbind
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FSecurityEditor

public FSecurityEditor(FSecurity security,
                       MainPanel mainPanel,
                       BasisClientConnector basisClientConnector)
Instantiates a new f security editor.

Parameters:
security - the security
mainPanel - the main panel
basisClientConnector - the basis client connector
Method Detail

initContent

public void initContent()
Description copied from class: AbstractBusinessObjectEditor
Inits the content.

Specified by:
initContent in class AbstractBusinessObjectEditor

getSecurity

public FSecurity getSecurity()
Gets the security.

Returns:
the security

save

public void save()
Description copied from class: AbstractBusinessObjectEditor
Save.

Overrides:
save in class AbstractBusinessObjectEditor

checkDirty

public void checkDirty()
Description copied from class: AbstractBusinessObjectEditor
Check dirty.

Specified by:
checkDirty in class AbstractBusinessObjectEditor

updateContent

public void updateContent(AbstractBusinessObject abstractBusinessObject)
Description copied from class: AbstractBusinessObjectEditor
Update content.

Overrides:
updateContent in class AbstractBusinessObjectEditor
Parameters:
abstractBusinessObject - the abstract business object

updateRoles

public void updateRoles(java.util.List<FRole> roles)
Description copied from class: AbstractBusinessObjectEditor
Update roles.

Specified by:
updateRoles in class AbstractBusinessObjectEditor
Parameters:
roles - the roles

checkSecurityID

public void checkSecurityID(java.lang.String id)
Check security id.

Parameters:
id - the id

getSecurityIdWarningLabel

public javax.swing.JLabel getSecurityIdWarningLabel()
Gets the security id warning label.

Returns:
the security id warning label

getAbstractBusinessObject

public AbstractBusinessObject getAbstractBusinessObject()
Description copied from class: AbstractBusinessObjectEditor
Gets the abstract business object.

Specified by:
getAbstractBusinessObject in class AbstractBusinessObjectEditor
Returns:
the abstract business object