public class CalSvcIPars extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
static String |
logIdIndexer
The id for the indexer process
|
static String |
logIdRestore
The id for the restore process
|
| Constructor and Description |
|---|
CalSvcIPars(String logId,
String authUser,
String user,
String calSuite,
boolean publicAdmin,
boolean allowSuperUser,
boolean service,
boolean publicSubmission,
boolean adminCanEditAllPublicCategories,
boolean adminCanEditAllPublicLocations,
boolean adminCanEditAllPublicContacts,
boolean sessionless,
boolean dontKill)
Constructor for this object.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
getAdminCanEditAllPublicCategories() |
boolean |
getAdminCanEditAllPublicContacts() |
boolean |
getAdminCanEditAllPublicLocations() |
boolean |
getAllowSuperUser() |
String |
getAuthUser() |
static CalSvcIPars |
getCaldavPars(String logId,
String authUser,
String runAsUser,
String clientId,
boolean allowSuperUser,
boolean service,
boolean publicAdmin,
boolean allowCreateEprops,
boolean readonly)
Return new parameters for caldav.
|
String |
getCalSuite() |
String |
getClientId() |
boolean |
getDontKill() |
boolean |
getForRestore() |
static CalSvcIPars |
getIndexerPars(String account,
boolean publicAdmin)
Return new pars for an index rebuild
|
boolean |
getIndexRebuild() |
String |
getLogId() |
boolean |
getPublicAdmin() |
boolean |
getPublicSubmission() |
boolean |
getReadonly() |
static CalSvcIPars |
getRestorePars(String account)
Return new pars for a system restore
|
boolean |
getService() |
static CalSvcIPars |
getServicePars(String logId,
String account,
boolean publicAdmin,
boolean allowSuperUser)
Return new parameters for a service
|
boolean |
getSessionsless() |
String |
getUser() |
boolean |
getWebMode() |
boolean |
isGuest() |
void |
setAuthUser(String val) |
void |
setCalSuite(String val) |
void |
setClientId(String val) |
void |
setLogId(String val) |
String |
toString() |
public static final String logIdIndexer
public static final String logIdRestore
public CalSvcIPars(String logId, String authUser, String user, String calSuite, boolean publicAdmin, boolean allowSuperUser, boolean service, boolean publicSubmission, boolean adminCanEditAllPublicCategories, boolean adminCanEditAllPublicLocations, boolean adminCanEditAllPublicContacts, boolean sessionless, boolean dontKill)
authUser - String authenticated user of the applicationuser - String user to act ascalSuite - String calSuite namepublicAdmin - true for adminallowSuperUser - true to allow superuser mode in non-admin modeservice - true for a servicepublicSubmission - true for the submit appadminCanEditAllPublicCategories - true/falseadminCanEditAllPublicLocations - true/falseadminCanEditAllPublicContacts - true/falsesessionless - true if this is a sessionless clientdontKill - true if this is a system processpublic static CalSvcIPars getServicePars(String logId, String account, boolean publicAdmin, boolean allowSuperUser)
logId - String used for labellingaccount - - the accountpublicAdmin - - true for public adminallowSuperUser - - trie/falsepublic static CalSvcIPars getIndexerPars(String account, boolean publicAdmin)
account - - the accountpublicAdmin - - true for public adminpublic static CalSvcIPars getRestorePars(String account)
account - - the accountpublic static CalSvcIPars getCaldavPars(String logId, String authUser, String runAsUser, String clientId, boolean allowSuperUser, boolean service, boolean publicAdmin, boolean allowCreateEprops, boolean readonly)
logId - String used for labellingauthUser - String authenticated user of the applicationrunAsUser - String user to run asclientId - The application we're acting for.allowSuperUser - true to allow superuser mode in non-admin modeservice - - true if this is a service call - e.g. iSchedule -
rather than a real user.publicAdmin - - true for public adminallowCreateEprops - - allow create of new event properties, locations etcpublic void setAuthUser(String val)
val - String auth userpublic String getAuthUser()
public String getUser()
public void setCalSuite(String val)
val - String calSuitepublic String getCalSuite()
public void setClientId(String val)
val - String clientIdpublic String getClientId()
public void setLogId(String val)
val - String logIdpublic String getLogId()
public boolean getPublicAdmin()
public boolean getPublicSubmission()
public boolean getService()
public boolean getAllowSuperUser()
public boolean getAdminCanEditAllPublicCategories()
public boolean getAdminCanEditAllPublicLocations()
public boolean getAdminCanEditAllPublicContacts()
public boolean getSessionsless()
public boolean getDontKill()
public boolean getWebMode()
public boolean getReadonly()
public boolean getForRestore()
public boolean getIndexRebuild()
public boolean isGuest()
Copyright © 2019 Bedework. All rights reserved.