|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.inf.container.PrincipalSpec
Used to configure the set of DirectoryContextProvider
s returned
by WTContainerService.getPublicContextProviders(PrincipalSpec)
.
Supported API: false
Extendable: false
wt#org#DirectoryContextProvider
,
Serialized FormField Summary | |
private static String |
CLASSNAME
|
private WTContainerRef |
containerReference
|
private boolean |
filterByOrganization
|
private boolean |
includeAllServices
|
private boolean |
includeOrganizations
|
private boolean |
performLookup
|
private Class |
principalClass
|
private static String |
RESOURCE
|
private boolean |
restrictedDirectorySearchScope
|
private String |
searchCriteria
|
private int |
sizeLimit
|
Constructor Summary | |
PrincipalSpec()
Supported API: false |
|
PrincipalSpec(WTContainerRef container_reference)
Supported API: false |
|
PrincipalSpec(WTContainerRef container_reference,
Class principal_class)
Supported API: false |
Method Summary | |
Object |
clone()
Supported API: false |
private void |
containerReferenceValidate(WTContainerRef a_ContainerReference)
|
WTContainer |
getContainer()
Supported API: false |
WTContainerRef |
getContainerReference()
Gets the value of the attribute: containerReference; The container to search for principals in. |
Class |
getPrincipalClass()
Gets the value of the attribute: principalClass; The class of WTPrincipal
to search for. |
String |
getSearchCriteria()
Gets the value of the attribute: searchCriteria; A set of search conditions to filter the query by, such as:
String criteria = "(" + WTUser.NAME + "=Smith"
& " + WTUser.ORGANIZATION + "=PTC)";
Supported API: false |
int |
getSizeLimit()
Gets the value of the attribute: sizeLimit; The maximum number of results to return. |
boolean |
isFilterByOrganization()
Gets the value of the attribute: filterByOrganization; When true ,
queries for users are filtered by the organization associated with
the spec's containerReference
Default: false
Supported API: false |
boolean |
isIncludeAllServices()
Gets the value of the attribute: includeAllServices; When true ,
all known services are queried. |
boolean |
isIncludeOrganizations()
Gets the value of the attribute: includeOrganizations; Whether or not the query result should include WTOrganization s. |
boolean |
isPerformLookup()
Gets the value of the attribute: performLookup; When true ,
queries for groups include contexts from parent containers. |
boolean |
isRestrictedDirectorySearchScope()
Gets the value of the attribute: restrictedDirectorySearchScope; Specifies that the directory search should be restricted, as if the OrgContainer.restrictedDirectorySearchScope were true. |
private void |
searchCriteriaValidate(String a_SearchCriteria)
|
void |
setContainerReference(WTContainerRef a_ContainerReference)
Sets the value of the attribute: containerReference; The container to search for principals in. |
void |
setFilterByOrganization(boolean a_FilterByOrganization)
Sets the value of the attribute: filterByOrganization; When true ,
queries for users are filtered by the organization associated with
the spec's containerReference
Default: false
Supported API: false |
void |
setIncludeAllServices(boolean a_IncludeAllServices)
Sets the value of the attribute: includeAllServices; When true ,
all known services are queried. |
void |
setIncludeOrganizations(boolean a_IncludeOrganizations)
Sets the value of the attribute: includeOrganizations; Whether or not the query result should include WTOrganization s. |
void |
setPerformLookup(boolean a_PerformLookup)
Sets the value of the attribute: performLookup; When true ,
queries for groups include contexts from parent containers. |
void |
setPrincipalClass(Class a_PrincipalClass)
Sets the value of the attribute: principalClass; The class of WTPrincipal
to search for. |
void |
setRestrictedDirectorySearchScope(boolean a_RestrictedDirectorySearchScope)
Sets the value of the attribute: restrictedDirectorySearchScope; Specifies that the directory search should be restricted, as if the OrgContainer.restrictedDirectorySearchScope were true. |
void |
setSearchCriteria(String a_SearchCriteria)
Sets the value of the attribute: searchCriteria; A set of search conditions to filter the query by, such as:
String criteria = "(" + WTUser.NAME + "=Smith"
& " + WTUser.ORGANIZATION + "=PTC)";
Supported API: false |
void |
setSizeLimit(int a_SizeLimit)
Sets the value of the attribute: sizeLimit; The maximum number of results to return. |
String |
toString()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
private WTContainerRef containerReference
private boolean filterByOrganization
private boolean includeAllServices
private boolean includeOrganizations
private boolean performLookup
private Class principalClass
private boolean restrictedDirectorySearchScope
private String searchCriteria
private int sizeLimit
Constructor Detail |
public PrincipalSpec()
public PrincipalSpec(WTContainerRef container_reference) throws WTException
container_reference
-
WTException
public PrincipalSpec(WTContainerRef container_reference, Class principal_class) throws WTException
container_reference
- principal_class
-
WTException
Method Detail |
public WTContainerRef getContainerReference()
site
container.
public void setContainerReference(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
site
container.
a_ContainerReference
-
WTPropertyVetoException
private void containerReferenceValidate(WTContainerRef a_ContainerReference) throws WTPropertyVetoException
a_ContainerReference
-
WTPropertyVetoException
public boolean isFilterByOrganization()
true
,
queries for users are filtered by the organization associated with
the spec's containerReference
false
public void setFilterByOrganization(boolean a_FilterByOrganization) throws WTPropertyVetoException
true
,
queries for users are filtered by the organization associated with
the spec's containerReference
false
a_FilterByOrganization
-
WTPropertyVetoException
public boolean isIncludeAllServices()
true
,
all known services are queried. When false
, only the
bundled adapter is queried.
true
public void setIncludeAllServices(boolean a_IncludeAllServices) throws WTPropertyVetoException
true
,
all known services are queried. When false
, only the
bundled adapter is queried.
true
a_IncludeAllServices
-
WTPropertyVetoException
public boolean isIncludeOrganizations()
WTOrganization
s.
public void setIncludeOrganizations(boolean a_IncludeOrganizations) throws WTPropertyVetoException
WTOrganization
s.
a_IncludeOrganizations
-
WTPropertyVetoException
public boolean isPerformLookup()
true
,
queries for groups include contexts from parent containers.
true
public void setPerformLookup(boolean a_PerformLookup) throws WTPropertyVetoException
true
,
queries for groups include contexts from parent containers.
true
a_PerformLookup
-
WTPropertyVetoException
public Class getPrincipalClass()
WTPrincipal
to search for.
WTGroup
public void setPrincipalClass(Class a_PrincipalClass) throws WTPropertyVetoException
WTPrincipal
to search for.
WTGroup
a_PrincipalClass
-
WTPropertyVetoException
public boolean isRestrictedDirectorySearchScope()
OrgContainer.restrictedDirectorySearchScope
public void setRestrictedDirectorySearchScope(boolean a_RestrictedDirectorySearchScope) throws WTPropertyVetoException
a_RestrictedDirectorySearchScope
-
WTPropertyVetoException
OrgContainer.restrictedDirectorySearchScope
public String getSearchCriteria()
String criteria = "(" + WTUser.NAME + "=Smith"
& " + WTUser.ORGANIZATION + "=PTC)";
public void setSearchCriteria(String a_SearchCriteria) throws WTPropertyVetoException
String criteria = "(" + WTUser.NAME + "=Smith"
& " + WTUser.ORGANIZATION + "=PTC)";
a_SearchCriteria
-
WTPropertyVetoException
private void searchCriteriaValidate(String a_SearchCriteria) throws WTPropertyVetoException
a_SearchCriteria
-
WTPropertyVetoException
public int getSizeLimit()
public void setSizeLimit(int a_SizeLimit) throws WTPropertyVetoException
a_SizeLimit
-
WTPropertyVetoException
public Object clone()
public WTContainer getContainer()
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |