com.ebasetech.ufs.workflow.resource.example
Class LdapAssignmentExpression

java.lang.Object
  extended by com.ebasetech.ufs.workflow.resource.example.LdapAssignmentExpression

public class LdapAssignmentExpression
extends java.lang.Object


Constructor Summary
LdapAssignmentExpression()
           
LdapAssignmentExpression(boolean single, java.lang.String filterString)
           
LdapAssignmentExpression(boolean single, java.lang.String groupId, java.lang.String membershipId)
           
LdapAssignmentExpression(java.lang.String expression)
           
 
Method Summary
 java.lang.String buildExpression()
           
static java.lang.String encode(boolean single, java.lang.String groupId, java.lang.String membershipId)
           
static java.lang.String encodeFilter(boolean single, java.lang.String filterString)
           
 java.lang.String getExpression()
           
 java.lang.String getGroupId()
           
 java.lang.String getMembershipId()
           
 boolean hasMember()
           
 boolean isMultipleAssignment()
           
 boolean isSingle()
           
 boolean isSingleAssignment()
           
 boolean isValid()
           
 void setExpression(java.lang.String expression)
           
 void setGroupId(java.lang.String groupId)
           
 void setMembershipId(java.lang.String membershipId)
           
 void setSingle(boolean single)
           
 void setValid(boolean valid)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LdapAssignmentExpression

public LdapAssignmentExpression(java.lang.String expression)
                         throws IllegalAssignmentExpression
Throws:
IllegalAssignmentExpression

LdapAssignmentExpression

public LdapAssignmentExpression()

LdapAssignmentExpression

public LdapAssignmentExpression(boolean single,
                                java.lang.String groupId,
                                java.lang.String membershipId)

LdapAssignmentExpression

public LdapAssignmentExpression(boolean single,
                                java.lang.String filterString)
Method Detail

getExpression

public java.lang.String getExpression()

setExpression

public void setExpression(java.lang.String expression)
                   throws IllegalAssignmentExpression
Throws:
IllegalAssignmentExpression

isSingleAssignment

public boolean isSingleAssignment()

isMultipleAssignment

public boolean isMultipleAssignment()

getGroupId

public java.lang.String getGroupId()

getMembershipId

public java.lang.String getMembershipId()

encode

public static java.lang.String encode(boolean single,
                                      java.lang.String groupId,
                                      java.lang.String membershipId)

encodeFilter

public static java.lang.String encodeFilter(boolean single,
                                            java.lang.String filterString)

buildExpression

public java.lang.String buildExpression()

hasMember

public boolean hasMember()

isSingle

public boolean isSingle()

setSingle

public void setSingle(boolean single)

isValid

public boolean isValid()

setValid

public void setValid(boolean valid)

setGroupId

public void setGroupId(java.lang.String groupId)

setMembershipId

public void setMembershipId(java.lang.String membershipId)