diff options
author | dakkar <dakkar@thenautilus.net> | 2011-03-27 14:48:54 +0100 |
---|---|---|
committer | dakkar <dakkar@thenautilus.net> | 2011-03-27 14:48:54 +0100 |
commit | fa338dd363f21135dcc77287f23a0aaa4e74159a (patch) | |
tree | 305d3bb35d5c9f532b50b7ad5cee6ee42caff654 /lib/DeWeave/BO/Bookmark/Bookmark.pm | |
parent | rework object creation (diff) | |
download | DeWeave-fa338dd363f21135dcc77287f23a0aaa4e74159a.tar.gz DeWeave-fa338dd363f21135dcc77287f23a0aaa4e74159a.tar.bz2 DeWeave-fa338dd363f21135dcc77287f23a0aaa4e74159a.zip |
bookmarks!
and output as a tree
Diffstat (limited to 'lib/DeWeave/BO/Bookmark/Bookmark.pm')
-rw-r--r-- | lib/DeWeave/BO/Bookmark/Bookmark.pm | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/lib/DeWeave/BO/Bookmark/Bookmark.pm b/lib/DeWeave/BO/Bookmark/Bookmark.pm new file mode 100644 index 0000000..7b235b3 --- /dev/null +++ b/lib/DeWeave/BO/Bookmark/Bookmark.pm @@ -0,0 +1,44 @@ +package DeWeave::BO::Bookmark::Bookmark; +use Moose; +use namespace::autoclean; +use MooseX::Types::Moose qw(Str ArrayRef Bool); + +extends 'DeWeave::BO::Bookmark::Base'; + +has title => ( + isa => Str, + required => 1, + is => 'ro', +); + +has bmkUri => ( + isa => Str, + required => 1, + is => 'ro', +); + +has description => ( + isa => Str, + required => 0, + is => 'ro', +); + +has loadInSidebar => ( + isa => Bool, + required => 1, + is => 'ro', +); + +has tags => ( + isa => ArrayRef[Str], + required => 0, + is => 'ro', +); + +has keyword => ( + isa => Str, + required => 0, + is => 'ro', +); + +1; |