public class UserGroupContainer
extends java.lang.Object
implements java.lang.Cloneable, java.lang.Comparable
Title: FileCatalyst Direct Server API
Description: Container class that holds user group data. Allows viewing of User Group by API caller without exposing the inner User Group classes.
Copyright: Copyright (c) 2013
Company: Unlimi-Tech Software Inc.
| Constructor and Description |
|---|
UserGroupContainer(java.lang.String name,
java.lang.String description,
boolean enabled)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
UserGroupContainer |
clone()
Clone method
|
int |
compareTo(java.lang.Object o)
Custom compare to method for this object
|
boolean |
equals(java.lang.Object obj)
Custom equals method for the object
|
java.lang.String |
getDescription()
Get the user group description
|
java.lang.String |
getName()
Returns the group name visible in the remote administration console
|
int |
hashCode()
Custom hash-code method for this object
|
boolean |
isEnabled()
If the user group is enabled or not.
|
void |
setDescription(java.lang.String description)
Modify the user group description
|
void |
setEnabled(boolean enabled)
Set the user group to be enabled or disabled.
|
void |
setName(java.lang.String name)
Modify the name of the user group
|
java.lang.String |
toString()
Write out UserGroupContainer object to string.
|
public UserGroupContainer(java.lang.String name,
java.lang.String description,
boolean enabled)
name - Name of the group as it appears to an administrator.description - Description of the user groupenabled - TRUE if the user group is currently enabled, FALSE if the group is disabled.public UserGroupContainer clone()
clone in class java.lang.Objectpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description - the description to setpublic boolean isEnabled()
public void setEnabled(boolean enabled)
enabled - the enabled to setpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic int compareTo(java.lang.Object o)
compareTo in interface java.lang.ComparableCopyright © 2015 Unlimi-Tech Sofware Inc. All Rights Reserved.