lumis.service.socialnetworkservices.microblog.entity
Class UserFollows

Package class diagram package UserFollows
java.lang.Object
  extended by lumis.service.socialnetworkservices.microblog.entity.UserFollows
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
UserFollowsDecorator

public class UserFollows
extends Object
implements Serializable

This entity class contains information about the User following process in the Microblog Service.

Since:
6.1.0
See Also:
Serialized Form

Field Summary
static String FIND_BY_USER_ID
          Named Query that finds a UserFollows relationship based on a given userId specified by parameter userId.
static String FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
          Named Query that finds a UserFollows relationship based on a given user and social network value, specified by parameters userId, followedUserId and socialNetworkId.
 
Constructor Summary
UserFollows()
          Constructor for JPA.
UserFollows(String userId, String followedUserId, String socialNetworkId, String serviceInstanceId)
          Class constructor
 
Method Summary
 String getFollowedUserId()
          Returns the followedUserId.
 String getId()
          Returns the id.
 String getServiceInstanceId()
          Returns the serviceInstanceId.
 String getSocialNetworkId()
          Returns the socialNetworkId.
 String getUserId()
          Returns the userId.
 void setFollowedUserId(String followedUserId)
          Sets the followedUserId.
 void setId(String id)
          Sets the id.
 void setServiceInstanceId(String serviceInstanceId)
          Sets the serviceInstanceId.
 void setSocialNetworkId(String socialNetworkId)
          Sets the socialNetworkId.
 void setUserId(String userId)
          Sets the userId.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FIND_BY_USER_ID

public static final String FIND_BY_USER_ID
Named Query that finds a UserFollows relationship based on a given userId specified by parameter userId.

See Also:
Constant Field Values

FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK

public static final String FIND_BY_USER_SERVICE_INSTANCE_AND_SOCIAL_NETWORK
Named Query that finds a UserFollows relationship based on a given user and social network value, specified by parameters userId, followedUserId and socialNetworkId.

See Also:
Constant Field Values
Constructor Detail

UserFollows

public UserFollows()
Constructor for JPA.

Since:
6.1.0

UserFollows

public UserFollows(String userId,
                   String followedUserId,
                   String socialNetworkId,
                   String serviceInstanceId)
Class constructor

Parameters:
userId -
followedUserId -
socialNetworkId -
serviceInstanceId -
Since:
6.1.0
Method Detail

getId

public String getId()
Returns the id.

Returns:
the id
Since:
6.1.0

setId

public void setId(String id)
Sets the id.

Parameters:
id - the id value to set.
Since:
6.1.0

getUserId

public String getUserId()
Returns the userId.

Returns:
the userId
Since:
6.1.0

setUserId

public void setUserId(String userId)
Sets the userId.

Parameters:
userId - the userId value to set.
Since:
6.1.0

getFollowedUserId

public String getFollowedUserId()
Returns the followedUserId.

Returns:
the followedUserId
Since:
6.1.0

setFollowedUserId

public void setFollowedUserId(String followedUserId)
Sets the followedUserId.

Parameters:
followedUserId - the followedUserId value to set.
Since:
6.1.0

getSocialNetworkId

public String getSocialNetworkId()
Returns the socialNetworkId.

Returns:
the socialNetworkId
Since:
6.1.0

setSocialNetworkId

public void setSocialNetworkId(String socialNetworkId)
Sets the socialNetworkId.

Parameters:
socialNetworkId - the socialNetworkId value to set.
Since:
6.1.0

getServiceInstanceId

public String getServiceInstanceId()
Returns the serviceInstanceId.

Returns:
the serviceInstanceId
Since:
6.1.0

setServiceInstanceId

public void setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId.

Parameters:
serviceInstanceId - the serviceInstanceId value to set.
Since:
6.1.0


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.