Package org.bedework.calfacade
Class BwShareablePrincipal<T extends BwPrincipal<?>>
java.lang.Object
org.bedework.calfacade.base.DumpEntity<T>
org.bedework.calfacade.base.BwUnversionedDbentity<T>
org.bedework.calfacade.base.BwDbentity<BwPrincipal<?>>
org.bedework.calfacade.BwPrincipal<T>
org.bedework.calfacade.BwShareablePrincipal<T>
- All Implemented Interfaces:
Serializable,Comparable<BwPrincipal<?>>,Comparator<BwPrincipal<?>>,org.bedework.access.AccessPrincipal,OwnedEntity,ShareableEntity,org.bedework.util.logging.Logged
- Direct Known Subclasses:
BwCalSuite
public class BwShareablePrincipal<T extends BwPrincipal<?>>
extends BwPrincipal<T>
implements ShareableEntity, OwnedEntity
User: mike Date: 11/1/22 Time: 13:17
- 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 visiblevoidcopyTo(BwShareablePrincipal<?> val) Copy this objects fields into the parameterGet the accessBwPrincipal<?>intgetKind()voidSet the accessvoidsetCreatorEnt(BwPrincipal<?> val) Set the creatorvoidsetCreatorHref(String val) Set the creatorvoidsetOwnerHref(String val) Set the ownervoidsetPublick(Boolean val) protected voidtoStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString objectMethods 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, 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
-
BwShareablePrincipal
public BwShareablePrincipal()
-
-
Method Details
-
getKind
public int getKind()- Specified by:
getKindin interfaceorg.bedework.access.AccessPrincipal- Specified by:
getKindin classBwPrincipal<T extends BwPrincipal<?>>
-
setOwnerHref
Description copied from interface:OwnedEntitySet the owner- Specified by:
setOwnerHrefin interfaceOwnedEntity- Parameters:
val- String owner path of the entity e.g. /principals/users/jim
-
getOwnerHref
- Specified by:
getOwnerHrefin interfaceOwnedEntity- Returns:
- String owner of the entity
-
setPublick
- Specified by:
setPublickin interfaceOwnedEntity- Parameters:
val- public/not public
-
getPublick
- Specified by:
getPublickin interfaceOwnedEntity- Returns:
- Boolean true for public
-
setCreatorHref
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorHrefin interfaceShareableEntity- Parameters:
val- String creator of the entity
-
getCreatorHref
- Specified by:
getCreatorHrefin interfaceShareableEntity- Returns:
- BwUser creator of the entity
-
setAccess
Description copied from interface:ShareableEntitySet the access- Specified by:
setAccessin interfaceShareableEntity- Parameters:
val- String access
-
getAccess
Description copied from interface:ShareableEntityGet the access- Specified by:
getAccessin interfaceShareableEntity- Returns:
- String access
-
setCreatorEnt
Description copied from interface:ShareableEntitySet the creator- Specified by:
setCreatorEntin interfaceShareableEntity- Parameters:
val- BwPrincipal creator of the entity
-
getCreatorEnt
- Specified by:
getCreatorEntin interfaceShareableEntity- Returns:
- BwPrincipal creator of the entity
-
toStringSegment
protected void toStringSegment(org.bedework.util.misc.ToString ts) Add our stuff to the ToString object- Overrides:
toStringSegmentin classBwPrincipal<T extends BwPrincipal<?>>- Parameters:
ts- ToString for result
-
clone
Description copied from class:BwUnversionedDbentityMake visible- Specified by:
clonein classBwPrincipal<T extends BwPrincipal<?>>- Returns:
- Object of class T
-