Class ExternalUserRef
java.lang.Object
de.xima.fc.dao.user.ExternalUserRef
- All Implemented Interfaces:
IExternalUserRef, Serializable
Represents a reference to an external user.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionReturns 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.Returns the external reference ID.getType()Returns the type of external user reference.
-
Method Details
-
forExternalInbox
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
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
Description copied from interface:IExternalUserRefReturns the full reference string for the external user reference.- Specified by:
buildFullExternalRefStringin interfaceIExternalUserRef- Returns:
- the full reference string
-
getExternalRefId
Description copied from interface:IExternalUserRefReturns the external reference ID.- Specified by:
getExternalRefIdin interfaceIExternalUserRef- Returns:
- the external reference ID
-
getType
Description copied from interface:IExternalUserRefReturns the type of external user reference.- Specified by:
getTypein interfaceIExternalUserRef- Returns:
- the type of external user reference
-