org.mmbase.applications.packaging.sharehandlers
Class ShareInfo

java.lang.Object
  extended by org.mmbase.applications.packaging.sharehandlers.ShareInfo

public class ShareInfo
extends java.lang.Object

Author:
Daniel Ockeloen

Constructor Summary
ShareInfo()
          Constructor for the ShareInfo object
 
Method Summary
 boolean addGroup(java.lang.String name)
          Adds a feature to the Group attribute of the ShareInfo object
 boolean addUser(java.lang.String name)
          Adds a feature to the User attribute of the ShareInfo object
 boolean containsGroup(java.lang.String group)
          Description of the Method
 boolean containsUser(java.lang.String user)
          Description of the Method
 java.util.Iterator getShareGroups()
          Gets the shareGroups attribute of the ShareInfo object
 java.util.Iterator getShareUsers()
          Gets the shareUsers attribute of the ShareInfo object
 boolean isActive()
          Gets the active attribute of the ShareInfo object
 boolean removeGroup(java.lang.String name)
          Description of the Method
 boolean removeUser(java.lang.String name)
          Description of the Method
 void setActive(boolean wantedstate)
          Sets the active attribute of the ShareInfo object
 boolean sharedForUser(java.lang.String user, java.lang.String password, java.lang.String method, java.lang.String host)
          Description of the Method
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShareInfo

public ShareInfo()
Constructor for the ShareInfo object

Method Detail

isActive

public boolean isActive()
Gets the active attribute of the ShareInfo object

Returns:
The active value

setActive

public void setActive(boolean wantedstate)
Sets the active attribute of the ShareInfo object

Parameters:
wantedstate - The new active value

addUser

public boolean addUser(java.lang.String name)
Adds a feature to the User attribute of the ShareInfo object

Parameters:
name - The feature to be added to the User attribute
Returns:
Description of the Return Value

removeUser

public boolean removeUser(java.lang.String name)
Description of the Method

Parameters:
name - Description of the Parameter
Returns:
Description of the Return Value

removeGroup

public boolean removeGroup(java.lang.String name)
Description of the Method

Parameters:
name - Description of the Parameter
Returns:
Description of the Return Value

containsUser

public boolean containsUser(java.lang.String user)
Description of the Method

Parameters:
user - Description of the Parameter
Returns:
Description of the Return Value

containsGroup

public boolean containsGroup(java.lang.String group)
Description of the Method

Parameters:
group - Description of the Parameter
Returns:
Description of the Return Value

addGroup

public boolean addGroup(java.lang.String name)
Adds a feature to the Group attribute of the ShareInfo object

Parameters:
name - The feature to be added to the Group attribute
Returns:
Description of the Return Value

getShareUsers

public java.util.Iterator getShareUsers()
Gets the shareUsers attribute of the ShareInfo object

Returns:
The shareUsers value

sharedForUser

public boolean sharedForUser(java.lang.String user,
                             java.lang.String password,
                             java.lang.String method,
                             java.lang.String host)
Description of the Method

Parameters:
user - Description of the Parameter
password - Description of the Parameter
method - Description of the Parameter
host - Description of the Parameter
Returns:
Description of the Return Value

getShareGroups

public java.util.Iterator getShareGroups()
Gets the shareGroups attribute of the ShareInfo object

Returns:
The shareGroups value


packaging build ${version}