public interface IQRegisterInfo
Modifier and Type | Field and Description |
---|---|
static int |
ADDRESS
The user's address
|
static int |
CITY
The user's city
|
static int |
DATE
The date of registration
|
static int |
EMAIL
The user's email
|
static int |
FIELD_IN_USER_PROPS
Fields should be stored in user properties
|
static int |
FIELD_IN_VCARD
Fields should be stored in vCard
|
static String[] |
FIELD_NAMES
Element names of the fields, array index matches type
|
static int |
FIRST_NAME
The user's first name
|
static int |
LAST_NAME
The user's last name
|
static int |
MISC
Misc data to associate with the account
|
static int |
NAME
The user's full name
|
static int |
PHONE
The user's phone
|
static int |
STATE
The user's state
|
static int |
TEXT
Misc text to associate with the account
|
static int |
UNKNOWN
An unknown type
|
static int |
URL
The user's url
|
static int |
ZIP
The user's zip code
|
Modifier and Type | Method and Description |
---|---|
String |
getFieldElementName(int fieldType)
Obtain the element name from a field type.
|
int |
getFieldStoreLocation()
Determines where field information is stored.
|
int |
getFieldType(String fieldElementName)
Get the setting type from a field's element name.
|
boolean |
isFieldRequired(int fieldType)
Determines if a given field is required for registration.
|
boolean |
isOpenRegistrationSupported()
Determines if users can automatically register user accounts
without system administrator intervention.
|
void |
setFieldRequired(int fieldType,
boolean isRequired)
Tells the server whether to require a registration field or not.
|
void |
setFieldStoreLocation(int location)
Sets the location for storing field information.
|
void |
setOpenRegistrationSupported(boolean isSupported)
Tells the server whether to support open registration or not.
|
static final int UNKNOWN
static final int EMAIL
static final int NAME
static final int FIRST_NAME
static final int LAST_NAME
static final int ADDRESS
static final int CITY
static final int STATE
static final int ZIP
static final int PHONE
static final int URL
static final int DATE
static final int MISC
static final int TEXT
static final String[] FIELD_NAMES
static final int FIELD_IN_USER_PROPS
static final int FIELD_IN_VCARD
int getFieldStoreLocation()
void setFieldStoreLocation(int location) throws UnauthorizedException
location
- The location typeUnauthorizedException
- If you don't have permission to adjust this settingboolean isOpenRegistrationSupported()
void setOpenRegistrationSupported(boolean isSupported) throws UnauthorizedException
isSupported
- True if open registration is supportedUnauthorizedException
- If you don't have permission to change this settingboolean isFieldRequired(int fieldType)
fieldType
- The field to checkvoid setFieldRequired(int fieldType, boolean isRequired) throws UnauthorizedException
fieldType
- The field to require.isRequired
- True if the field should be requiredUnauthorizedException
- If you don't have permission to change this settingint getFieldType(String fieldElementName)
fieldElementName
- The known element nameString getFieldElementName(int fieldType)
fieldType
- The known field typeCopyright © 2003-2008 Jive Software.