|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.openexchange.admin.rmi.dataobjects.EnforceableDataObject com.openexchange.admin.rmi.dataobjects.ExtendableDataObject com.openexchange.admin.rmi.dataobjects.Group
public class Group
This class represents a group.
Constructor Summary | |
---|---|
Group()
Initiates an empty group object |
|
Group(Integer id)
Initiates a group object with the given id set |
|
Group(Integer id,
String name,
String displayname)
Initiates a group object with the given id, name and display name set |
Method Summary | |
---|---|
void |
addExtension(OXGroupExtensionInterface extension)
Deprecated. |
boolean |
equals(Object obj)
|
String |
getDisplayname()
Returns the displayname of this group |
OXGroupExtensionInterface |
getExtensionbyName(String extname)
Deprecated. |
ArrayList<OXGroupExtensionInterface> |
getExtensions()
Deprecated. |
Integer |
getId()
Returns the id of this object |
String[] |
getMandatoryMembersChange()
At the moment no fields are defined here |
String[] |
getMandatoryMembersCreate()
At the moment setDisplayname(java.lang.String) and setName(java.lang.String) are defined here |
String[] |
getMandatoryMembersDelete()
At the moment no fields are defined here |
String[] |
getMandatoryMembersRegister()
At the moment no fields are defined here |
Integer[] |
getMembers()
Returns the members of this group |
String |
getName()
Returns the name of this object |
int |
hashCode()
|
boolean |
isDisplaynameset()
Used to check if the display name of this object has been changed |
boolean |
isMembersset()
Used to check if the members of this object have been changed |
boolean |
isNameset()
Used to check if the name of this object has been changed |
boolean |
removeExtension(OXGroupExtensionInterface o)
Deprecated. |
void |
setDisplayname(String displayname)
Sets the displayname for this group |
void |
setId(Integer val)
Sets the id for this object |
void |
setMembers(Integer[] members)
Sets the the members for this group |
void |
setName(String val)
Sets the name for this object |
String |
toString()
|
Methods inherited from class com.openexchange.admin.rmi.dataobjects.ExtendableDataObject |
---|
addExtension, getAllExtensionsAsHash, getFirstExtensionByName, isExtensionsok, isExtensionsset, removeExtension, setExtensionsok |
Methods inherited from class com.openexchange.admin.rmi.dataobjects.EnforceableDataObject |
---|
getUnsetMembers, mandatoryChangeMembersSet, mandatoryCreateMembersSet, mandatoryDeleteMembersSet, mandatoryRegisterMembersSet, testMandatoryCreateFieldsNull |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Group()
public Group(Integer id)
id
- An Integer
containing the idpublic Group(Integer id, String name, String displayname)
id
- An Integer
containing the idname
- A String
containing the namedisplayname
- A String
containing the display nameMethod Detail |
---|
public final boolean isDisplaynameset()
public final boolean isMembersset()
public final boolean isNameset()
public final Integer getId()
NameAndIdObject
getId
in interface NameAndIdObject
Integer
object containing the idpublic final void setId(Integer val)
NameAndIdObject
setId
in interface NameAndIdObject
val
- An Integer
object containing the idpublic final String getName()
NameAndIdObject
getName
in interface NameAndIdObject
String
containing the namepublic final void setName(String val)
NameAndIdObject
setName
in interface NameAndIdObject
val
- A String
containing the namepublic final String getDisplayname()
public final void setDisplayname(String displayname)
displayname
- The displayname as stringpublic final Integer[] getMembers()
Integer
array containing the member idspublic final void setMembers(Integer[] members)
members
- An Integer
array containing the member idspublic final String toString()
EnforceableDataObject
toString
in class ExtendableDataObject
public final void addExtension(OXGroupExtensionInterface extension)
extension
- public final ArrayList<OXGroupExtensionInterface> getExtensions()
public final boolean removeExtension(OXGroupExtensionInterface o)
o
-
public final OXGroupExtensionInterface getExtensionbyName(String extname)
extname
- a String for the extension
OXGroupExtensionInterface
with extnamepublic final String[] getMandatoryMembersCreate()
setDisplayname(java.lang.String)
and setName(java.lang.String)
are defined here
getMandatoryMembersCreate
in class EnforceableDataObject
public final String[] getMandatoryMembersChange()
getMandatoryMembersChange
in class EnforceableDataObject
public final String[] getMandatoryMembersDelete()
getMandatoryMembersDelete
in class EnforceableDataObject
public final String[] getMandatoryMembersRegister()
getMandatoryMembersRegister
in class EnforceableDataObject
public int hashCode()
hashCode
in class ExtendableDataObject
public boolean equals(Object obj)
equals
in class ExtendableDataObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |