com.groiss.ldap
Class DirectoryServer
java.lang.Object
com.groiss.store.PersistentObject
com.groiss.store.ExportablePersistentObject
com.groiss.ldap.DirectoryServer
- All Implemented Interfaces:
- KeyValuePair<Object,Object>, Exportable, Persistent, Serializable, Cloneable
public class DirectoryServer
- extends ExportablePersistentObject
Persistance class for Directory Servers
- See Also:
- Serialized Form
|
Field Summary |
static int |
FROM_LDAP
Represents direction of synchronization (import) FROM_LDAP |
static int |
INTO_LDAP
Represents direction of synchronization (export) INTO_LDAP |
| Methods inherited from class com.groiss.store.PersistentObject |
clone, dbFields, equals, getKey, getOid, getStore, getValue, hashCode, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
| Methods inherited from interface com.groiss.store.Persistent |
dbFields, getOid, getStore, isFilled, onDelete, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
INTO_LDAP
public static final int INTO_LDAP
- Represents direction of synchronization (export)
INTO_LDAP
- See Also:
- Constant Field Values
FROM_LDAP
public static final int FROM_LDAP
- Represents direction of synchronization (import)
FROM_LDAP
- See Also:
- Constant Field Values
DirectoryServer
public DirectoryServer()
setRights
public void setRights(boolean rights)
getRights
public boolean getRights()
setDepts
public void setDepts(boolean depts)
getDepts
public boolean getDepts()
setDepttrees
public void setDepttrees(boolean depttrees)
getDepttrees
public boolean getDepttrees()
setRoles
public void setRoles(boolean roles)
getRoles
public boolean getRoles()
setUsers
public void setUsers(boolean users)
getUsers
public boolean getUsers()
getDescription
public String getDescription()
setDescription
public void setDescription(String desc)
getName
public String getName()
getServer
public String getServer()
getPort
public String getPort()
getSearchRoot
public String getSearchRoot()
getUsername
public String getUsername()
getPassword
public String getPassword()
getFilter
public String getFilter()
getDirection
public short getDirection()
getTimer
public boolean getTimer()
getClassname
public String getClassname()
getTableName
public String getTableName()
- Description copied from interface:
Persistent
- This method must return the table name of the database table in which
this persistent object is stored.
- Returns:
- The table name of the database table in which this persistent
object is stored.
setAttributes
public void setAttributes(String name,
String server,
String port,
String searchRoot,
String username,
String password,
String filter,
short direction,
boolean timer,
String classname)
getKeys
public String[][] getKeys()
- Returns "name" as key.
- Specified by:
getKeys in interface Exportable- Overrides:
getKeys in class ExportablePersistentObject
- Returns:
- An array of arrays containing object field names of the fields which
form key groups for uniquely identifying objects of classes implementing this
interface. An example would be
{{"name", "birthdate"}} for a
class defining one key group containing the fields name and
birthdate.
@enterprise 8.0.10078 Copyright © 2001-2011 Groiss Informatics GmbH. All Rights Reserved.