public class DummyResourceContoller extends AbstractResourceController
Modifier and Type | Field and Description |
---|---|
static String |
CONNECTOR_DUMMY_NS |
static String |
CONNECTOR_DUMMY_USELESS_STRING_NAME |
static QName |
CONNECTOR_DUMMY_USELESS_STRING_QNAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_DRINK_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_FULLNAME_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_GOSSIP_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_LOCATION_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_LOOT_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_QUOTE_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_SHIP_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_TITLE_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_TREASURE_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_WATER_NAME |
static String |
DUMMY_ACCOUNT_ATTRIBUTE_WEAPON_NAME |
static String |
DUMMY_ENTITLEMENT_GROUP_NAME |
static String |
DUMMY_ENTITLEMENT_PRIVILEGE_NAME |
static String |
DUMMY_GROUP_ATTRIBUTE_DESCRIPTION |
static String |
DUMMY_GROUP_MEMBERS_ATTRIBUTE_NAME |
resource
Constructor and Description |
---|
DummyResourceContoller() |
Modifier and Type | Method and Description |
---|---|
void |
addAccount(String userId,
String fullName) |
void |
addAccount(String userId,
String fullName,
String location) |
DummyAttributeDefinition |
addAttrDef(DummyObjectClass accountObjectClass,
String attrName,
Class<?> type,
boolean isRequired,
boolean isMulti) |
void |
assertDummyResourceSchemaSanity(ResourceSchema resourceSchema,
ResourceType resourceType) |
void |
assertDummyResourceSchemaSanityExtended(ResourceSchema resourceSchema,
ResourceType resourceType) |
void |
assertRefinedSchemaSanity(RefinedResourceSchema refinedSchema) |
static DummyResourceContoller |
create(String instanceName) |
static DummyResourceContoller |
create(String instanceName,
PrismObject<ResourceType> resource) |
void |
extendDummySchema() |
ItemPath |
getAttributeFullnamePath() |
QName |
getAttributeFullnameQName() |
ItemPath |
getAttributeWeaponPath() |
QName |
getAttributeWeaponQName() |
DummyResource |
getDummyResource() |
String |
getName() |
void |
populateWithDefaultSchema() |
getAttributePath, getAttributeQName, getNamespace, getResource, setResource
public static final String DUMMY_ACCOUNT_ATTRIBUTE_FULLNAME_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_TITLE_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_LOCATION_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_LOOT_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_TREASURE_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_SHIP_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_WEAPON_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_DRINK_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_QUOTE_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_GOSSIP_NAME
public static final String DUMMY_ACCOUNT_ATTRIBUTE_WATER_NAME
public static final String DUMMY_GROUP_MEMBERS_ATTRIBUTE_NAME
public static final String DUMMY_GROUP_ATTRIBUTE_DESCRIPTION
public static final String DUMMY_ENTITLEMENT_GROUP_NAME
public static final String DUMMY_ENTITLEMENT_PRIVILEGE_NAME
public static final String CONNECTOR_DUMMY_NS
public static final String CONNECTOR_DUMMY_USELESS_STRING_NAME
public static final QName CONNECTOR_DUMMY_USELESS_STRING_QNAME
public static DummyResourceContoller create(String instanceName)
public static DummyResourceContoller create(String instanceName, PrismObject<ResourceType> resource)
public DummyResource getDummyResource()
public String getName()
public void populateWithDefaultSchema()
public void extendDummySchema() throws ConnectException, FileNotFoundException
public DummyAttributeDefinition addAttrDef(DummyObjectClass accountObjectClass, String attrName, Class<?> type, boolean isRequired, boolean isMulti)
public QName getAttributeFullnameQName()
public ItemPath getAttributeFullnamePath()
public QName getAttributeWeaponQName()
public ItemPath getAttributeWeaponPath()
public void assertDummyResourceSchemaSanity(ResourceSchema resourceSchema, ResourceType resourceType)
public void assertDummyResourceSchemaSanityExtended(ResourceSchema resourceSchema, ResourceType resourceType)
public void assertRefinedSchemaSanity(RefinedResourceSchema refinedSchema)
public void addAccount(String userId, String fullName) throws ObjectAlreadyExistsException, SchemaViolationException, ConnectException, FileNotFoundException
public void addAccount(String userId, String fullName, String location) throws ObjectAlreadyExistsException, SchemaViolationException, ConnectException, FileNotFoundException
Copyright © 2013 evolveum. All rights reserved.