public class DummyResource extends Object implements DebugDumpable
INDENT_STRING
public void reset()
public static DummyResource getInstance()
public static DummyResource getInstance(String instanceName)
public boolean isTolerateDuplicateValues()
public void setTolerateDuplicateValues(boolean tolerateDuplicateValues)
public boolean isGenerateDefaultValues()
public void setGenerateDefaultValues(boolean generateDefaultValues)
public boolean isEnforceUniqueName()
public void setEnforceUniqueName(boolean enforceUniqueName)
public boolean isEnforceSchema()
public void setEnforceSchema(boolean enforceSchema)
public BreakMode getSchemaBreakMode()
public void setSchemaBreakMode(BreakMode schemaBreakMode)
public BreakMode getAddBreakMode()
public void setAddBreakMode(BreakMode addBreakMode)
public BreakMode getGetBreakMode()
public void setGetBreakMode(BreakMode getBreakMode)
public BreakMode getModifyBreakMode()
public void setModifyBreakMode(BreakMode modifyBreakMode)
public BreakMode getDeleteBreakMode()
public void setDeleteBreakMode(BreakMode deleteBreakMode)
public void setBreakMode(BreakMode breakMode)
public void resetBreakMode()
public String getUselessString()
public void setUselessString(String uselessString)
public String getUselessGuardedString()
public void setUselessGuardedString(String uselessGuardedString)
public boolean isCaseIgnoreId()
public void setCaseIgnoreId(boolean caseIgnoreId)
public boolean isCaseIgnoreValues()
public void setCaseIgnoreValues(boolean caseIgnoreValues)
public DummyObjectClass getAccountObjectClass() throws ConnectException, FileNotFoundException
public DummyObjectClass getGroupObjectClass()
public DummyObjectClass getPrivilegeObjectClass()
public Collection<DummyAccount> listAccounts() throws ConnectException, FileNotFoundException
public DummyAccount getAccountByUsername(String username) throws ConnectException, FileNotFoundException
public DummyGroup getGroupByName(String name) throws ConnectException, FileNotFoundException
public DummyPrivilege getPrivilegeByName(String name) throws ConnectException, FileNotFoundException
public DummyAccount getAccountById(String id) throws ConnectException, FileNotFoundException
public DummyGroup getGroupById(String id) throws ConnectException, FileNotFoundException
public DummyPrivilege getPrivilegeById(String id) throws ConnectException, FileNotFoundException
public Collection<DummyGroup> listGroups() throws ConnectException, FileNotFoundException
public Collection<DummyPrivilege> listPrivileges() throws ConnectException, FileNotFoundException
public void deleteAccountById(String id) throws ConnectException, FileNotFoundException, ObjectDoesNotExistException
public void deleteGroupById(String id) throws ConnectException, FileNotFoundException, ObjectDoesNotExistException
public void deletePrivilegeById(String id) throws ConnectException, FileNotFoundException, ObjectDoesNotExistException
public String addAccount(DummyAccount newAccount) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException, SchemaViolationException
public void deleteAccountByName(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renameAccount(String id, String oldUsername, String newUsername) throws ObjectDoesNotExistException, ObjectAlreadyExistsException, ConnectException, FileNotFoundException, SchemaViolationException
public String addGroup(DummyGroup newGroup) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException, SchemaViolationException
public void deleteGroupByName(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renameGroup(String id, String oldName, String newName) throws ObjectDoesNotExistException, ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public String addPrivilege(DummyPrivilege newGroup) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException, SchemaViolationException
public void deletePrivilegeByName(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renamePrivilege(String id, String oldName, String newName) throws ObjectDoesNotExistException, ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public List<ScriptHistoryEntry> getScriptHistory()
public void purgeScriptHistory()
public void runScript(String language, String scriptCode, Map<String,Object> params)
scriptCode
- code of the scriptpublic void populateWithDefaultSchema()
public DummySyncStyle getSyncStyle()
public void setSyncStyle(DummySyncStyle syncStyle)
public int getLatestSyncToken()
public List<DummyDelta> getDeltasSince(int syncToken)
public String debugDump()
DebugDumpable
debugDump
in interface DebugDumpable
public String debugDump(int indent)
debugDump
in interface DebugDumpable
Copyright © 2015 evolveum. All rights reserved.