public class UserSearchFixture
extends java.lang.Object
| Constructor and Description |
|---|
UserSearchFixture() |
UserSearchFixture(UserLocalService userLocalService,
GroupSearchFixture groupSearchFixture,
OrganizationSearchFixture organizationSearchFixture,
UserGroupSearchFixture userGroupSearchFixture) |
| Modifier and Type | Method and Description |
|---|---|
Address |
addAddress(User user) |
Group |
addGroup()
Deprecated.
As of Athanasius (7.3.x)
|
Group |
addGroup(GroupBlueprint groupBlueprint)
Deprecated.
As of Athanasius (7.3.x)
|
Organization |
addOrganization()
Deprecated.
As of Athanasius (7.3.x)
|
Organization |
addOrganization(OrganizationBlueprint organizationBlueprint)
Deprecated.
As of Athanasius (7.3.x)
|
User |
addUser(java.lang.String screenName,
Group group,
java.lang.String... assetTagNames) |
User |
addUser(java.lang.String screenName,
java.lang.String firstName,
java.lang.String lastName,
java.util.Locale locale,
Group group,
java.lang.String... assetTagNames) |
User |
addUser(UserBlueprint.UserBlueprintBuilder userBlueprintBuilder) |
UserGroup |
addUserGroup()
Deprecated.
As of Athanasius (7.3.x)
|
User |
addUserWithAddress(java.lang.String screenName,
Group group,
java.lang.String... assetTagNames)
Deprecated.
As of Athanasius (7.3.x)
|
User |
addUserWithJobTitle(java.lang.String screenName,
Group group,
java.lang.String... assetTagNames)
Deprecated.
As of Athanasius (7.3.x)
|
User |
addUserWithOrganization(java.lang.String screenName,
Group group,
java.lang.String... assetTagNames)
Deprecated.
As of Athanasius (7.3.x)
|
User |
addUserWithUserGroup(java.lang.String screenName,
Group group,
java.lang.String... assetTagNames)
Deprecated.
As of Athanasius (7.3.x)
|
java.util.List<Address> |
getAddresses() |
java.util.List<AssetTag> |
getAssetTags() |
java.util.List<Group> |
getGroups()
Deprecated.
As of Athanasius (7.3.x)
|
java.util.List<Organization> |
getOrganizations()
Deprecated.
As of Athanasius (7.3.x)
|
SearchContext |
getSearchContext(java.lang.String keywords) |
protected static ServiceContext |
getServiceContext(Group group) |
protected static long |
getTestCompanyId() |
protected static long |
getTestGroupId() |
UserBlueprint.UserBlueprintBuilder |
getTestUserBlueprintBuilder() |
protected static long |
getTestUserId() |
java.util.List<UserGroup> |
getUserGroups()
Deprecated.
As of Athanasius (7.3.x)
|
java.util.List<User> |
getUsers() |
void |
setUp() |
void |
tearDown() |
java.util.Map<java.lang.String,java.lang.String> |
toMap(java.util.List<Document> list) |
java.util.Map<java.lang.String,java.lang.String> |
toMap(User user,
java.lang.String... tags) |
java.lang.String |
toStringTags(java.lang.String[] tags) |
public UserSearchFixture()
public UserSearchFixture(UserLocalService userLocalService, GroupSearchFixture groupSearchFixture, OrganizationSearchFixture organizationSearchFixture, UserGroupSearchFixture userGroupSearchFixture)
public Address addAddress(User user) throws PortalException
PortalException@Deprecated public Group addGroup() throws java.lang.Exception
java.lang.Exception@Deprecated public Group addGroup(GroupBlueprint groupBlueprint) throws java.lang.Exception
java.lang.Exception@Deprecated public Organization addOrganization() throws java.lang.Exception
java.lang.Exception@Deprecated public Organization addOrganization(OrganizationBlueprint organizationBlueprint) throws java.lang.Exception
java.lang.Exceptionpublic User addUser(java.lang.String screenName, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exceptionpublic User addUser(java.lang.String screenName, java.lang.String firstName, java.lang.String lastName, java.util.Locale locale, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exceptionpublic User addUser(UserBlueprint.UserBlueprintBuilder userBlueprintBuilder)
@Deprecated public UserGroup addUserGroup() throws java.lang.Exception
java.lang.Exception@Deprecated public User addUserWithAddress(java.lang.String screenName, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exception@Deprecated public User addUserWithJobTitle(java.lang.String screenName, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exception@Deprecated public User addUserWithOrganization(java.lang.String screenName, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exception@Deprecated public User addUserWithUserGroup(java.lang.String screenName, Group group, java.lang.String... assetTagNames) throws java.lang.Exception
java.lang.Exceptionpublic java.util.List<Address> getAddresses()
public java.util.List<AssetTag> getAssetTags()
@Deprecated public java.util.List<Group> getGroups()
@Deprecated public java.util.List<Organization> getOrganizations()
public SearchContext getSearchContext(java.lang.String keywords) throws java.lang.Exception
java.lang.Exceptionpublic UserBlueprint.UserBlueprintBuilder getTestUserBlueprintBuilder()
@Deprecated public java.util.List<UserGroup> getUserGroups()
public java.util.List<User> getUsers()
public void setUp()
throws java.lang.Exception
java.lang.Exceptionpublic void tearDown()
public java.util.Map<java.lang.String,java.lang.String> toMap(java.util.List<Document> list)
public java.util.Map<java.lang.String,java.lang.String> toMap(User user, java.lang.String... tags)
public java.lang.String toStringTags(java.lang.String[] tags)
protected static ServiceContext getServiceContext(Group group) throws java.lang.Exception
java.lang.Exceptionprotected static long getTestCompanyId()
protected static long getTestGroupId()
protected static long getTestUserId()