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