public final class Group
extends java.lang.Object
implements com.jscape.util.db.IntVersioned
| Modifier and Type | Class and Description |
|---|---|
static class |
Group.Delegate
A group persistence delegate.
|
| Constructor and Description |
|---|
Group()
Used in serialization sub-system.
|
Group(Group that)
Copy constructor.
|
Group(java.lang.String name,
VirtualFileDescriptor<?>[] resources) |
Group(java.lang.String name,
VirtualFileDescriptor<?>[] resources,
boolean useInAdHocTransferAllowed,
java.lang.String[] tags,
long creationDate,
int version)
Creates a new user instance.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
long |
getCreationDate() |
java.lang.String |
getName()
Returns the group name.
|
VirtualFileDescriptor<?>[] |
getResources()
Returns the group virtual paths.
|
java.lang.String[] |
getTags() |
boolean |
getUseInAdHocTransferAllowed()
Returns use in ad-hoc file transfer allowed
|
int |
getVersion() |
int |
hashCode() |
void |
setCreationDate(long value) |
void |
setName(java.lang.String value)
Sets group name.
|
void |
setResources(VirtualFileDescriptor<?>[] value)
Sets the group virtual path array.
|
void |
setTags(java.lang.String[] value) |
void |
setUseInAdHocTransferAllowed(boolean value)
Sets use in ad-hoc file transfer allowed
|
void |
setVersion(int value) |
java.lang.String |
toString() |
public Group(java.lang.String name,
VirtualFileDescriptor<?>[] resources,
boolean useInAdHocTransferAllowed,
java.lang.String[] tags,
long creationDate,
int version)
name - the group nameresources - the virtual paths associated with this new groupuseInAdHocTransferAllowed - trueif use in ad-hoc transfer allowedpublic Group(java.lang.String name,
VirtualFileDescriptor<?>[] resources)
public Group(Group that)
that - Group instance will be copiedpublic Group()
public java.lang.String getName()
public void setName(java.lang.String value)
value - the group namepublic VirtualFileDescriptor<?>[] getResources()
public void setResources(VirtualFileDescriptor<?>[] value)
value - The new group virtual paths arraypublic boolean getUseInAdHocTransferAllowed()
true if use in ad-hoc file transfer allowedpublic void setUseInAdHocTransferAllowed(boolean value)
value - use in ad-hoc file transfer allowedpublic java.lang.String[] getTags()
public void setTags(java.lang.String[] value)
public long getCreationDate()
public void setCreationDate(long value)
public int getVersion()
getVersion in interface com.jscape.util.db.IntVersionedpublic void setVersion(int value)
setVersion in interface com.jscape.util.db.IntVersionedpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2009-2023. Redwood Software Inc. All rights reserved.