Package org.bedework.calfacade
Class BwUser
java.lang.Object
- All Implemented Interfaces:
Serializable,Comparable<BwPrincipal<?>>,Comparator<BwPrincipal<?>>,org.bedework.access.AccessPrincipal,org.bedework.util.logging.Logged
Value object to represent a calendar user.
- Version:
- 1.0
- Author:
- Mike Douglass
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bedework.calfacade.base.DumpEntity
DumpEntity.DumpType -
Field Summary
Fields inherited from class org.bedework.calfacade.BwPrincipal
bwadmingroupPrincipalRoot, calsuitePrincipalRoot, categoryAccess, contactAccess, created, groupNames, groupPrincipalRoot, groups, hostPrincipalRoot, lastAccess, lastModify, locationAccess, logon, principalInfo, principalRoot, publicUser, publicUserHref, resourcePrincipalRoot, ticketPrincipalRoot, unauthenticated, userPrincipalRoot, venuePrincipalRoot -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()Make visiblevoidCopy this to valbooleanDeprecated.intgetKind()voidsetInstanceOwner(boolean val) Deprecated.Methods inherited from class org.bedework.calfacade.BwPrincipal
addGroup, compare, compareTo, copyTo, equals, getAccount, getAccountNoSlash, getAccountSplit, getAclAccount, getCategoryAccess, getContactAccess, getCreated, getDescription, getGroupNames, getGroups, getHref, getLastAccess, getLastModify, getLocationAccess, getLogon, getPrincipalInfo, getPrincipalRef, getQuota, getRestoreCallback, getUnauthenticated, hashCode, isPrincipal, makeGroupPrincipal, makeLocationPrincipal, makePrincipal, makePrincipal, makePrincipalHref, makeUserPrincipal, setAccount, setCategoryAccess, setContactAccess, setCreated, setDescription, setGroupNames, setGroups, setHref, setKind, setLastAccess, setLastModify, setLocationAccess, setLogon, setPrincipalInfo, setPrincipalRef, setQuota, setUnauthenticated, toString, toStringSegment, toStringSegmentMethods inherited from class org.bedework.calfacade.base.BwDbentity
addDeletedEntity, afterDeletion, beforeDeletion, beforeSave, beforeUpdate, getByteSize, getDeletedEntities, getSeq, length, setByteSize, setSeqMethods inherited from class org.bedework.calfacade.base.BwUnversionedDbentity
getId, markUnsaved, setId, unsavedMethods inherited from class org.bedework.calfacade.base.DumpEntity
dump, dump, getLogger, hasDumpValueMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Comparator
reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongMethods inherited from interface org.bedework.util.logging.Logged
audit, debug, debug, debug, enableAuditLogger, enableErrorLogger, enableMetricsLogger, error, error, error, getLogLevel, info, isAuditLoggerEnabled, isErrorLoggerEnabled, isMetricsDebugEnabled, isMetricsLoggerEnabled, metrics, setLoggerClass, setLoggerClass, trace, trace, trace, warn
-
Constructor Details
-
BwUser
public BwUser()Create a guest user
-
-
Method Details
-
getKind
public int getKind()- Specified by:
getKindin interfaceorg.bedework.access.AccessPrincipal- Specified by:
getKindin classBwPrincipal<BwUser>
-
setInstanceOwner
Deprecated.An instance owner is the owner of an instance of the calendar system. This is the id we run as for that particular instance, e.g. the campus calendar, or the alumni calendar etc.- Parameters:
val- true for instance owner
-
getInstanceOwner
Deprecated.- Returns:
- boolean
-
copyTo
Copy this to val- Parameters:
val- BwUser
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Specified by:
clonein classBwPrincipal<BwUser>- Returns:
- Object of class T
-