|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Container | +--javax.swing.JComponent | +--javax.swing.JPanel | +--au.edu.swin.synergy.plugin.rtp.BChgPermPanel
This class provides the change permissions panel for changing file permissions in the repository. The combo box and file list will be disabled if the user is not either the owner or an administrator
Inner classes inherited from class javax.swing.JPanel |
JPanel.AccessibleJPanel |
Inner classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
Field Summary | |
protected Vector |
descriptors
Vector which contains the descriptor info |
protected String |
filename
Filename of file whos permission are being edited |
protected Vector |
groups
Vector which contains the groups info |
protected String |
newOwner
new Owner of the file if the owner has changed |
protected Vector |
oldDescriptors
Vector containing the old descriptors |
protected String |
owner
Owner of the file |
protected Long |
ownerID
UID of the owner of the file |
protected BUser |
user
user who is opeining this dialog |
protected Vector |
users
Vector which contains the users info |
Fields inherited from class javax.swing.JComponent |
accessibleContext,
listenerList,
TOOL_TIP_TEXT_KEY,
ui,
UNDEFINED_CONDITION,
WHEN_ANCESTOR_OF_FOCUSED_COMPONENT,
WHEN_FOCUSED,
WHEN_IN_FOCUSED_WINDOW |
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
BChgPermPanel(String file,
String ownerName,
Long fOwnerID,
BUser currentUser)
Constructor for the Change Permissions Panel |
Method Summary | |
Vector |
getDescriptors()
Gets the BDescriptors for the groups |
String |
getOwner()
|
void |
setDescriptors(Vector desc)
|
void |
setGroups(Vector groupsVector,
Vector members)
Sets the groups to be displayed in the groups list |
void |
setUsers(Vector usersVector,
Vector members)
Sets the users to be displayed in the members list |
Methods inherited from class javax.swing.JPanel |
getAccessibleContext,
getUIClassID,
paramString,
updateUI |
Methods inherited from class java.awt.Container |
add,
add,
add,
add,
add,
addContainerListener,
addImpl,
countComponents,
deliverEvent,
doLayout,
findComponentAt,
findComponentAt,
getComponent,
getComponentAt,
getComponentAt,
getComponentCount,
getComponents,
getLayout,
insets,
invalidate,
isAncestorOf,
layout,
list,
list,
locate,
minimumSize,
paintComponents,
preferredSize,
print,
printComponents,
processContainerEvent,
processEvent,
remove,
remove,
removeAll,
removeContainerListener,
setLayout,
validate,
validateTree |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
protected Vector groups
protected Vector users
protected Vector descriptors
protected Vector oldDescriptors
protected String filename
protected String owner
protected String newOwner
protected Long ownerID
protected BUser user
Constructor Detail |
public BChgPermPanel(String file, String ownerName, Long fOwnerID, BUser currentUser)
file
- the name of the fileownerName
- the name of the ownerfOwnerID
- the unique ID o fthe owner of the filecurrentUser
- The BUser object of the currently logged in userMethod Detail |
public void setGroups(Vector groupsVector, Vector members)
groupsVector
- Vector containing the group IDs to displaymembers
- Vector containing the names fo the groupspublic void setUsers(Vector usersVector, Vector members)
usersVector
- Vector containing the users IDs to displaymembers
- Vector containg the names of the userspublic Vector getDescriptors()
public void setDescriptors(Vector desc)
public String getOwner()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |