public class LdapServerHook extends DefaultServerHook
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
LDAPTAG |
Constructor and Description |
---|
LdapServerHook() |
Modifier and Type | Method and Description |
---|---|
TaskRef |
initDomainLdapTree(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag) |
void |
onServerAssigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag)
This is called after a server is assigned to a domain for one of its
tags.
|
void |
onServerTagged(BmContext context,
ItemValue<Server> server,
java.lang.String tag)
This is called after a server is tagged in the database (one server
update can trigger multiple onServerTagged events)
|
void |
onServerUnassigned(BmContext context,
ItemValue<Server> server,
ItemValue<Domain> domain,
java.lang.String tag)
This is called after an assignment is removed.
|
beforeCreate, beforeUpdate, onServerCreated, onServerDeleted, onServerPreUnassigned, onServerUntagged, onServerUpdated
public static final java.lang.String LDAPTAG
public void onServerTagged(BmContext context, ItemValue<Server> server, java.lang.String tag) throws ServerFault
IServerHook
onServerTagged
in interface IServerHook
onServerTagged
in class DefaultServerHook
ServerFault
public void onServerAssigned(BmContext context, ItemValue<Server> server, ItemValue<Domain> domain, java.lang.String tag) throws ServerFault
IServerHook
onServerAssigned
in interface IServerHook
onServerAssigned
in class DefaultServerHook
ServerFault
public TaskRef initDomainLdapTree(BmContext context, ItemValue<Server> server, ItemValue<Domain> domain, java.lang.String tag)
public void onServerUnassigned(BmContext context, ItemValue<Server> server, ItemValue<Domain> domain, java.lang.String tag) throws ServerFault
IServerHook
onServerUnassigned
in interface IServerHook
onServerUnassigned
in class DefaultServerHook
ServerFault
Copyright © 2021. All Rights Reserved.