Package mops.businesslogic.group
Class GroupRootDirWrapper
- java.lang.Object
-
- mops.businesslogic.group.GroupRootDirWrapper
-
public final class GroupRootDirWrapper extends java.lang.Object
Wraps 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 boolean
equals(java.lang.Object o)
long
getGroupId()
The id of the group.Directory
getRootDir()
The root directory.long
getRootDirId()
The id of the group's root directory.java.lang.String
getRootDirUrl()
Gets the root directory url.int
hashCode()
java.lang.String
toString()
-
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-