Plumtree Portal UI  
 

AGuestConditionType Class

There are two things to consider before deciding whether to extend the AGuestConditionType or the ARegularConditionType: 1) Will conditions of this type be used to determine which subportal with a particular guest to use when there is no valid session available? The reason is that certain condition types does not make sense during the Guest/Login Phase. For example, a condition on the user's group has no meaning during the Guest/Login Phase since no user is logged in yet. A condition on the client's IP address would be valid since this has meaning on bothe the Guest/Login and the Regular Phase. 2) Is the Activity Space NOT needed to get the current value of the condition type? A condition the current community a user is on needs the activity space to determine the current value. However, during the Guest/Login Phase, the activity space has not been initialized. Therefore, there is no way to determine what community the user is in. Since the current value cannot be determined during the Guest/Login Phase, a condition on community is only valid during the regular Phase. A condition on the URL Domain, on the other hand, only needs the XPRequest to figure out its current value. Therefore, it is safe to have a condition on the user's URL domain during the Guest/Login Phase.

For a list of all members of this type, see AGuestConditionType Members.

System.Object
   com.plumtree.portaluiinfrastructure.condition.AConditionType
      com.plumtree.portaluiinfrastructure.condition.AGuestConditionType

public abstract class AGuestConditionType : AConditionType

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Requirements

Namespace: com.plumtree.portaluiinfrastructure.condition

Assembly: portaluiinfrastructure (in portaluiinfrastructure.dll)

See Also

AGuestConditionType Members | com.plumtree.portaluiinfrastructure.condition Namespace