public class SubjectStatusConfig extends Object
Constructor and Description |
---|
SubjectStatusConfig()
default constructor
|
SubjectStatusConfig(Source source) |
Modifier and Type | Method and Description |
---|---|
String |
getSourceId()
source id for exceptions
|
String |
getStatusAllFromUser() |
String |
getStatusDatastoreFieldName()
column or attribute which represents the status
|
Set<String> |
getStatusesFromUser()
available statuses from screen (if not specified, any will be allowed).
|
String |
getStatusLabel()
search string from user which represents the status.
|
String |
getStatusSearchDefault()
if no status is specified, this will be used (e.g.
|
Map<String,String> |
getStatusTranslateUserToDatastore()
translate between screen values of status, and the data store value.
|
boolean |
isStatusConfigured() |
void |
setSourceId(String sourceId1)
source id for exceptions
|
void |
setStatusAllFromUser(String statusAllFromUser1) |
void |
setStatusDatastoreFieldName(String statusDatastoreFieldName1)
column or attribute which represents the status
|
void |
setStatusLabel(String statusLabel1)
search string from user which represents the status.
|
void |
setStatusSearchDefault(String statusSearchDefault1)
if no status is specified, this will be used (e.g.
|
void |
validate()
see if the configuration is ok for this source
|
public SubjectStatusConfig()
public SubjectStatusConfig(Source source)
source
- public boolean isStatusConfigured()
public String getSourceId()
public void setSourceId(String sourceId1)
sourceId1
- public void validate()
public String getStatusDatastoreFieldName()
public void setStatusDatastoreFieldName(String statusDatastoreFieldName1)
statusDatastoreFieldName1
- public String getStatusLabel()
public void setStatusLabel(String statusLabel1)
statusLabel1
- public Set<String> getStatusesFromUser()
public String getStatusAllFromUser()
public void setStatusAllFromUser(String statusAllFromUser1)
statusAllFromUser1
- public String getStatusSearchDefault()
public void setStatusSearchDefault(String statusSearchDefault1)
statusSearchDefault1
- public Map<String,String> getStatusTranslateUserToDatastore()
Copyright © 2016 Internet2. All rights reserved.