Package mops.businesslogic.group
Class GroupRootDirWrapper
- java.lang.Object
-
- mops.businesslogic.group.GroupRootDirWrapper
-
public final class GroupRootDirWrapper extends java.lang.ObjectWraps a url for a group given a group id.
-
-
Constructor Summary
Constructors Constructor Description GroupRootDirWrapper(Directory rootDir)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetGroupId()The id of the group.DirectorygetRootDir()The root directory.longgetRootDirId()The id of the group's root directory.java.lang.StringgetRootDirUrl()Gets the root directory url.inthashCode()java.lang.StringtoString()
-
-
-
Constructor Detail
-
GroupRootDirWrapper
public GroupRootDirWrapper(Directory rootDir)
-
-
Method Detail
-
getGroupId
public long getGroupId()
The id of the group.- Returns:
- group id
-
getRootDirId
public long getRootDirId()
The id of the group's root directory.- Returns:
- root directory id
-
getRootDirUrl
public java.lang.String getRootDirUrl()
Gets the root directory url.- Returns:
- the relative url of the group's root directory.
-
getRootDir
public Directory getRootDir()
The root directory.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-