public class DummyResource extends Object
public void reset()
public static DummyResource getInstance()
public static DummyResource getInstance(String instanceName)
public boolean isTolerateDuplicateValues()
public void setTolerateDuplicateValues(boolean tolerateDuplicateValues)
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 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 Collection<DummyGroup> listGroups() throws ConnectException, FileNotFoundException
public Collection<DummyPrivilege> listPrivileges() throws ConnectException, FileNotFoundException
public String addAccount(DummyAccount newAccount) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public void deleteAccount(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renameAccount(String oldUsername, String newUsername) throws ObjectDoesNotExistException, ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public String addGroup(DummyGroup newGroup) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public void deleteGroup(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renameGroup(String oldName, String newName) throws ObjectDoesNotExistException, ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public String addPrivilege(DummyPrivilege newGroup) throws ObjectAlreadyExistsException, ConnectException, FileNotFoundException
public void deletePrivilege(String id) throws ObjectDoesNotExistException, ConnectException, FileNotFoundException
public void renamePrivilege(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 dump()
Copyright © 2013 evolveum. All rights reserved.