com.groiss.ldap
Class DirectoryServer
java.lang.Object
com.groiss.store.PersistentObject
com.groiss.store.ExportablePersistentObject
com.groiss.ldap.DirectoryServer
- All Implemented Interfaces:
- KeyValuePair<java.lang.Object,java.lang.Object>, Exportable, Persistent, java.io.Serializable, java.lang.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, onInsert, onRead, onUpdate, setFilled, setOid, setStore |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
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 java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String desc)
getName
public java.lang.String getName()
getServer
public java.lang.String getServer()
getPort
public java.lang.String getPort()
getSearchRoot
public java.lang.String getSearchRoot()
getUsername
public java.lang.String getUsername()
getPassword
public java.lang.String getPassword()
getFilter
public java.lang.String getFilter()
getDirection
public short getDirection()
getTimer
public boolean getTimer()
getClassname
public java.lang.String getClassname()
getTableName
public java.lang.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(java.lang.String name,
java.lang.String server,
java.lang.String port,
java.lang.String searchRoot,
java.lang.String username,
java.lang.String password,
java.lang.String filter,
short direction,
boolean timer,
java.lang.String classname)
getKeys
public java.lang.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
.
onDelete
public void onDelete()
- Description copied from interface:
Persistent
- This method is called before the persistent object is deleted.
Note that the
Store.delete(Class, String, Object[])
and
Store.delete(String, String, Object[])
methods do NOT call Persistent.onDelete()
.
- Specified by:
onDelete
in interface Persistent
- Overrides:
onDelete
in class PersistentObject
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.