@StableMinor(version="12.2", sinceVersion="4.0") public class PrincipalConfig extends Object implements ICloneableCacheEntry, Principal
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_GROUP |
static int |
TYPE_USER |
static int |
TYPE_USER_SEGMENTATION
The user segmentation principal type.
|
Constructor and Description |
---|
PrincipalConfig(GroupConfig groupConfig) |
PrincipalConfig(String id,
String shortId,
String name,
int type,
int subType,
String channelId) |
PrincipalConfig(UserConfig userConfig) |
Modifier and Type | Method and Description |
---|---|
PrincipalConfig |
clone() |
boolean |
equals(Object obj) |
String |
getChannelId() |
String |
getId() |
String |
getName() |
String |
getProfileImageHref()
Get principal profile image href.
|
String |
getShortId() |
int |
getSubType() |
int |
getType() |
int |
hashCode() |
void |
setChannelId(String channelId) |
void |
setName(String name) |
void |
setShortId(String shortId) |
void |
setSubType(int subType) |
void |
setType(int type) |
String |
toString() |
public static final int TYPE_USER
public static final int TYPE_GROUP
public static final int TYPE_USER_SEGMENTATION
public PrincipalConfig(String id, String shortId, String name, int type, int subType, String channelId)
public PrincipalConfig(UserConfig userConfig)
public PrincipalConfig(GroupConfig groupConfig)
public String getId()
public String getName()
public void setName(String name)
public String getShortId()
public void setShortId(String shortId)
public int getSubType()
sybType
- The sybType to set.public void setSubType(int subType)
public int getType()
type
- The type to set.public void setType(int type)
public String getChannelId()
public void setChannelId(String channelId)
public PrincipalConfig clone() throws CloneNotSupportedException
clone
in interface ICloneableCacheEntry
clone
in class Object
CloneNotSupportedException
public int hashCode()
public boolean equals(Object obj)
public String toString()
public String getProfileImageHref()
LumisXP 12.2.0.200122 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.