Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MID-1767 - Role Editor implementation. Work in progress.
- Loading branch information
Erik Suta
committed
Mar 14, 2014
1 parent
ed18292
commit cbdeb8f
Showing
6 changed files
with
119 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
114 changes: 114 additions & 0 deletions
114
gui/admin-gui/src/main/java/com/evolveum/midpoint/web/page/admin/roles/dto/RoleDto.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
/* | ||
* Copyright (c) 2010-2013 Evolveum | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* http://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
package com.evolveum.midpoint.web.page.admin.roles.dto; | ||
|
||
import com.evolveum.midpoint.xml.ns._public.common.common_2a.ActivationStatusType; | ||
|
||
import javax.xml.datatype.XMLGregorianCalendar; | ||
import java.io.Serializable; | ||
import java.util.Date; | ||
|
||
/** | ||
* @author shood | ||
* */ | ||
public class RoleDto implements Serializable{ | ||
|
||
public static final String F_NAME = "name"; | ||
public static final String F_DESCRIPTION = "description"; | ||
public static final String F_TYPE = "type"; | ||
public static final String F_REQUESTABLE = "requestable"; | ||
public static final String F_FROM = "from"; | ||
public static final String F_TO = "to"; | ||
public static final String F_ADMIN_STATUS = "adminStatus"; | ||
|
||
private String name; | ||
private String description; | ||
private String type; | ||
private Boolean requestable; | ||
private XMLGregorianCalendar from; | ||
private XMLGregorianCalendar to; | ||
private ActivationStatusType adminStatus; | ||
|
||
public RoleDto(){} | ||
|
||
public RoleDto(String name, String description, String type, Boolean requestable, | ||
XMLGregorianCalendar from, XMLGregorianCalendar to, ActivationStatusType adminStatus){ | ||
|
||
this.name = name; | ||
this.description = description; | ||
this.type = type; | ||
this.requestable = requestable; | ||
this.from = from; | ||
this.to = to; | ||
this.adminStatus = adminStatus; | ||
} | ||
|
||
public String getName() { | ||
return name; | ||
} | ||
|
||
public void setName(String name) { | ||
this.name = name; | ||
} | ||
|
||
public String getDescription() { | ||
return description; | ||
} | ||
|
||
public void setDescription(String description) { | ||
this.description = description; | ||
} | ||
|
||
public String getType() { | ||
return type; | ||
} | ||
|
||
public void setType(String type) { | ||
this.type = type; | ||
} | ||
|
||
public Boolean getRequestable() { | ||
return requestable; | ||
} | ||
|
||
public void setRequestable(Boolean requestable) { | ||
this.requestable = requestable; | ||
} | ||
|
||
public XMLGregorianCalendar getFrom() { | ||
return from; | ||
} | ||
|
||
public void setFrom(XMLGregorianCalendar from) { | ||
this.from = from; | ||
} | ||
|
||
public XMLGregorianCalendar getTo() { | ||
return to; | ||
} | ||
|
||
public void setTo(XMLGregorianCalendar to) { | ||
this.to = to; | ||
} | ||
|
||
public ActivationStatusType getAdminStatus() { | ||
return adminStatus; | ||
} | ||
|
||
public void setAdminStatus(ActivationStatusType adminStatus) { | ||
this.adminStatus = adminStatus; | ||
} | ||
} |