Package de.xima.fc.dao.user
Class ExternalUserRef
- java.lang.Object
-
- de.xima.fc.dao.user.ExternalUserRef
-
- All Implemented Interfaces:
IExternalUserRef,Serializable
public class ExternalUserRef extends Object implements IExternalUserRef
Represents a reference to an external user.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbuildFullExternalRefString()Returns the full reference string for the external user reference.static ExternalUserRefforExternalInbox(String externalRefId)Creates a new ExternalUserRef instance for a user reference of an external inbox.static ExternalUserReffromFormRecordAccess(FormRecordAccess access)Creates a new ExternalUserRef instance for a form record access.StringgetExternalRefId()Returns the external reference ID.EExternalUserRefTypegetType()Returns the type of external user reference.
-
-
-
Method Detail
-
forExternalInbox
public static ExternalUserRef forExternalInbox(String externalRefId)
Creates a new ExternalUserRef instance for a user reference of an external inbox.- Parameters:
externalRefId- the string representation of the external user reference- Returns:
- a new ExternalUserRef instance, or null if externalRefId is blank
-
fromFormRecordAccess
public static ExternalUserRef fromFormRecordAccess(FormRecordAccess access)
Creates a new ExternalUserRef instance for a form record access.- Parameters:
access- the form record access- Returns:
- a new ExternalUserRef instance, or null if access is null or the external reference ID is blank
-
buildFullExternalRefString
public String buildFullExternalRefString()
Description copied from interface:IExternalUserRefReturns the full reference string for the external user reference.- Specified by:
buildFullExternalRefStringin interfaceIExternalUserRef- Returns:
- the full reference string
-
getExternalRefId
public String getExternalRefId()
Description copied from interface:IExternalUserRefReturns the external reference ID.- Specified by:
getExternalRefIdin interfaceIExternalUserRef- Returns:
- the external reference ID
-
getType
public EExternalUserRefType getType()
Description copied from interface:IExternalUserRefReturns the type of external user reference.- Specified by:
getTypein interfaceIExternalUserRef- Returns:
- the type of external user reference
-
-