litesoft
@ 948
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
package org.litesoft.initfrom.client.support; import org.litesoft.commonfoundation.typeutils.*; import org.litesoft.core.util.*; public enum Role implements BitAccessor { EndUser, EndUserManager, Developer, Customer, QueueAdmin; public static String[] OPTIONS = Strings.toArray( Role.values() ); private int mBit = Permissions.BIT.next(); public int getBit() { return mBit; } public static int getBitFor( String pRole ) { return Objects.deNull( valueFor( pRole ), Permissions.BIT ).getBit(); } public static Role valueFor( String pRole ) { return Enums.fromString( Role.class, pRole ); } } |
Commits for litesoft/trunk/GWT_Sandbox/InitFrom/src/org/litesoft/initfrom/client/support/Role.java
Revision | Author | Commited | Message |
---|---|---|---|
948 Diff | GeorgeS | Sat 07 Jun, 2014 23:42:39 +0000 | Jusefuls Formatter Updated to New Code Format |
939 Diff | GeorgeS | Mon 02 Jun, 2014 21:30:31 +0000 | Extracting commonfoundation |
822 Diff | GeorgeS | Sun 19 Aug, 2012 01:03:51 +0000 | |
821 Diff | GeorgeS | Sun 19 Aug, 2012 00:08:41 +0000 | |
804 Diff | GeorgeS | Wed 15 Aug, 2012 12:48:51 +0000 | |
491 Diff | GeorgeS | Sun 11 Sep, 2011 12:57:02 +0000 | Initial Transform of InitFrom |
480 Diff | GeorgeS | Sun 04 Sep, 2011 02:38:20 +0000 | Progress on common User Support... |
478 Diff | GeorgeS | Sat 03 Sep, 2011 16:30:53 +0000 | |
398 | GeorgeS | Mon 15 Aug, 2011 19:57:47 +0000 |